Added full flavor detail support

This commit is contained in:
Josh Kearney 2011-02-16 11:10:13 -06:00
parent b97c9760ad
commit 560c314666

View File

@ -286,7 +286,15 @@ class OpenStackShell(object):
def do_flavor_list(self, args):
"""Print a list of available 'flavors' (sizes of servers)."""
print_list(self.cs.flavors.list(), ['ID', 'Name', 'RAM', 'Disk'])
print_list(self.cs.flavors.list(), [
'ID',
'Name',
'Memory_MB',
'Swap',
'Local_GB',
'VCPUs',
'RXTX_Quota',
'RXTX_Cap'])
def do_image_list(self, args):
"""Print a list of available images to boot from."""