aliased flavor to instance_types in nova-manage. will probably need to make flavor a full fledged class as users will want to list flavors by flavor name
This commit is contained in:
@@ -609,7 +609,7 @@ class VolumeCommands(object):
|
|||||||
"mountpoint": volume['mountpoint']}})
|
"mountpoint": volume['mountpoint']}})
|
||||||
|
|
||||||
|
|
||||||
class InstanceTypesCommands(object):
|
class InstanceTypeCommands(object):
|
||||||
"""Class for managing instance types / flavors."""
|
"""Class for managing instance types / flavors."""
|
||||||
|
|
||||||
def create(self, name, memory, vcpus, local_gb, flavorid):
|
def create(self, name, memory, vcpus, local_gb, flavorid):
|
||||||
@@ -674,7 +674,8 @@ CATEGORIES = [
|
|||||||
('log', LogCommands),
|
('log', LogCommands),
|
||||||
('db', DbCommands),
|
('db', DbCommands),
|
||||||
('volume', VolumeCommands),
|
('volume', VolumeCommands),
|
||||||
('instance_types', InstanceTypesCommands)]
|
('instance_type', InstanceTypeCommands),
|
||||||
|
('flavor', InstanceTypeCommands)]
|
||||||
|
|
||||||
|
|
||||||
def lazy_match(name, key_value_tuples):
|
def lazy_match(name, key_value_tuples):
|
||||||
|
|||||||
Reference in New Issue
Block a user