diff options
author | Jenkins <jenkins@review.openstack.org> | 2013-02-12 08:31:57 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-02-12 08:31:57 +0000 |
commit | 1e339172694240c120841b7e1d9ba0530cf07ac3 (patch) | |
tree | 8050aa5ccba96138dbafcb3976bf4ccf28b3232b /doc | |
parent | 006ab5b5c910f190e166be4928e0ae10dc256561 (diff) | |
parent | 4cbf1f379c66397e48d3299281c691b405f97965 (diff) | |
download | nova-1e339172694240c120841b7e1d9ba0530cf07ac3.tar.gz nova-1e339172694240c120841b7e1d9ba0530cf07ac3.tar.xz nova-1e339172694240c120841b7e1d9ba0530cf07ac3.zip |
Merge "Support for scheduler hints for VM groups"
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/devref/filter_scheduler.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/source/devref/filter_scheduler.rst b/doc/source/devref/filter_scheduler.rst index 63ed95c82..31dcfde77 100644 --- a/doc/source/devref/filter_scheduler.rst +++ b/doc/source/devref/filter_scheduler.rst @@ -91,6 +91,8 @@ There are some standard filter classes to use (:mod:`nova.scheduler.filters`): * |TypeAffinityFilter| - Only passes hosts that are not already running an instance of the requested type. * |AggregateTypeAffinityFilter| - limits instance_type by aggregate. +* |GroupAntiAffinityFilter| - ensures that each instance in group is on a + different host. Now we can focus on these standard filter classes in details. I will pass the simplest ones, such as |AllHostsFilter|, |CoreFilter| and |RamFilter| are, @@ -163,6 +165,10 @@ of the set of instances uses. the network address of the current host is in the same sub network as it was defined in the request. +|GroupAntiAffinityFilter| its method `host_passes` returns `True` if host to +place the instance on is not in a group of hosts. The group of hosts is +maintained by a group name. The scheduler hint contains the group name. + |JsonFilter| - this filter provides the opportunity to write complicated queries for the hosts capabilities filtering, based on simple JSON-like syntax. There can be used the following operations for the host states properties: @@ -336,6 +342,7 @@ in :mod:`nova.tests.scheduler`. .. |JsonFilter| replace:: :class:`JsonFilter <nova.scheduler.filters.json_filter.JsonFilter>` .. |RamFilter| replace:: :class:`RamFilter <nova.scheduler.filters.ram_filter.RamFilter>` .. |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>` .. |SameHostFilter| replace:: :class:`SameHostFilter <nova.scheduler.filters.affinity_filter.SameHostFilter>` .. |RetryFilter| replace:: :class:`RetryFilter <nova.scheduler.filters.retry_filter.RetryFilter>` |