summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorYan Xing'an <yanxingan@cmss.chinamobile.com>2016-10-17 22:33:35 -0700
committerYan Xing'an <yanxingan@cmss.chinamobile.com>2016-10-19 02:50:47 -0700
commita1e305641430af48b72c941f87c7ffcc182b3f9a (patch)
tree18d82e1109690ea72faee64e36c8ab49fe5fc44a /doc/source/command-objects
parent5e3ec1b42faf7dc49722b58829b6c2cf5c15da79 (diff)
downloadpython-openstackclient-a1e305641430af48b72c941f87c7ffcc182b3f9a.tar.gz
Add option to allow filtering by mac-address on port list
Added support to allow filtering ports via --mac-address option to the port list command. Change-Id: I903e443f2f9057571d46520c4cafb88d1972c0cb Partial-bug: #1634333 Partially-Implements: blueprint network-commands-options
Diffstat (limited to 'doc/source/command-objects')
-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 fe256d09..f4dbe263 100644
--- a/doc/source/command-objects/port.rst
+++ b/doc/source/command-objects/port.rst
@@ -127,6 +127,7 @@ List ports
[--device-owner <device-owner>]
[--router <router> | --server <server>]
[--network <network>]
+ [--mac-address <mac-address>]
[--long]
.. option:: --device-owner <device-owner>
@@ -146,6 +147,10 @@ List ports
List only ports attached to this network (name or ID)
+.. option:: --mac-address <mac-address>
+
+ List only ports with this MAC address
+
.. option:: --long
List additional fields in output