From a9aa1a402b64751614fbc98e14973d867a1bfca7 Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Thu, 30 May 2013 09:34:05 -0700 Subject: Remove unused methods from VirtAPI The instance_get_all_by_host() and instance_get_by_uuid() methods are no longer needed by any virt drivers, so remove them from the virtapi.. Related to blueprint unified-object-model Change-Id: Ib51bf3b3e068d69e7a75f7312f03db6c85e7cf49 --- nova/compute/manager.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'nova/compute') diff --git a/nova/compute/manager.py b/nova/compute/manager.py index 6d4835e0b..5da58c1aa 100755 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -304,14 +304,6 @@ class ComputeVirtAPI(virtapi.VirtAPI): instance_uuid, **updates) - def instance_get_by_uuid(self, context, instance_uuid): - return self._compute.conductor_api.instance_get_by_uuid( - context, instance_uuid) - - def instance_get_all_by_host(self, context, host): - return self._compute.conductor_api.instance_get_all_by_host( - context, host) - def aggregate_get_by_host(self, context, host, key=None): return self._compute.conductor_api.aggregate_get_by_host(context, host, key=key) -- cgit