summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorDan Smith <danms@us.ibm.com>2012-12-12 13:14:56 -0800
committerDan Smith <danms@us.ibm.com>2012-12-15 08:19:57 -0800
commit2f8ffcc46db933ba27e14835c4448320bee5daa0 (patch)
treeef9cbad5a37abddb5ad406434b51a9a8ca08a505 /nova/compute
parent20f0c601fe5bd59c2a2f07a8be428ddca995afc5 (diff)
downloadnova-2f8ffcc46db933ba27e14835c4448320bee5daa0.tar.gz
nova-2f8ffcc46db933ba27e14835c4448320bee5daa0.tar.xz
nova-2f8ffcc46db933ba27e14835c4448320bee5daa0.zip
Move agent_build_get_by_triple to conductor
This patch moves the final method in Compute's VirtAPI to using the conductor. Related to blueprint no-db-compute-manager Change-Id: Icaf8990e117c8de7198de2f26f0d77e56c129430
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/manager.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py
index 66e605477..6efc83fb9 100644
--- a/nova/compute/manager.py
+++ b/nova/compute/manager.py
@@ -292,10 +292,8 @@ class ComputeVirtAPI(virtapi.VirtAPI):
return self._compute.conductor_api.provider_fw_rule_get_all(context)
def agent_build_get_by_triple(self, context, hypervisor, os, architecture):
- return self._compute.db.agent_build_get_by_triple(context,
- hypervisor,
- os,
- architecture)
+ return self._compute.conductor_api.agent_build_get_by_triple(
+ context, hypervisor, os, architecture)
class ComputeManager(manager.SchedulerDependentManager):