From a5b0d9ab356f9d94f88feaae82bf80e46e81bc47 Mon Sep 17 00:00:00 2001 From: chengkunye <chengkun@unitedstack.com> Date: Wed, 22 Jul 2015 05:08:36 -0400 Subject: [PATCH] add doc for floatingip Change-Id: Ibdee50066452ed33f210e93de29eba3c0ec2e155 --- doc/source/command-objects/floatingip.rst | 85 +++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 doc/source/command-objects/floatingip.rst diff --git a/doc/source/command-objects/floatingip.rst b/doc/source/command-objects/floatingip.rst new file mode 100644 index 0000000000..1ae3041e42 --- /dev/null +++ b/doc/source/command-objects/floatingip.rst @@ -0,0 +1,85 @@ +========== +floatingip +========== + +Compute v2 + +ip floating add +--------------- + +Add floating-ip to server + +.. program:: ip floating add +.. code:: bash + + os ip floating add + <ip_address> + <server> + +.. describe:: <ip_address> + + IP address to add to server + +.. describe:: <server> + + Server to receive the IP address (name or ID) + +ip floating create +------------------ + +Create new floating-ip + +.. program:: ip floating create +.. code:: bash + + os ip floating create + <pool> + +.. describe:: <pool> + + Pool to fetch floating IP from + +ip floating delete +------------------ + +Delete a floating-ip + +.. program:: ip floating delete +.. code:: bash + + os ip floating delete + <ip_address> + +.. describe:: <ip_address> + + IP address to delete + +ip floating list +---------------- + +List floating-ips + +.. program:: ip floating list +.. code:: bash + + os ip floating list + +ip floating remove +------------------ + +Remove floating-ip from server + +.. program:: ip floating remove +.. code:: bash + + os ip floating remove + <ip_address> + <server> + +.. describe:: <ip_address> + + IP address to remove from server + +.. describe:: <server> + + Server to remove the IP address from (name or ID)