diff options
| author | Dan Smith <danms@us.ibm.com> | 2012-12-10 12:55:27 -0800 |
|---|---|---|
| committer | Dan Smith <danms@us.ibm.com> | 2012-12-10 16:14:23 -0800 |
| commit | 3f6a2d1621ce4bdca4fb95d561e1dd703c0737bd (patch) | |
| tree | 422382376db216e875e6543705fc1a2028380aab /nova/compute | |
| parent | 07848e761a13afaf44c58d99ceb6a133e6999470 (diff) | |
Make nova/virt use aggregate['metadetails']
This patch makes nova/virt use the metadata attached to the
aggregate object instead of querying it separately. This allows
us to remove a method from VirtAPI and avoid adding another one to
conductor to support it.
Change-Id: I4b9ff59147d30ff6f71fa66e838f060b8853dc95
Diffstat (limited to 'nova/compute')
| -rw-r--r-- | nova/compute/manager.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py index ce2642b13..3b315ef81 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -268,9 +268,6 @@ class ComputeVirtAPI(virtapi.VirtAPI): def aggregate_get_by_host(self, context, host, key=None): return self._compute.db.aggregate_get_by_host(context, host, key=key) - def aggregate_metadata_get(self, context, aggregate_id): - return self._compute.db.aggregate_metadata_get(context, aggregate_id) - def aggregate_metadata_add(self, context, aggregate_id, metadata, set_delete=False): return self._compute.db.aggregate_metadata_add(context, aggregate_id, |
