api-ref: verify os-server-groups.inc

this verify the os-server-groups.inc for sample and body.
Added other minor update for better formatting.

Part of bp:api-ref-in-rst

Change-Id: I00e8c4025310d23244ef0f6a5ed276573ecaea7b
This commit is contained in:
jichenjc 2016-05-01 16:46:39 +08:00
parent 2bd6b6be8b
commit 1e9d82ad20
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,4 @@
.. -*- rst -*-
.. needs:example_verification
.. needs:body_verification
==================================
Server groups (os-server-groups)
@ -106,7 +104,6 @@ Request
.. rest_parameters:: parameters.yaml
- server_group_id: server_group_id
Response
@ -148,3 +145,5 @@ Request
Response
--------
There is no body content for the response of a successful DELETE action.

View File

@ -2309,7 +2309,7 @@ policies:
description: |
A list of one or more policy names to associate with the server group. The list
must contain at least one policy name. The current valid policy names are ``anti-affinity``
, ``affinity``, ``soft-anti-affinity`` and 'soft-affinity', the latter two were
, ``affinity``, ``soft-anti-affinity`` and ``soft-affinity``, the latter two were
added in microversion 2.15. Each policy name must be a non-empty string with
no leading or trailing spaces. Maximum length is 255 characters.
in: body