Merge "api-ref: fix addFloatingIp action docs"

This commit is contained in:
Jenkins 2016-11-11 17:28:56 +00:00 committed by Gerrit Code Review
commit f21ba22fa9
2 changed files with 6 additions and 6 deletions

View File

@ -806,10 +806,11 @@ addFixedIp:
type: string
addFloatingIp:
description: |
The action.
The action. Contains required floating IP ``address`` and optional
``fixed_address``.
in: body
required: true
type: string
type: object
address:
description: |
The floating IP address.

View File

@ -67,11 +67,10 @@ Request
- address: address
- fixed_address: fixed_address
.. TODO(gmann) Need to create the sample file for this action.
**Example Add (Associate) Floating Ip (addFloatingIp Action): JSON request**
**Example Add (Associate) Floating Ip (addFloatingIp Action): JSON request**
.. literalinclude:: ../../doc/api_samples/os-floating-ips/floating-ips-create-resp.json
:language: javascript
.. literalinclude:: ../../doc/api_samples/servers/server-action-addfloatingip.json
:language: javascript
Response
--------