diff options
Diffstat (limited to 'doc/source/devref/filter_scheduler.rst')
-rw-r--r-- | doc/source/devref/filter_scheduler.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/source/devref/filter_scheduler.rst b/doc/source/devref/filter_scheduler.rst index 1a5ed11a2..4fca56736 100644 --- a/doc/source/devref/filter_scheduler.rst +++ b/doc/source/devref/filter_scheduler.rst @@ -73,11 +73,21 @@ There are some standard filter classes to use (:mod:`nova.scheduler.filters`): * |ComputeFilter| - passes all hosts that are operational and enabled. * |CoreFilter| - filters based on CPU core utilization. It passes hosts with sufficient number of CPU cores. +* |AggregateCoreFilter| - filters hosts by CPU core number with per-aggregate + cpu_allocation_ratio setting. If no per-aggregate value is found, it will + fall back to the global default cpu_allocation_ratio. If more than one value + is found for a host (meaning the host is in two differenet aggregate with + different ratio settings), the minimum value will be used. * |IsolatedHostsFilter| - filter based on "image_isolated" and "host_isolated" flags. * |JsonFilter| - allows simple JSON-based grammar for selecting hosts. * |RamFilter| - filters hosts by their RAM. Only hosts with sufficient RAM to host the instance are passed. +* |AggregateRamFilter| - filters hosts by RAM with per-aggregate + ram_allocation_ratio setting. If no per-aggregate value is found, it will + fall back to the global default ram_allocation_ratio. If more than one value + is found for a host (meaning the host is in two differenet aggregate with + different ratio settings), the minimum value will be used. * |SimpleCIDRAffinityFilter| - allows to put a new instance on a host within the same IP block. * |DifferentHostFilter| - allows to put the instance on a different host from a @@ -282,9 +292,11 @@ in :mod:`nova.tests.scheduler`. .. |ComputeCapabilitiesFilter| replace:: :class:`ComputeCapabilitiesFilter <nova.scheduler.filters.compute_capabilities_filter.ComputeCapabilitiesFilter>` .. |ComputeFilter| replace:: :class:`ComputeFilter <nova.scheduler.filters.compute_filter.ComputeFilter>` .. |CoreFilter| replace:: :class:`CoreFilter <nova.scheduler.filters.core_filter.CoreFilter>` +.. |AggregateCoreFilter| replace:: :class:`AggregateCoreFilter <nova.scheduler.filters.core_filter.AggregateCoreFilter>` .. |IsolatedHostsFilter| replace:: :class:`IsolatedHostsFilter <nova.scheduler.filters.isolated_hosts_filter>` .. |JsonFilter| replace:: :class:`JsonFilter <nova.scheduler.filters.json_filter.JsonFilter>` .. |RamFilter| replace:: :class:`RamFilter <nova.scheduler.filters.ram_filter.RamFilter>` +.. |AggregateRamFilter| replace:: :class:`AggregateRamFilter <nova.scheduler.filters.ram_filter.AggregateRamFilter>` .. |SimpleCIDRAffinityFilter| replace:: :class:`SimpleCIDRAffinityFilter <nova.scheduler.filters.affinity_filter.SimpleCIDRAffinityFilter>` .. |GroupAntiAffinityFilter| replace:: :class:`GroupAntiAffinityFilter <nova.scheduler.filters.affinity_filter.GroupAntiAffinityFilter>` .. |DifferentHostFilter| replace:: :class:`DifferentHostFilter <nova.scheduler.filters.affinity_filter.DifferentHostFilter>` |