From a1e305641430af48b72c941f87c7ffcc182b3f9a Mon Sep 17 00:00:00 2001 From: Yan Xing'an Date: Mon, 17 Oct 2016 22:33:35 -0700 Subject: 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 --- doc/source/command-objects/port.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/source/command-objects') 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 ] [--router | --server ] [--network ] + [--mac-address ] [--long] .. option:: --device-owner @@ -146,6 +147,10 @@ List ports List only ports attached to this network (name or ID) +.. option:: --mac-address + + List only ports with this MAC address + .. option:: --long List additional fields in output -- cgit v1.2.1