Merge "Show 'state' and 'status' in hypervisor-list"

This commit is contained in:
Jenkins 2014-10-06 04:58:35 +00:00 committed by Gerrit Code Review
commit 41de515682
1 changed files with 1 additions and 1 deletions

View File

@ -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: