Merge "Fix prefixes output for subnet pool list"
This commit is contained in:
commit
162c985138
openstackclient
releasenotes/notes
@ -184,7 +184,7 @@ class ListSubnetPool(command.Lister):
|
|||||||
return (headers,
|
return (headers,
|
||||||
(utils.get_item_properties(
|
(utils.get_item_properties(
|
||||||
s, columns,
|
s, columns,
|
||||||
formatters={},
|
formatters=_formatters,
|
||||||
) for s in data))
|
) for s in data))
|
||||||
|
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ class TestListSubnetPool(TestSubnetPool):
|
|||||||
data.append((
|
data.append((
|
||||||
pool.id,
|
pool.id,
|
||||||
pool.name,
|
pool.name,
|
||||||
pool.prefixes,
|
utils.format_list(pool.prefixes),
|
||||||
))
|
))
|
||||||
|
|
||||||
data_long = []
|
data_long = []
|
||||||
@ -254,7 +254,7 @@ class TestListSubnetPool(TestSubnetPool):
|
|||||||
data_long.append((
|
data_long.append((
|
||||||
pool.id,
|
pool.id,
|
||||||
pool.name,
|
pool.name,
|
||||||
pool.prefixes,
|
utils.format_list(pool.prefixes),
|
||||||
pool.default_prefixlen,
|
pool.default_prefixlen,
|
||||||
pool.address_scope_id,
|
pool.address_scope_id,
|
||||||
))
|
))
|
||||||
|
7
releasenotes/notes/bug-1569480-c52e330548bfbd78.yaml
Normal file
7
releasenotes/notes/bug-1569480-c52e330548bfbd78.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- Fixed ``subnet pool list`` command to properly disply the
|
||||||
|
list of subnet pool prefixes in the ``Prefixes`` column.
|
||||||
|
This fix is consistent with the ``subnet pool create`` and
|
||||||
|
``subnet pool show`` command output.
|
||||||
|
[Bug `1569480 <https://bugs.launchpad.net/bugs/1569480>`_]
|
Loading…
x
Reference in New Issue
Block a user