Merge "Fix prefixes output for subnet pool list"

This commit is contained in:
Jenkins 2016-04-12 22:17:43 +00:00 committed by Gerrit Code Review
commit 162c985138
3 changed files with 10 additions and 3 deletions
openstackclient
network/v2
tests/network/v2
releasenotes/notes

@ -184,7 +184,7 @@ class ListSubnetPool(command.Lister):
return (headers,
(utils.get_item_properties(
s, columns,
formatters={},
formatters=_formatters,
) for s in data))

@ -246,7 +246,7 @@ class TestListSubnetPool(TestSubnetPool):
data.append((
pool.id,
pool.name,
pool.prefixes,
utils.format_list(pool.prefixes),
))
data_long = []
@ -254,7 +254,7 @@ class TestListSubnetPool(TestSubnetPool):
data_long.append((
pool.id,
pool.name,
pool.prefixes,
utils.format_list(pool.prefixes),
pool.default_prefixlen,
pool.address_scope_id,
))

@ -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>`_]