nova/nova/scheduler/filters
Yikun Jiang a77f57acf7 Change the ServerGroupAntiAffinityFilter to adapt to new policy
In this patch, the anti-affinity filter will get the
max_server_per_host limit from policy rules, and compare it
against the number of servers within the same group on a given
host. If the filter finds the number is not satisfied with the
limit, it will filter out this host.

The default ``max_server_per_host`` for the anti-affinity filter
is 1 for backward compatibility.

Change-Id: I4b67ec9dd4ce846a704d0f75ad64c41e693de0fb
blueprint: complex-anti-affinity-policies
2018-07-12 10:30:10 +08:00
..
__init__.py Refined fix for validating image on rebuild 2017-11-27 15:52:45 -05:00
affinity_filter.py Change the ServerGroupAntiAffinityFilter to adapt to new policy 2018-07-12 10:30:10 +08:00
aggregate_image_properties_isolation.py Remove remaning log translation in scheduler 2018-05-09 18:43:11 -07:00
aggregate_instance_extra_specs.py Remove remaning log translation in scheduler 2018-05-09 18:43:11 -07:00
aggregate_multitenancy_isolation.py Refined fix for validating image on rebuild 2017-11-27 15:52:45 -05:00
all_hosts_filter.py Refined fix for validating image on rebuild 2017-11-27 15:52:45 -05:00
availability_zone_filter.py Refined fix for validating image on rebuild 2017-11-27 15:52:45 -05:00
compute_capabilities_filter.py Refined fix for validating image on rebuild 2017-11-27 15:52:45 -05:00
compute_filter.py Remove remaning log translation in scheduler 2018-05-09 18:43:11 -07:00
core_filter.py Remove remaning log translation in scheduler 2018-05-09 18:43:11 -07:00
disk_filter.py Remove remaning log translation in scheduler 2018-05-09 18:43:11 -07:00
extra_specs_ops.py Removed unused variables 2015-05-20 14:31:33 +03:00
image_props_filter.py Merge "Added ability to configure default architecture for ImagePropertiesFilter" 2018-05-15 05:26:46 +00:00
io_ops_filter.py Remove remaning log translation in scheduler 2018-05-09 18:43:11 -07:00
isolated_hosts_filter.py Handle volume-backed instances in IsolatedHostsFilter 2018-02-11 17:23:38 -05:00
json_filter.py Refined fix for validating image on rebuild 2017-11-27 15:52:45 -05:00
metrics_filter.py Remove remaning log translation in scheduler 2018-05-09 18:43:11 -07:00
num_instances_filter.py Remove remaning log translation in scheduler 2018-05-09 18:43:11 -07:00
numa_topology_filter.py Don't filter out sibling sets with one core 2018-01-30 10:09:59 +00:00
pci_passthrough_filter.py Refined fix for validating image on rebuild 2017-11-27 15:52:45 -05:00
ram_filter.py Remove remaning log translation in scheduler 2018-05-09 18:43:11 -07:00
retry_filter.py Remove remaning log translation in scheduler 2018-05-09 18:43:11 -07:00
type_filter.py Delete the TypeAffinityFilter 2017-12-14 17:09:56 -05:00
utils.py Remove remaning log translation in scheduler 2018-05-09 18:43:11 -07:00