summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorDan Smith <danms@us.ibm.com>2013-01-04 10:12:52 -0800
committerGerrit Code Review <review@openstack.org>2013-01-05 05:18:08 +0000
commitf47c997242f591ca45945f86c00b584217a9b75b (patch)
tree9677809e5b21c6dad5006f7e08e725fbdd98fc18 /nova/exception.py
parent8be47738aedb809b9d64559aeba821e17796a6a8 (diff)
downloadnova-f47c997242f591ca45945f86c00b584217a9b75b.tar.gz
nova-f47c997242f591ca45945f86c00b584217a9b75b.tar.xz
nova-f47c997242f591ca45945f86c00b584217a9b75b.zip
Move service_get_all operations to conductor
This patch adds a single service_get_all_by() method to the conductor, which services the following database calls: - service_get_all() - service_get_all_by_topic() - service_get_all_by_host() - service_get_by_host_and_topic() - service_get_all_compute_by_host() It also makes compute/manager use conductor for this case. The special case for the service_get_all_compute_by_host() call is rather unfortunate, and I wonder if it might be okay to (later) make the generic function automatically joinedload in the compute case. Related to blueprint no-db-compute-manager Change-Id: Ib4aa10a3196a4b9aa779f57f4e5d6b136676f3bd
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions