fixed create subnetpool option '--pool-prefix' as a optional argument in neutronclient
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
neutron --version
2.6.0
As the --pool-prefix is needed,but the neutron client show it is a optional argument.So if you just input the name,server will return message like "Invalid input for prefixes. Reason: 'None' is not a valid IP subnet."
Before:
neutron help subnetpool-create l
usage: neutron subnetpool-create [-h] [-f {html,json,
Create a subnetpool for a given tenant.
positional arguments:
name Name of subnetpool to create.
optional arguments:
-h, --help show this help message and exit
--request-format {json,xml}
--tenant-id TENANT_ID
--min-prefixlen MIN_PREFIXLEN
--max-prefixlen MAX_PREFIXLEN
--default-
--pool-prefix PREFIXES
--shared Set the subnetpool as shared.
output formatters:
output formatter options
-f {html,json,
-c COLUMN, --column COLUMN
table formatter:
--max-width <integer>
shell formatter:
a format a UNIX shell can parse (variable="value")
--prefix PREFIX add a prefix to all variable names
WISH:
usage: neutron subnetpool-create [-h] [-f {html,json,
Create a subnetpool for a given tenant.
positional arguments:
name Name of subnetpool to create.
POOL-RREFIX Subnetpool prefixes (This option can be repeated).
optional arguments:
-h, --help show this help message and exit
--request-format {json,xml}
--tenant-id TENANT_ID
--min-prefixlen MIN_PREFIXLEN
--max-prefixlen MAX_PREFIXLEN
--default-
--shared Set the subnetpool as shared.
output formatters:
output formatter options
-f {html,json,
-c COLUMN, --column COLUMN
table formatter:
--max-width <integer>
shell formatter:
a format a UNIX shell can parse (variable="value")
--prefix PREFIX add a prefix to all variable names
Changed in neutron: | |
assignee: | nobody → zhaobo (zhaobo6) |
Changed in neutron: | |
assignee: | nobody → Reedip (reedip-banerjee) |
This bug is > 172 days without activity. We are unsetting assignee and milestone and setting status to Incomplete in order to allow its expiry in 60 days.
If the bug is still valid, then update the bug status.