From 1a6ae06ad5e33dd03e4f25ea094e6ae2a15ad874 Mon Sep 17 00:00:00 2001 From: Cao Xuan Hoang Date: Thu, 18 Aug 2016 13:15:58 +0700 Subject: 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 --- doc/source/command-objects/subnet-pool.rst | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'doc/source/command-objects') 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-domain ]] + [--name ] + [--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 + + List subnets according to their project (name or ID) + +.. option:: --project-domain + + Domain the project belongs to (name or ID). + This can be used in case collisions between project names exist. + +.. option:: --name + + List only subnets of given name in output + +.. option:: --address-scope + + List only subnets of given address scope (name or ID) in output + subnet pool set --------------- -- cgit v1.2.1