add doc for floatingip

Change-Id: Ibdee50066452ed33f210e93de29eba3c0ec2e155
This commit is contained in:
chengkunye 2015-07-22 05:08:36 -04:00
parent 4d9d2dbd36
commit a5b0d9ab35

View File

@ -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)