cinder.scheduler.filters.affinity_filter module¶
- class AffinityFilter¶
Bases:
BaseBackendFilter
- class DifferentBackendFilter¶
Bases:
AffinityFilter
Schedule volume on a different back-end from a set of volumes.
- backend_passes(backend_state, filter_properties)¶
Return True if the HostState passes the filter, otherwise False.
Override this in a subclass.
- class SameBackendFilter¶
Bases:
AffinityFilter
Schedule volume on the same back-end as another volume.
- backend_passes(backend_state, filter_properties)¶
Return True if the HostState passes the filter, otherwise False.
Override this in a subclass.