The cinder.scheduler.driver Module

Scheduler base class that all Schedulers should inherit from

class Scheduler

Bases: object

The base class that all Scheduler classes should inherit from.

find_retype_host(context, request_spec, filter_properties=None, migration_policy='never')

Find a host that can accept the volume with its new type.

get_pools(context, filters)

Must override schedule method for scheduler to work.

host_passes_filters(context, volume_id, host, filter_properties)

Check if the specified host passes the filters.

schedule(context, topic, method, *_args, **_kwargs)

Must override schedule method for scheduler to work.

schedule_create_consistencygroup(context, group_id, request_spec_list, filter_properties_list)

Must override schedule method for scheduler to work.

schedule_create_volume(context, request_spec, filter_properties)

Must override schedule method for scheduler to work.

update_service_capabilities(service_name, host, capabilities)

Process a capability update from a service node.

group_update_db(context, group_id, host)

Set the host and the scheduled_at field of a consistencygroup.

Returns:A Consistencygroup with the updated fields set properly.
volume_update_db(context, volume_id, host)

Set the host and set the scheduled_at field of a volume.

Returns:A Volume with the updated fields set properly.

Previous topic

The cinder.rpc Module

Next topic

The cinder.scheduler.filter_scheduler Module

This Page