def __init__(self): """Class initialization.""" self.url = "http://" + service_ip + "/compute/v2.1/os-hypervisors" self.requests = api_request()
def __init__(self): self.url = "http://" + service_ip + ":9890/v1.0/vnfds" self.requests = api_request()
def __init__(self): """class initialization""" self.url = "http://" + service_ip + \ "/compute/v2.1/os-simple-tenant-usage" self.requests = api_request()