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