def stopProtocol(self, protocolObj): """ Description Stop the specified protocol by its object handle. Parameters protocolObj: : /api/v1/sessions/1/ixnetwork/topology/1/deviceGroup/1/ethernet/1/ipv4/1/bgpIpv4Peer/1 Syntax POST: /api/v1/sessions/1/ixnetwork/topology/1/deviceGroup/1/ethernet/1/ipv4/1/bgpIpv4Peer/1/operations/stop DATA: {['arg1': [/api/v1/sessions/1/ixnetwork/topology/1/deviceGroup/1/ethernet/1/ipv4/1/bgpIpv4Peer/1']} """ url = self.ixnObj.httpHeader+protocolObj+'/operations/stop' response = self.ixnObj.post(url, data={'arg1': [protocolObj]}) self.ixnObj.waitForComplete(response, url+'/'+response.json()['id'])