Add more information show in v2

In v2, it's only show Id and Name. When use --verbose, although added
owner and status, it's still lack of Disk-format,Container-format and
Size.

Change-Id: I26b4b7bd3a3f6dbf82ca73c32dd94c56e8e173a1
Closes-bug:#1486329
This commit is contained in:
wangxiyuan 2015-08-19 11:34:57 +08:00
parent 8d118ccedc
commit 14be6072e5
1 changed files with 2 additions and 1 deletions

View File

@ -174,7 +174,8 @@ def do_image_list(gc, args):
columns = ['ID', 'Name']
if args.verbose:
columns += ['owner', 'status']
columns += ['Disk_format', 'Container_format', 'Size', 'Status',
'Owner']
images = gc.images.list(**kwargs)
utils.print_list(images, columns)