Merge "Fix GroupAffinityFilter and GroupAntiAffinityFilter doc"

This commit is contained in:
Jenkins 2013-11-20 00:04:24 +00:00 committed by Gerrit Code Review
commit a854fa9d4f

View File

@ -246,28 +246,26 @@ scheduler_available_filters=myfilter.MyFilter</programlisting>
<para>The GroupAffinityFilter ensures that an instance is
scheduled on to a host from a set of group hosts.
To take advantage of this filter, the requester must pass a
scheduler hint, using <literal>group_hosts</literal> as the
key and a list of instance uuids as the value. Using
scheduler hint, using <literal>group</literal> as the
key and an arbitrary name as the value. Using
the <command>nova</command> command-line tool, use the
<literal>--hint</literal> flag. For
example:</para>
<screen><prompt>$</prompt> <userinput>nova boot --image cedef40a-ed67-4d10-800e-17455edce175 --flavor 1 \
--hint group_hosts=a0cf03a5-d921-4877-bb5c-86d26cf818e1 \
--hint group_hosts=8c19174f-4220-44f0-824a-cd1eeef10287 server-1</userinput></screen>
--hint group=foo server-1</userinput></screen>
</section>
<section xml:id="groupantiaffinityfilter">
<title>GroupAntiAffinityFilter</title>
<para>The GroupAntiAffinityFilter ensures that each
instance in a group is on a different host. To take
advantage of this filter, the requester must pass a
scheduler hint, using <literal>group_hosts</literal> as the
key and a list of instance uuids as the value. Using
scheduler hint, using <literal>group</literal> as the
key and an arbitrary name as the value. Using
the <command>nova</command> command-line tool, use the
<literal>--hint</literal> flag. For
example:</para>
<screen><prompt>$</prompt> <userinput>nova boot --image cedef40a-ed67-4d10-800e-17455edce175 --flavor 1 \
--hint group_hosts=a0cf03a5-d921-4877-bb5c-86d26cf818e1 \
--hint group_hosts=8c19174f-4220-44f0-824a-cd1eeef10287 server-1</userinput></screen>
--hint group=foo server-1</userinput></screen>
</section>
<section xml:id="imagepropertiesfilter">
<title>ImagePropertiesFilter</title>