cinder.scheduler.filters.availability_zone_filter module

cinder.scheduler.filters.availability_zone_filter module

class AvailabilityZoneFilter

Bases: cinder.scheduler.filters.BaseBackendFilter

Filters Backends by availability zone.

backend_passes(backend_state, filter_properties)

Return True if the HostState passes the filter, otherwise False.

Override this in a subclass.

run_filter_once_per_request = True
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.