def __init__(self, ext_mgr): self.conductor_api = conductor.API() self.scheduler_api = scheduler.API() self.scheduler_rpcapi = scheduler_rpcapi.SchedulerAPI() self.ext_mgr = ext_mgr super(ServersController, self).__init__()
def __init__(self): self.scheduler_rpcapi = rpcapi.SchedulerAPI()
def __init__(self, ext_mgr): self.conductor_api = conductor.API() self.scheduler_api = scheduler.API() self.scheduler_rpcapi = scheduler_rpcapi.SchedulerAPI() self.ext_mgr = ext_mgr super(PerformanceMetricsController, self).__init__()