summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorHongbin Lu <hongbin034@gmail.com>2018-01-09 21:24:08 +0000
committerHongbin Lu <hongbin.lu@huawei.com>2018-06-29 20:15:28 +0000
commit4a9cb8eea8e47950cb30ecaa7572a23d80d5bfcd (patch)
tree3e4798ac2949e1237534331cd6e6bb797f14c383 /doc/source
parente4b8c31cd399f469b3378069187614763c24451d (diff)
downloadpython-openstackclient-4a9cb8eea8e47950cb30ecaa7572a23d80d5bfcd.tar.gz
Support filtering port with IP address substring
Change-Id: I9559f1c0a6db943705bd32aefb60d7ea7054dd1b Related-Bug: #1718605
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/cli/command-objects/port.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/source/cli/command-objects/port.rst b/doc/source/cli/command-objects/port.rst
index 335c2270..bb037fa3 100644
--- a/doc/source/cli/command-objects/port.rst
+++ b/doc/source/cli/command-objects/port.rst
@@ -179,7 +179,7 @@ List ports
[--router <router> | --server <server> | --device-id <device-id>]
[--network <network>]
[--mac-address <mac-address>]
- [--fixed-ip subnet=<subnet>,ip-address=<ip-address>]
+ [--fixed-ip subnet=<subnet>,ip-address=<ip-address>,ip-substring=<ip-substring>]
[--long]
[--project <project> [--project-domain <project-domain>]]
[--tags <tag>[,<tag>,...]] [--any-tags <tag>[,<tag>,...]]
@@ -210,10 +210,11 @@ List ports
List only ports with this MAC address
-.. option:: --fixed-ip subnet=<subnet>,ip-address=<ip-address>
+.. option:: --fixed-ip subnet=<subnet>,ip-address=<ip-address>,ip-substring=<ip-substring>
- Desired IP and/or subnet for filtering ports (name or ID):
- subnet=<subnet>,ip-address=<ip-address>
+ Desired IP address, IP address substring and/or subnet (name or ID) for
+ filtering ports:
+ subnet=<subnet>,ip-address=<ip-address>,ip-substring=<ip-substring>
(repeat option to set multiple fixed IP addresses)
.. option:: --long