def configIsIsL3Ngpf(self, obj, **data): """ Description Create or modify ethernet/ISISL3 Parameters ethernetObj: '/api/v1/sessions/1/ixnetwork/topology/1/deviceGroup/1/ethernet/1' data: The ISISL3 attributes. You could view all the attributes from the IxNetwork API browser. Syntax POST: /api/v1/sessions/{id}/ixnetwork/topology/{id}/deviceGroup/{id}/ethernet/{id}/isisL3 PATCH: /api/v1/sessions/{id}/ixnetwork/topology/{id}/deviceGroup/{id}/ethernet/{id}/isisL3/{id} Return /api/v1/sessions/{id}/ixnetwork/topology/{id}/deviceGroup/{id}/ethernet/{id}/isisL3/{id} """ createNewIsIsObj = True if 'isis' in obj: # To modify ISIS isisObj = obj createNewIsIsObj = False else: # To create a new ISIS object url = self.ixnObj.httpHeader+obj + '/isisL3' response = self.ixnObj.post(url, data=data) isisObj = response.json()['links'][0]['href'] response = self.ixnObj.get(self.ixnObj.httpHeader+isisObj) self.configuredProtocols.append(isisObj) return isisObj