The nova.scheduler.filters.availability_zone_filter Module

class AvailabilityZoneFilter

Bases: nova.scheduler.filters.BaseHostFilter

Filters Hosts by availability zone.

Works with aggregate metadata availability zones, using the key ‘availability_zone’ Note: in theory a compute node can be part of multiple availability_zones

host_passes(host_state, spec_obj)
run_filter_once_per_request = True

Previous topic

The nova.scheduler.filters.all_hosts_filter Module

Next topic

The nova.scheduler.filters.compute_capabilities_filter Module

Project Source

This Page