Client side of the scheduler manager RPC API.
-
class SchedulerAPI
Bases: cinder.openstack.common.rpc.proxy.RpcProxy
Client side of the scheduler rpc API.
API version history:
1.0 - Initial version.
1.1 - Add create_volume() method
1.2 - Add request_spec, filter_properties arguments
to create_volume()
1.3 - Add migrate_volume_to_host() method
-
RPC_API_VERSION = '1.0'
-
create_volume(ctxt, topic, volume_id, snapshot_id=None, image_id=None, request_spec=None, filter_properties=None)
-
migrate_volume_to_host(ctxt, topic, volume_id, host, force_host_copy=False, request_spec=None, filter_properties=None)
-
update_service_capabilities(ctxt, service_name, host, capabilities)