Correct help string of the subnet pool list options
Correct help string of subnet pool list options, from "subnets" to "subnet pools". Change-Id: Ic6dd6649f411748cd0c6e6b08f0451c8a0fa220f Partially-Implements: blueprint network-commands-options
This commit is contained in:
parent
fee1a31296
commit
e6fb658606
@ -121,23 +121,23 @@ List subnet pools
|
|||||||
|
|
||||||
.. option:: --share
|
.. option:: --share
|
||||||
|
|
||||||
List subnets shared between projects
|
List subnet pools shared between projects
|
||||||
|
|
||||||
.. option:: --no-share
|
.. option:: --no-share
|
||||||
|
|
||||||
List subnets not shared between projects
|
List subnet pools not shared between projects
|
||||||
|
|
||||||
.. option:: --default
|
.. option:: --default
|
||||||
|
|
||||||
List subnets used as the default external subnet pool
|
List subnet pools used as the default external subnet pool
|
||||||
|
|
||||||
.. option:: --no-default
|
.. 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>
|
.. 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>
|
.. option:: --project-domain <project-domain>
|
||||||
|
|
||||||
@ -146,11 +146,11 @@ List subnet pools
|
|||||||
|
|
||||||
.. option:: --name <name>
|
.. 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>
|
.. 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
|
subnet pool set
|
||||||
---------------
|
---------------
|
||||||
|
@ -238,40 +238,42 @@ class ListSubnetPool(command.Lister):
|
|||||||
shared_group.add_argument(
|
shared_group.add_argument(
|
||||||
'--share',
|
'--share',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
help=_("List subnets shared between projects"),
|
help=_("List subnet pools shared between projects"),
|
||||||
)
|
)
|
||||||
shared_group.add_argument(
|
shared_group.add_argument(
|
||||||
'--no-share',
|
'--no-share',
|
||||||
action='store_true',
|
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 = parser.add_mutually_exclusive_group()
|
||||||
default_group.add_argument(
|
default_group.add_argument(
|
||||||
'--default',
|
'--default',
|
||||||
action='store_true',
|
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(
|
default_group.add_argument(
|
||||||
'--no-default',
|
'--no-default',
|
||||||
action='store_true',
|
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(
|
parser.add_argument(
|
||||||
'--project',
|
'--project',
|
||||||
metavar='<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)
|
identity_common.add_project_domain_option_to_parser(parser)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--name',
|
'--name',
|
||||||
metavar='<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(
|
parser.add_argument(
|
||||||
'--address-scope',
|
'--address-scope',
|
||||||
metavar='<address-scope>',
|
metavar='<address-scope>',
|
||||||
help=_("List only subnets of given address scope (name or ID) "
|
help=_("List only subnet pools of given address scope "
|
||||||
"in output")
|
"(name or ID) in output")
|
||||||
)
|
)
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user