• In file RestApi/Python/Modules/IxNetRestApiPortMgmt.py the following code uses 300 instead of timeout that is passed in argument list of function assignPorts:
• response = self.ixnObj.waitForComplete(response, url + '/' + response.json()['id'], silentMode=False, timeout=300, ignoreException=True)
• In file RestApi/Python/Modules/IxNetRestApi.py, == is used in the function init of class Connect:
• if self.serverOs == 'windows':
• self.logInfo('Connecting to API server: windows')
• self.httpScheme = 'http'
•
• if self.apiServerPort is None:
• self.apiServerPort == 11009
• else:
• self.apiServerPort == serverIpPort
• In RestApi/Python/Modules/IxNetRestApi.py in function getAllOpenSessionIds, pprint and return should be removed:
• from pprint import pprint
• pprint(response.json())
• return
• In file RestApi/Python/Modules/IxNetRestApiPortMgmt.py the following code uses 300 instead of timeout that is passed in argument list of function assignPorts: • response = self.ixnObj.waitForComplete(response, url + '/' + response.json()['id'], silentMode=False, timeout=300, ignoreException=True) • In file RestApi/Python/Modules/IxNetRestApi.py, == is used in the function init of class Connect: • if self.serverOs == 'windows': • self.logInfo('Connecting to API server: windows') • self.httpScheme = 'http' •
• if self.apiServerPort is None: • self.apiServerPort == 11009 • else: • self.apiServerPort == serverIpPort • In RestApi/Python/Modules/IxNetRestApi.py in function getAllOpenSessionIds, pprint and return should be removed: • from pprint import pprint • pprint(response.json()) • return