summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorreedip <reedip.banerjee@nectechnologies.in>2016-04-01 14:26:16 +0900
committerreedip <reedip.banerjee@nectechnologies.in>2016-04-07 10:59:15 +0900
commit73d15e3768e28008515781b30e533ddf3d8d4159 (patch)
tree7395556cb7a882a4f4dc174719baa0eff43019dd /doc/source/command-objects
parent0edab95fd1989dcc06a166a820b115a75dd17d54 (diff)
downloadpython-openstackclient-73d15e3768e28008515781b30e533ddf3d8d4159.tar.gz
Add option to clear information from ports
This patch adds the option of "no-fixed-ip" and "no-binding-profile" which is used to clear the fixed-ip and binding:profile information from the ports. Change-Id: I946301eaf6c647bae55e4f416aa0d98e5f06e699
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/port.rst12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst
index 46bd6339..b666b652 100644
--- a/doc/source/command-objects/port.rst
+++ b/doc/source/command-objects/port.rst
@@ -123,11 +123,11 @@ Set port properties
.. code:: bash
os port set
- [--fixed-ip subnet=<subnet>,ip-address=<ip-address>]
+ [--fixed-ip subnet=<subnet>,ip-address=<ip-address> | --no-fixed-ip]
[--device-id <device-id>]
[--device-owner <device-owner>]
[--vnic-type <vnic-type>]
- [--binding-profile <binding-profile>]
+ [--binding-profile <binding-profile> | --no-binding-profile]
[--host-id <host-id>]
[--enable | --disable]
[--name <name>]
@@ -139,6 +139,10 @@ Set port properties
subnet=<subnet>,ip-address=<ip-address>
(you can repeat this option)
+.. option:: --no-fixed-ip
+
+ Clear existing information of fixed-ips
+
.. option:: --device-id <device-id>
Device ID of this port
@@ -157,6 +161,10 @@ Set port properties
Custom data to be passed as binding:profile: <key>=<value>
(this option can be repeated)
+.. option:: --no-binding-profile
+
+ Clear existing information of binding:profile
+
.. option:: --host-id <host-id>
The ID of the host where the port is allocated