Previous topic

The cinder.scheduler.driver Module

Next topic

The cinder.scheduler.filters.capacity_filter Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Cinder 2011.2 docs or all OpenStack docs too.

The cinder.scheduler.filter_scheduler Module

The FilterScheduler is for creating volumes. You can customize this scheduler by specifying your own volume Filters and Weighing Functions.

class FilterScheduler(*args, **kwargs)

Bases: cinder.scheduler.driver.Scheduler

Scheduler that can be used for filtering and weighing.

populate_filter_properties(request_spec, filter_properties)

Stuff things into filter_properties. Can be overridden in a subclass to add more data.

schedule(context, topic, method, *args, **kwargs)

The schedule() contract requires we return the one best-suited host for this request.

schedule_create_volume(context, request_spec, filter_properties)