Scheduler
The manila.scheduler.manager Module
Scheduler Service
-
class SchedulerManager(scheduler_driver=None, service_name=None, *args, **kwargs)
Bases: manila.manager.Manager
Chooses a host to create shares.
-
SchedulerManager.RPC_API_VERSION = '1.6'
-
SchedulerManager.create_consistency_group(context, cg_id, request_spec=None, filter_properties=None)
-
SchedulerManager.create_share_instance(context, request_spec=None, filter_properties=None)
-
SchedulerManager.create_share_replica(context, request_spec=None, filter_properties=None)
-
SchedulerManager.get_host_list(context)
Get a list of hosts from the HostManager.
-
SchedulerManager.get_pools(context, filters=None)
Get active pools from the scheduler’s cache.
-
SchedulerManager.get_service_capabilities(context)
Get the normalized set of capabilities for this zone.
-
SchedulerManager.init_host()
-
SchedulerManager.manage_share(context, share_id, driver_options, request_spec, filter_properties=None)
Ensure that the host exists and can accept the share.
-
SchedulerManager.migrate_share_to_host(context, share_id, host, force_host_copy, notify, request_spec, filter_properties=None)
Ensure that the host exists and can accept the share.
-
SchedulerManager.request_service_capabilities(context)
-
SchedulerManager.update_service_capabilities(context, service_name=None, host=None, capabilities=None, **kwargs)
Process a capability update from a service node.
The manila.scheduler.driver Module
The manila.scheduler.simple Driver
Tests
The scheduler Module