summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorreedip <reedip.banerjee@nectechnologies.in>2016-04-20 17:31:52 +0900
committerReedip <reedip.banerjee@nectechnologies.in>2016-09-21 04:19:28 +0000
commitb38be94a5d82eb88d27c81e697152ad064854466 (patch)
treebe46374a2d91a47c782578ea73d4e7c653991303 /doc
parent320ed017749f6a7ffba8d11a1d415fd869bfecb0 (diff)
downloadpython-openstackclient-b38be94a5d82eb88d27c81e697152ad064854466.tar.gz
Introduce overwrite functionality in ``osc port set``
The overwrite functionality allows user to overwrite either the binding-profile or the fixed-ips of a specific port. Change-Id: I8ec3d04eeaf28972ee545fcdda4d5f7bd9deb915 partially-implements: blueprint allow-overwrite-set-options
Diffstat (limited to 'doc')
-rw-r--r--doc/source/command-objects/port.rst14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst
index 4d7b95b4..49e68407 100644
--- a/doc/source/command-objects/port.rst
+++ b/doc/source/command-objects/port.rst
@@ -135,11 +135,13 @@ Set port properties
.. code:: bash
os port set
- [--fixed-ip subnet=<subnet>,ip-address=<ip-address> | --no-fixed-ip]
+ [--fixed-ip subnet=<subnet>,ip-address=<ip-address>]
+ [--no-fixed-ip]
[--device <device-id>]
[--device-owner <device-owner>]
[--vnic-type <vnic-type>]
- [--binding-profile <binding-profile> | --no-binding-profile]
+ [--binding-profile <binding-profile>]
+ [--no-binding-profile]
[--host <host-id>]
[--enable | --disable]
[--name <name>]
@@ -153,7 +155,9 @@ Set port properties
.. option:: --no-fixed-ip
- Clear existing information of fixed IP addresses
+ Clear existing information of fixed IP addresses.
+ Specify both --fixed-ip and --no-fixed-ip
+ to overwrite the current fixed IP addresses.
.. option:: --device <device-id>
@@ -177,7 +181,9 @@ Set port properties
.. option:: --no-binding-profile
- Clear existing information of binding:profile
+ Clear existing information of binding:profile.
+ Specify both --binding-profile and --no-binding-profile
+ to overwrite the current binding:profile information.
.. option:: --host <host-id>