summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorQiu Yu <unicell@gmail.com>2013-06-20 19:49:20 +0800
committerQiu Yu <unicell@gmail.com>2013-06-21 21:58:21 +0800
commitf3a6de6a1647b1d86e9d8750228536663b23cd3e (patch)
tree0608c337281250889b7528a263d0105051d653b8 /doc
parentfacf42d0bab7a4f97c654a5724189609ad185559 (diff)
downloadnova-f3a6de6a1647b1d86e9d8750228536663b23cd3e.tar.gz
nova-f3a6de6a1647b1d86e9d8750228536663b23cd3e.tar.xz
nova-f3a6de6a1647b1d86e9d8750228536663b23cd3e.zip
Add AggregateRamFilter
Implements blueprint per-aggregate-resource-ratio * AggregateRamFilter to support per-aggregate ram_allocation_ratio * Falls back to global setting if per-aggregate value not found DocImpact Change-Id: I93e069f0ac3f595d9a2a17119274c7bfbe8fca31
Diffstat (limited to 'doc')
-rw-r--r--doc/source/devref/filter_scheduler.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/source/devref/filter_scheduler.rst b/doc/source/devref/filter_scheduler.rst
index 1a5ed11a2..6cde0d61c 100644
--- a/doc/source/devref/filter_scheduler.rst
+++ b/doc/source/devref/filter_scheduler.rst
@@ -78,6 +78,11 @@ There are some standard filter classes to use (:mod:`nova.scheduler.filters`):
* |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
@@ -285,6 +290,7 @@ in :mod:`nova.tests.scheduler`.
.. |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>`