Exemplo n.º 1
0
 def __init__(self, *args, **kwargs):
     """Load configuration options and connect to the hypervisor."""
     self.conveyor_cmd = base.MigrationCmd()
     self.nova_api = compute.API()
     self.volume_api = volume.API()
     self.network_api = network.API()
     self.plan_api = plan_api.PlanAPI()
Exemplo n.º 2
0
 def __init__(self, *args, **kwargs):
     """Load configuration options and connect to the hypervisor."""
     self.clone_driver = importutils.import_object(CONF.volume_clone_driver)
     self.resource_common = common.ResourceCommon()
     self.plan_api = plan_api.PlanAPI()
Exemplo n.º 3
0
 def __init__(self, ext_mgr=None, *args, **kwargs):
     super(PlansActionController, self).__init__(*args, **kwargs)
     self.clone_api = api.API()
     self.plan_api = plan_api.PlanAPI()
     self.ext_mgr = ext_mgr
Exemplo n.º 4
0
 def __init__(self, ext_mgr):
     self.ext_mgr = ext_mgr
     self._plan_api = plan_api.PlanAPI()
     super(Controller, self).__init__()