def __init__(self, *args, **kwargs): self.compute_api = cloud.API(skip_policy_check=True) self.handlers = { 'vnc': self.compute_api.get_vnc_console, 'spice': self.compute_api.get_spice_console, 'rdp': self.compute_api.get_rdp_console, 'serial': self.compute_api.get_serial_console, 'mks': self.compute_api.get_mks_console } super(RemoteConsolesController, self).__init__(*args, **kwargs)
def __init__(self, msg_runner): super(CellsScheduler, self).__init__() self.msg_runner = msg_runner self.state_manager = msg_runner.state_manager self.compute_api = cloud.API() self.compute_task_api = conductor.ComputeTaskAPI() self.filter_handler = filters.CellFilterHandler() filter_classes = self.filter_handler.get_matching_classes( CONF.cells.scheduler_filter_classes) self.filters = [cls() for cls in filter_classes] self.weight_handler = weights.CellWeightHandler() weigher_classes = self.weight_handler.get_matching_classes( CONF.cells.scheduler_weight_classes) self.weighers = [cls() for cls in weigher_classes]
def __init__(self): self.compute_api = cloud.API() super(AssistedVolumeSnapshotsController, self).__init__()
def __init__(self): self.compute_api = cloud.API(skip_policy_check=True) super(ServerMigrationsController, self).__init__()
def __init__(self, skip_policy_check=False): self.compute_api = cloud.API(skip_policy_check=skip_policy_check)
def __init__(self, *args, **kwargs): super(MultinicController, self).__init__(*args, **kwargs) self.compute_api = cloud.API()
def __init__(self): self.compute_api = cloud.API() super(ServerExternalEventsController, self).__init__()
def __init__(self, ext_mgr, *args, **kwargs): super(RescueController, self).__init__(*args, **kwargs) self.compute_api = cloud.API() self.ext_mgr = ext_mgr
def __init__(self): self.compute_api = cloud.API()
def __init__(self, *args, **kwargs): super(DeferredDeleteController, self).__init__(*args, **kwargs) self.compute_api = cloud.API(skip_policy_check=True)
def __init__(self): self.compute_api = cloud.API() super(Controller, self).__init__()
def __init__(self, ext_mgr=None): self.compute_api = cloud.API() self.volume_api = volume.API() self.ext_mgr = ext_mgr super(VolumeAttachmentController, self).__init__()
def __init__(self, **kwargs): super(IPsController, self).__init__(**kwargs) self._compute_api = cloud.API(skip_policy_check=True)
def __init__(self): self.compute_api = cloud.API() self.network_api = network.API() super(InterfaceAttachmentController, self).__init__()
def __init__(self): self.compute_api = cloud.API(skip_policy_check=True)
def __init__(self, *args, **kwargs): super(SecurityGroupsOutputController, self).__init__(*args, **kwargs) self.compute_api = cloud.API() self.security_group_api = ( openstack_driver.get_openstack_security_group_driver())
def __init__(self): self.security_group_api = ( openstack_driver.get_openstack_security_group_driver()) self.compute_api = cloud.API( security_group_api=self.security_group_api)
def __init__(self): self.compute_api = cloud.API(skip_policy_check=True) self.network_api = network.API(skip_policy_check=True) super(ServerVirtualInterfaceController, self).__init__()
def __init__(self, *args, **kwargs): super(ExtendedServerAttributesController, self).__init__(*args, **kwargs) self.compute_api = cloud.API(skip_policy_check=True)
def __init__(self, network_api=None): self.compute_api = cloud.API(skip_policy_check=True) self.last_call = {}
def __init__(self): self.compute_api = cloud.API() self.network_api = network.API() super(ServerVirtualInterfaceController, self).__init__()
def __init__(self, ext_mgr=None, *args, **kwargs): super(FloatingIPActionController, self).__init__(*args, **kwargs) self.compute_api = cloud.API() self.network_api = network.API() self.ext_mgr = ext_mgr
def __init__(self): self.compute_api = cloud.API() self.network_api = network.API() super(FloatingIPController, self).__init__()
def __init__(self): super(InstanceActionsController, self).__init__() self.compute_api = cloud.API() self.action_api = cloud.InstanceActionAPI()
def __init__(self, *args, **kwargs): super(ServerUsageController, self).__init__(*args, **kwargs) self.compute_api = cloud.API()
def __init__(self, *args, **kwargs): super(EvacuateController, self).__init__(*args, **kwargs) self.compute_api = cloud.API(skip_policy_check=True) self.host_api = cloud.HostAPI()
def __init__(self, *args, **kwargs): self.compute_api = cloud.API() super(ConsolesController, self).__init__(*args, **kwargs)
def __init__(self): self.compute_api = cloud.API() self.network_api = network.API() self.cloudpipe = pipelib.CloudPipe() self.setup()
def __init__(self, *args, **kwargs): super(PauseServerController, self).__init__(*args, **kwargs) self.compute_api = cloud.API(skip_policy_check=True)
def __init__(self, network_api=None): self.compute_api = cloud.API() self.last_call = {}