summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/command-objects/subnet-pool.rst14
-rw-r--r--openstackclient/network/v2/subnet_pool.py18
2 files changed, 17 insertions, 15 deletions
diff --git a/doc/source/command-objects/subnet-pool.rst b/doc/source/command-objects/subnet-pool.rst
index 28a735d6..bd1356f3 100644
--- a/doc/source/command-objects/subnet-pool.rst
+++ b/doc/source/command-objects/subnet-pool.rst
@@ -121,23 +121,23 @@ List subnet pools
.. option:: --share
- List subnets shared between projects
+ List subnet pools shared between projects
.. option:: --no-share
- List subnets not shared between projects
+ List subnet pools not shared between projects
.. option:: --default
- List subnets used as the default external subnet pool
+ List subnet pools used as the default external subnet pool
.. option:: --no-default
- List subnets not used as the default external subnet pool
+ List subnet pools not used as the default external subnet pool
.. option:: --project <project>
- List subnets according to their project (name or ID)
+ List subnet pools according to their project (name or ID)
.. option:: --project-domain <project-domain>
@@ -146,11 +146,11 @@ List subnet pools
.. option:: --name <name>
- List only subnets of given name in output
+ List only subnet pools of given name in output
.. option:: --address-scope <address-scope>
- List only subnets of given address scope (name or ID) in output
+ List only subnet pools of given address scope (name or ID) in output
subnet pool set
---------------
diff --git a/openstackclient/network/v2/subnet_pool.py b/openstackclient/network/v2/subnet_pool.py
index a01d2f7b..a29c4518 100644
--- a/openstackclient/network/v2/subnet_pool.py
+++ b/openstackclient/network/v2/subnet_pool.py
@@ -238,40 +238,42 @@ class ListSubnetPool(command.Lister):
shared_group.add_argument(
'--share',
action='store_true',
- help=_("List subnets shared between projects"),
+ help=_("List subnet pools shared between projects"),
)
shared_group.add_argument(
'--no-share',
action='store_true',
- help=_("List subnets not shared between projects"),
+ help=_("List subnet pools not shared between projects"),
)
default_group = parser.add_mutually_exclusive_group()
default_group.add_argument(
'--default',
action='store_true',
- help=_("List subnets used as the default external subnet pool"),
+ help=_("List subnet pools used as the default external "
+ "subnet pool"),
)
default_group.add_argument(
'--no-default',
action='store_true',
- help=_("List subnets not used as the default external subnet pool")
+ help=_("List subnet pools not used as the default external "
+ "subnet pool")
)
parser.add_argument(
'--project',
metavar='<project>',
- help=_("List subnets according to their project (name or ID)")
+ help=_("List subnet pools according to their project (name or ID)")
)
identity_common.add_project_domain_option_to_parser(parser)
parser.add_argument(
'--name',
metavar='<name>',
- help=_("List only subnets of given name in output")
+ help=_("List only subnet pools of given name in output")
)
parser.add_argument(
'--address-scope',
metavar='<address-scope>',
- help=_("List only subnets of given address scope (name or ID) "
- "in output")
+ help=_("List only subnet pools of given address scope "
+ "(name or ID) in output")
)
return parser