From e0582bf1745c61c4417eee2652087d417140aa9b Mon Sep 17 00:00:00 2001 From: libing Date: Thu, 16 Mar 2017 19:15:18 +0800 Subject: [PATCH] Add server-action-removefloatingip.json file and update servers-actions.inc Part of bp:api-ref-in-rst-pike Change-Id: I6a7dbbd5d999fef557a110a6828a317e2e8da3c0 --- api-ref/source/servers-actions.inc | 9 ++++----- .../servers/server-action-removefloatingip.json | 5 +++++ 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 doc/api_samples/servers/server-action-removefloatingip.json diff --git a/api-ref/source/servers-actions.inc b/api-ref/source/servers-actions.inc index ce22f10eef..aa6e7eea88 100644 --- a/api-ref/source/servers-actions.inc +++ b/api-ref/source/servers-actions.inc @@ -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 -------- diff --git a/doc/api_samples/servers/server-action-removefloatingip.json b/doc/api_samples/servers/server-action-removefloatingip.json new file mode 100644 index 0000000000..b1f9698fee --- /dev/null +++ b/doc/api_samples/servers/server-action-removefloatingip.json @@ -0,0 +1,5 @@ +{ + "removeFloatingIp": { + "address": "172.16.10.7" + } +}