Merge "Include hosts in aggregate list --long"
This commit is contained in:
commit
b79c0b6cfb
@ -193,12 +193,14 @@ class ListAggregate(command.Lister):
|
|||||||
"Name",
|
"Name",
|
||||||
"Availability Zone",
|
"Availability Zone",
|
||||||
"Properties",
|
"Properties",
|
||||||
|
"Hosts",
|
||||||
)
|
)
|
||||||
columns = (
|
columns = (
|
||||||
"ID",
|
"ID",
|
||||||
"Name",
|
"Name",
|
||||||
"Availability Zone",
|
"Availability Zone",
|
||||||
"Metadata",
|
"Metadata",
|
||||||
|
"Hosts",
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
column_headers = columns = (
|
column_headers = columns = (
|
||||||
|
@ -234,6 +234,7 @@ class TestAggregateList(TestAggregate):
|
|||||||
"Name",
|
"Name",
|
||||||
"Availability Zone",
|
"Availability Zone",
|
||||||
"Properties",
|
"Properties",
|
||||||
|
"Hosts",
|
||||||
)
|
)
|
||||||
|
|
||||||
list_data = ((
|
list_data = ((
|
||||||
@ -251,6 +252,7 @@ class TestAggregateList(TestAggregate):
|
|||||||
for key, value in TestAggregate.fake_ag.metadata.items()
|
for key, value in TestAggregate.fake_ag.metadata.items()
|
||||||
if key != 'availability_zone'
|
if key != 'availability_zone'
|
||||||
}),
|
}),
|
||||||
|
format_columns.ListColumn(TestAggregate.fake_ag.hosts),
|
||||||
), )
|
), )
|
||||||
|
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user