Merge "Display flavor-ephemeral in trove flavor-list command"

This commit is contained in:
Jenkins
2016-09-23 06:47:56 +00:00
committed by Gerrit Code Review
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
---
other:
- Add ephemeral column in flavor-list Bug 1617980.

View File

@@ -220,7 +220,8 @@ def do_flavor_list(cs, args):
f.id = f.str_id
_flavors.append(f)
utils.print_list(_flavors, ['id', 'name', 'ram', 'vcpus', 'disk'],
utils.print_list(_flavors, ['id', 'name', 'ram', 'vcpus', 'disk',
'ephemeral'],
labels={'ram': 'RAM', 'vcpus': 'vCPUs', 'disk': 'Disk'})