summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorCao Xuan Hoang <hoangcx@vn.fujitsu.com>2016-08-18 13:15:58 +0700
committerCao Xuan Hoang <hoangcx@vn.fujitsu.com>2016-09-19 16:16:06 +0700
commit1a6ae06ad5e33dd03e4f25ea094e6ae2a15ad874 (patch)
tree84516935b8abba25315cb30408c0079541ba8546 /doc/source/command-objects
parent7e990ba1e2ae0ecb804287212797ebad84d7b56b (diff)
downloadpython-openstackclient-1a6ae06ad5e33dd03e4f25ea094e6ae2a15ad874.tar.gz
Add filtering options to os subnet pool list command
This patch adds the following filtering options: '--share' and '--no-share', '--default' and '--no-default', '--project' and '--project-domain', '--name', '--address-scope' options to the command. Change-Id: I7ad9ed6842c6b3475ebf316fb5b954c7f5a7d7e3 Closes-Bug: #1613926 Partially-Implements: blueprint network-commands-options
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/subnet-pool.rst38
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/source/command-objects/subnet-pool.rst b/doc/source/command-objects/subnet-pool.rst
index 005b8357..3330d62d 100644
--- a/doc/source/command-objects/subnet-pool.rst
+++ b/doc/source/command-objects/subnet-pool.rst
@@ -104,11 +104,49 @@ List subnet pools
os subnet pool list
[--long]
+ [--share | --no-share]
+ [--default | --no-default]
+ [--project <project> [--project-domain <project-domain>]]
+ [--name <name>]
+ [--address-scope <address-scope>]
.. option:: --long
List additional fields in output
+.. option:: --share
+
+ List subnets shared between projects
+
+.. option:: --no-share
+
+ List subnets not shared between projects
+
+.. option:: --default
+
+ List subnets used as the default external subnet pool
+
+.. option:: --no-default
+
+ List subnets not used as the default external subnet pool
+
+.. option:: --project <project>
+
+ List subnets according to their project (name or ID)
+
+.. option:: --project-domain <project-domain>
+
+ Domain the project belongs to (name or ID).
+ This can be used in case collisions between project names exist.
+
+.. option:: --name <name>
+
+ List only subnets of given name in output
+
+.. option:: --address-scope <address-scope>
+
+ List only subnets of given address scope (name or ID) in output
+
subnet pool set
---------------