Removed the extra code added to support filtering instances by instance uuids.

Instead, added 'uuid' to the list of exact_filter_match names.
Updated the caller to add 'uuid: uuid_list' to the filters dictionary, instead of passing it in as another argument.
Updated the ID to UUID mapping code to return a dictionary, which allows the caller to be more efficient... It removes an extra loop there.
A couple of typo fixes.
This commit is contained in:
Chris Behrens
2011-09-19 14:53:17 -07:00
parent ad40619160
commit 78e068ca2d

View File

@@ -1033,8 +1033,8 @@ class ComputeTestCase(test.TestCase):
'get_instance_uuids_by_ip_filter',
network_manager.get_instance_uuids_by_ip_filter)
self.stubs.Set(network_manager.db,
'instance_get_uuids_by_ids',
db.instance_get_uuids_by_ids)
'instance_get_id_to_uuid_mapping',
db.instance_get_id_to_uuid_mapping)
instance_id1 = self._create_instance({'display_name': 'woot',
'id': 0})