def removeHost(self, odlJson): requestURI = (url + 'hosttracker/default/address/' + odlJson.getHostIp()) req = requests.delete(requestURI, headers = {'Content-Type': 'application/json'}, auth=auth) return req.text
def putHost(self, odlJson): requestURI = (url + 'hosttracker/default/address/' + odlJson.getHostIp()) req = requests.put(requestURI, data = odlJson.getJson(), headers = {'Content-Type': 'application/json'}, auth=auth) return req.text