summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorYan Xing'an <yanxingan@cmss.chinamobile.com>2016-10-19 02:21:41 -0700
committerYan Xing'an <yanxingan@cmss.chinamobile.com>2017-02-07 19:00:52 -0800
commite0e46bca093984926de11559e312d1f1fcade108 (patch)
tree9795751911ba901e4089c010ec99336f44cf6cb0 /doc/source/command-objects
parente35c97a4fc323f9771908566656c172ba4bbd340 (diff)
downloadpython-openstackclient-e0e46bca093984926de11559e312d1f1fcade108.tar.gz
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
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/port.rst7
1 files changed, 7 insertions, 0 deletions
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 <router> | --server <server>]
[--network <network>]
[--mac-address <mac-address>]
+ [--fixed-ip subnet=<subnet>,ip-address=<ip-address>]
[--long]
[--project <project> [--project-domain <project-domain>]]
@@ -179,6 +180,12 @@ List ports
List only ports with this MAC address
+.. option:: --fixed-ip subnet=<subnet>,ip-address=<ip-address>
+
+ Desired IP and/or subnet (name or ID) for filtering ports:
+ subnet=<subnet>,ip-address=<ip-address>
+ (repeat option to set multiple fixed IP addresses)
+
.. option:: --long
List additional fields in output