Add descriptions for server groups policy

add descriptions for valid input of server group policy
also, the type of the policy field is list ,not a dict.

Change-Id: I7a1af19dbb2a5924aee70b10a465d38fb8521497
Partial-Bug: #1515222
This commit is contained in:
jichenjc 2016-01-25 01:21:27 +08:00
parent 1b4598056a
commit 397d4f88e6

View File

@ -56,14 +56,16 @@
</wadl:doc> </wadl:doc>
</param> </param>
<param xmlns="http://wadl.dev.java.net/2009/02" <param xmlns="http://wadl.dev.java.net/2009/02"
name="policies" style="plain" type="xsd:dict" name="policies" style="plain" type="xsd:list"
required="true"> required="true">
<wadl:doc xmlns="http://docbook.org/ns/docbook" <wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"> xml:lang="EN">
<para>A list of one or more policy names to <para>A list of one or more policy names to
associate with the server group. The list associate with the server group. The list
must contain at least one policy must contain at least one policy
name.</para> name. The current valid policy names are
<code>anti-affinity</code> and
<code>affinity</code>.</para>
<para>Each policy name must be a non-empty <para>Each policy name must be a non-empty
string with no leading or trailing spaces. string with no leading or trailing spaces.
Maximum length is 255 Maximum length is 255