def getMaximumInstances(self): response = self.get(self.sessionIdUrl+'/ixLoad/preferences') maxInstances = response.json()['maximumInstances'] self.logInfo('\ngetMaximumInstances:%s' % maxInstances) return int(maxInstances) uter/{id} data: : Get attributes from the IxNetwork API browser. """ response = self.ixnObj.get(self.ixnObj.httpHeader + isisL3RouterObj) if 'enableBIER' in data: self.ixnObj.patch(self.ixnObj.httpHeader + isisL3RouterObj, data={'enableBIER': data['enableBIER']}) # Note: Feel free to add additional parameters. for attribute in ['active', 'bierNFlag', 'bierRFlag']: if attribute in data: multivalue = response.json()[attribute] self.ixnObj.logInfo('Configuring ISIS BIER Subdomain multivalue attribute: %s' % attribute) self.ixnObj.patch(self.ixnObj.httpHeader+multivalue+"/singleValue", data={'value': data[attribute]})