cinder.scheduler.filters.driver_filter module

class DriverFilter

Bases: cinder.scheduler.filters.BaseBackendFilter

DriverFilter filters backend based on a ‘filter function’ and metrics.

DriverFilter filters based on volume backend’s provided ‘filter function’ and metrics.

backend_passes(backend_state, filter_properties)

Determines if a backend has a passing filter_function or not.