def __init__(self, context, collected_resources=None, collected_parameters=None, collected_dependencies=None): self.context = context self.cinder_api = volume.API() self._collected_resources = collected_resources or {} self._collected_parameters = collected_parameters or {} self._collected_dependencies = collected_dependencies or {}
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()
def __init__(self, context, collected_resources=None, collected_parameters=None, collected_dependencies=None): self.context = context self._collected_resources = collected_resources or {} self._collected_parameters = collected_parameters or {} self._collected_dependencies = collected_dependencies or {} self.nova_api = compute.API() self.cinder_api = volume.API() self.neutron_api = network.API()
def __init__(self, *args, **kwargs): """.""" self.nova_api = compute.API() self.cinder_api = volume.API() self.resource_api = resource_api.ResourceAPI() self.neutron_api = network.API() self.heat_api = heat.API() self.db_api = db_api super(PlanManager, self).__init__(service_name="conveyor-plan", *args, **kwargs)
def __init__(self, *args, **kwargs): """Load configuration options and connect to the hypervisor.""" self.volume_api = volume.API() self._last_host_check = 0 self._last_bw_usage_poll = 0 self._bw_usage_supported = True self._last_bw_usage_cell_update = 0 self.migration_rpcapi = rpcapi.MigrationAPI() self._resource_tracker_dict = {} self._syncs_in_progress = {} super(MigrationManager, self).\ __init__(service_name="conveyor-migration", *args, **kwargs)
def __init__(self): self.volume_api = volume.API() self.compute_api = compute.API() self.neutron_api = network.API() self.heat_api = heat.API() self.resource_api = resource_api.ResourceAPI()
def __init__(self): self.cinder_api = volume.API() self.compute_api = compute.API()
def __init__(self, *args, **kwargs): """Load configuration options and connect to the hypervisor.""" self.cinder_api = volume.API() self.nova_api = compute.API() self.neutron_api = network.API() self.heat_api = heat.API()