diff options
| author | Dan Smith <danms@us.ibm.com> | 2012-12-11 10:30:49 -0800 |
|---|---|---|
| committer | Dan Smith <danms@us.ibm.com> | 2012-12-12 12:54:36 -0800 |
| commit | a6051acc332333030271f2e696dae234bfccabaf (patch) | |
| tree | a282909c1025b6d577b18c8812eb9ce1b3c7434c /nova/openstack | |
| parent | 1b3a72492c1ff1d9e596831309137c88bd08706b (diff) | |
| download | nova-a6051acc332333030271f2e696dae234bfccabaf.tar.gz nova-a6051acc332333030271f2e696dae234bfccabaf.tar.xz nova-a6051acc332333030271f2e696dae234bfccabaf.zip | |
Move remaining aggregate operations to conductor
This patch moves the following aggregate operations from compute
to conductor:
aggregate_get_by_host()
aggregate_metadata_add()
aggregate_metadata_delete()
In order to do that, it also changes the signature of the corresponding
VirtAPI methods to take the aggregate object instead of just the id,
so that we don't re-introduce any db messaging behavior.
I debated about using the set_delete mechanism in the metadata_add
API to avoid adding a separate conductor API for delete, but decided
that it wasn't worth the extra round trips, no matter how much I may
wish it were.
Change-Id: Ic0117879c8ce576cdc8e6c5af018bb918a15d4c0
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
