Update headers for openstack router list --long

Updated External gateway info to External Gateway Info,
Availability zones to Availability Zones in the
openstack router list --long command to keep
syncronized with other Openstack commands headers

Change-Id: I5a0e9c736d63ebaa20204782ed646f5e4fe67a36
Closes-Bug: #1643868
This commit is contained in:
Vijendra Soni
2016-11-21 09:17:30 +05:30
parent 95c26cebaa
commit 3b708782ae
3 changed files with 12 additions and 5 deletions

View File

@@ -323,7 +323,7 @@ class ListRouter(command.Lister):
)
column_headers = column_headers + (
'Routes',
'External gateway info',
'External Gateway Info',
)
# availability zone will be available only when
# router_availability_zone extension is enabled
@@ -332,7 +332,7 @@ class ListRouter(command.Lister):
'availability_zones',
)
column_headers = column_headers + (
'Availability zones',
'Availability Zones',
)
data = client.routers(**args)

View File

@@ -324,12 +324,12 @@ class TestListRouter(TestRouter):
)
columns_long = columns + (
'Routes',
'External gateway info',
'Availability zones'
'External Gateway Info',
'Availability Zones'
)
columns_long_no_az = columns + (
'Routes',
'External gateway info',
'External Gateway Info',
)
data = []

View File

@@ -0,0 +1,7 @@
---
features:
- |
Updated the ``openstack router list --long`` headers as
``External gateway info`` to ``External Gateway Info``
and ``Availability zones`` to ``Availability zones``
[Bug `1643868 <https://bugs.launchpad.net/bugs/1643868>`_]