Merge "Show 'state' and 'status' in hypervisor-list"
This commit is contained in:
commit
41de515682
@ -3169,7 +3169,7 @@ def _find_hypervisor(cs, hypervisor):
|
||||
help=_('List hypervisors matching the given <hostname>.'))
|
||||
def do_hypervisor_list(cs, args):
|
||||
"""List hypervisors."""
|
||||
columns = ['ID', 'Hypervisor hostname']
|
||||
columns = ['ID', 'Hypervisor hostname', 'State', 'Status']
|
||||
if args.matching:
|
||||
utils.print_list(cs.hypervisors.search(args.matching), columns)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user