def removeTopo(self, odlJson): requestURI = (url + 'topology/default/userLink/' + odlJson.getTopoName()) req = requests.delete(requestURI, headers = {'Content-Type': 'application/json'}, auth=auth) return req.text
def putTopo(self, odlJson): requestURI = (url + 'topology/default/userLink/' + odlJson.getTopoName()) req = requests.put(requestURI, data = odlJson.getJson(), headers = {'Content-Type': 'application/json'}, auth=auth) return req.text