add role parameter in host-list command line
Change-Id: Ib61a9bab7ce4c2a488c2fa6bebf4d318102256de
This commit is contained in:
parent
4f1b389a81
commit
faa12c50d9
@ -345,7 +345,7 @@ def do_host_list(gc, args):
|
||||
|
||||
columns = ['ID', 'Name', 'Description', 'Resource_type',
|
||||
'Status', 'Os_progress', 'Os_status', 'Discover_state',
|
||||
'Tecs_version_id', 'Messages']
|
||||
'Tecs_version_id', 'Messages', 'role']
|
||||
# if filters.has_key('cluster_id'):
|
||||
if 'cluster_id' in filters:
|
||||
role_columns = ['Role_progress', 'Role_status', 'Role_messages']
|
||||
|
Loading…
Reference in New Issue
Block a user