summaryrefslogtreecommitdiff
path: root/openstackclient/network
diff options
context:
space:
mode:
authorWenran Xiao <xiaowenran@unitedstack.com>2018-09-18 11:32:03 +0800
committerWenran Xiao <xiaowenran@unitedstack.com>2018-09-19 10:11:47 +0800
commit01c3548dc8c35da198453af4e20331b5aa15f436 (patch)
tree01f3aeb633179adfbd333c9c3c0ee05c5d1dd19a /openstackclient/network
parent1b66ad9067cc404ebfdc8569822d226d5bffddd6 (diff)
downloadpython-openstackclient-01c3548dc8c35da198453af4e20331b5aa15f436.tar.gz
Fix help message for subnetpool default-quota value
Default pre-project quota is the number of IP addresses that can be allocated from the subnet pool. For example, with a quota of 128, I might get a 64 addresses subnet1, and 16 addresses subnet2, and still have room to allocate 48 more addresses in the future. Change-Id: Ia0ba827790b190647aed990e47347560fc9e9f0c
Diffstat (limited to 'openstackclient/network')
-rw-r--r--openstackclient/network/v2/subnet_pool.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/openstackclient/network/v2/subnet_pool.py b/openstackclient/network/v2/subnet_pool.py
index a5839868..81765ca1 100644
--- a/openstackclient/network/v2/subnet_pool.py
+++ b/openstackclient/network/v2/subnet_pool.py
@@ -191,8 +191,9 @@ class CreateSubnetPool(command.ShowOne):
'--default-quota',
type=int,
metavar='<num-ip-addresses>',
- help=_("Set default quota for subnet pool as the number of"
- "IP addresses allowed in a subnet")),
+ help=_("Set default per-project quota for this subnet pool "
+ "as the number of IP addresses that can be allocated "
+ "from the subnet pool")),
_tag.add_tag_option_to_parser_for_create(parser, _('subnet pool'))
return parser
@@ -389,8 +390,9 @@ class SetSubnetPool(command.Command):
'--default-quota',
type=int,
metavar='<num-ip-addresses>',
- help=_("Set default quota for subnet pool as the number of"
- "IP addresses allowed in a subnet")),
+ help=_("Set default per-project quota for this subnet pool "
+ "as the number of IP addresses that can be allocated "
+ "from the subnet pool")),
_tag.add_tag_option_to_parser_for_set(parser, _('subnet pool'))
return parser