summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorreedip <reedip.banerjee@nectechnologies.in>2016-04-07 15:22:11 +0900
committerReedip <reedip.banerjee@nectechnologies.in>2016-07-01 08:40:07 +0530
commit230d38fb4ca0235706a9cd7617628b84413075b7 (patch)
treef940e22bc1fd792cf2412b098b392c214ebdc788 /doc/source/command-objects
parent46b14afc3f34935683bb582362b614adbe1349d9 (diff)
downloadpython-openstackclient-230d38fb4ca0235706a9cd7617628b84413075b7.tar.gz
Add command to unset information from ports
This patch introduces the ``port unset`` command to clear the fixed-ip and binding:profile information from the ports. Implements: blueprint network-property-unset Change-Id: I9dba309234105af477e7618a8a437b7fa3b13cd7
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/port.rst29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst
index 9d93ee62..4d7b95b4 100644
--- a/doc/source/command-objects/port.rst
+++ b/doc/source/command-objects/port.rst
@@ -215,3 +215,32 @@ Display port details
.. describe:: <port>
Port to display (name or ID)
+
+port unset
+----------
+
+Unset port properties
+
+.. program:: port unset
+.. code:: bash
+
+ os port unset
+ [--fixed-ip subnet=<subnet>,ip-address=<ip-address> [...]]
+ [--binding-profile <binding-profile-key> [...]]
+ <port>
+
+.. option:: --fixed-ip subnet=<subnet>,ip-address=<ip-address>
+
+ Desired IP and/or subnet (name or ID) which should be removed
+ from this port: subnet=<subnet>,ip-address=<ip-address>
+ (repeat option to unset multiple fixed IP addresses)
+
+.. option:: --binding-profile <binding-profile-key>
+
+ Desired key which should be removed from binding-profile
+ (repeat option to unset multiple binding:profile data)
+
+.. _port_unset-port:
+.. describe:: <port>
+
+ Port to modify (name or ID)