summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/port.rst
diff options
context:
space:
mode:
authorBence Romsics <bence.romsics@ericsson.com>2017-03-07 15:54:31 +0100
committerDean Troyer <dtroyer@gmail.com>2017-03-20 15:40:48 +0000
commitf1345dc06f91177ced17f102bcdaaa126fe12568 (patch)
treee98f077515d9211ccf042cc8e682f2e5e4964daf /doc/source/command-objects/port.rst
parentb6f51cdfa0765640a0c1c8d81323682de871a4fe (diff)
downloadpython-openstackclient-f1345dc06f91177ced17f102bcdaaa126fe12568.tar.gz
Make MAC address of port updatable
openstackclient does not allow the update of a port's MAC address. However this is possible in neutron API (though by default policy it is an admin-only operation). Allow it in openstackclient too. Change-Id: Ibd9e0a6fbd1d0d461b8a8daee24dbb7c3f929df6 Closes-Bug: #1670707
Diffstat (limited to 'doc/source/command-objects/port.rst')
-rw-r--r--doc/source/command-objects/port.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst
index 5080addb..98642b9a 100644
--- a/doc/source/command-objects/port.rst
+++ b/doc/source/command-objects/port.rst
@@ -219,6 +219,7 @@ Set port properties
[--host <host-id>]
[--enable | --disable]
[--name <name>]
+ [--mac-address <mac-address>]
[--security-group <security-group>]
[--no-security-group]
[--enable-port-security | --disable-port-security]
@@ -285,6 +286,10 @@ Set port properties
Set port name
+.. option:: --mac-address
+
+ Set port's MAC address (admin only)
+
.. option:: --security-group <security-group>
Security group to associate with this port (name or ID)