From e0e46bca093984926de11559e312d1f1fcade108 Mon Sep 17 00:00:00 2001 From: Yan Xing'an Date: Wed, 19 Oct 2016 02:21:41 -0700 Subject: Add --fixed-ip option to the port list command Add support to allow filtering ports via --fixed-ip option to the port list command. Change-Id: I2f728368d3046b2e6feadd0848bf6f8680e31aba Partial-bug: #1634799 Partially-Implements: blueprint network-commands-options --- doc/source/command-objects/port.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/port.rst b/doc/source/command-objects/port.rst index 201a889e..5080addb 100644 --- a/doc/source/command-objects/port.rst +++ b/doc/source/command-objects/port.rst @@ -155,6 +155,7 @@ List ports [--router | --server ] [--network ] [--mac-address ] + [--fixed-ip subnet=,ip-address=] [--long] [--project [--project-domain ]] @@ -179,6 +180,12 @@ List ports List only ports with this MAC address +.. option:: --fixed-ip subnet=,ip-address= + + Desired IP and/or subnet (name or ID) for filtering ports: + subnet=,ip-address= + (repeat option to set multiple fixed IP addresses) + .. option:: --long List additional fields in output -- cgit v1.2.1