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