summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/ip-floating.rst
diff options
context:
space:
mode:
authorTang Chen <chen.tang@easystack.cn>2016-03-03 17:17:40 +0800
committerTang Chen <chen.tang@easystack.cn>2016-03-24 09:07:25 +0800
commit860dbc132d512c6df16d29875bb6388d10d9fab8 (patch)
tree88ba48ce00dbc83180188a4fbe900f79a022e77e /doc/source/command-objects/ip-floating.rst
parent4b4349ee6821f08fb1483d5281d568081649a0d9 (diff)
downloadpython-openstackclient-860dbc132d512c6df16d29875bb6388d10d9fab8.tar.gz
[Floating IP] Neutron support for "ip floating create" command
This patch adds --subnet, --port, --floating-ip-address and --fixed-ip-address options only. Project related options will be added in another patch because it relates to identity v2 and v3, which will make the unit tests too complicated in one single patch. Change-Id: I3cce4404a114ff128b74e4596f0e847be2846b17 Partial-Bug: 1519502 Related-to: blueprint neutron-client
Diffstat (limited to 'doc/source/command-objects/ip-floating.rst')
-rw-r--r--doc/source/command-objects/ip-floating.rst30
1 files changed, 27 insertions, 3 deletions
diff --git a/doc/source/command-objects/ip-floating.rst b/doc/source/command-objects/ip-floating.rst
index 05e4a132..869b7af8 100644
--- a/doc/source/command-objects/ip-floating.rst
+++ b/doc/source/command-objects/ip-floating.rst
@@ -33,11 +33,35 @@ Create new floating IP address
.. code:: bash
os ip floating create
- <pool>
+ [--subnet <subnet>]
+ [--port <port>]
+ [--floating-ip-address <floating-ip-address>]
+ [--fixed-ip-address <fixed-ip-address>]
+ <network>
-.. describe:: <pool>
+.. option:: --subnet <subnet>
- Pool to fetch IP address from (name or ID)
+ Subnet on which you want to create the floating IP (name or ID)
+ (Network v2 only)
+
+.. option:: --port <port>
+
+ Port to be associated with the floating IP (name or ID)
+ (Network v2 only)
+
+.. option:: --floating-ip-address <floating-ip-address>
+
+ Floating IP address
+ (Network v2 only)
+
+.. option:: --fixed-ip-address <fixed-ip-address>
+
+ Fixed IP address mapped to the floating IP
+ (Network v2 only)
+
+.. describe:: <network>
+
+ Network to allocate floating IP from (name or ID)
ip floating delete
------------------