Add server-action-removefloatingip.json file and update servers-actions.inc

Part of bp:api-ref-in-rst-pike

Change-Id: I6a7dbbd5d999fef557a110a6828a317e2e8da3c0
This commit is contained in:
libing
2017-03-16 19:15:18 +08:00
committed by Sean Dague
parent d83386524b
commit e0582bf174
2 changed files with 9 additions and 5 deletions

View File

@@ -69,7 +69,7 @@ Request
**Example Add (Associate) Floating Ip (addFloatingIp Action)**
.. literalinclude:: ../../doc/api_samples/servers/server-action-addfloatingip.json
:language: javascript
:language: javascript
Response
--------
@@ -455,11 +455,10 @@ Request
- removeFloatingIp: removeFloatingIp
- address: address
.. TODO(sdague) build example for this
**Example Remove (Disassociate) Floating Ip (removeFloatingIp Action)**
**Example Remove (Disassociate) Floating Ip (removeFloatingIp Action)**
.. literalinclude:: ../../doc/api_samples/servers-action/removeFloatingIp-req.json
:language: javascript
.. literalinclude:: ../../doc/api_samples/servers/server-action-removefloatingip.json
:language: javascript
Response
--------

View File

@@ -0,0 +1,5 @@
{
"removeFloatingIp": {
"address": "172.16.10.7"
}
}