Rename functions in nova.compute.flavors from instance_type

Second step in removing references to instance_types. Remove all
references to instance_type in nova.compute.flavors.
Also update compute devref to reflect changed name.
Partially implements bp flavor-instance-type-dedup

renamed:  nova/tests/test_instance_types.py -> test_flavors.py

Change-Id: I7413bf832c61d04ab90ec8b1370d3f01372c4172
This commit is contained in:
Joe Gordon
2013-05-17 22:01:03 -07:00
parent 685228d96b
commit b7fe4e206b
64 changed files with 470 additions and 468 deletions

View File

@@ -284,7 +284,7 @@ def info_from_instance(context, instance_ref, network_info,
image_ref_url = glance.generate_image_url(instance_ref['image_ref'])
instance_type = flavors.extract_instance_type(instance_ref)
instance_type = flavors.extract_flavor(instance_ref)
instance_type_name = instance_type.get('name', '')
if system_metadata is None: