5eda1fab85
This patch is the first step in syncing the nova host aggregate information with the placement service. The scheduler report client gets a couple new public methods -- aggregate_add_host() and aggregate_remove_host(). Both of these methods do **NOT** impact the provider tree cache that the scheduler reportclient keeps when instantiated inside the compute resource tracker. Instead, these two new reportclient methods look up a resource provider by *name* (not UUID) since that is what is supplied by the os-aggregates Compute API when adding or removing a "host" to/from a nova host aggregate. Change-Id: Ibd7aa4f8c4ea787774becece324d9051521c44b6 blueprint: placement-mirror-host-aggregates |
||
---|---|---|
.. | ||
__init__.py | ||
query.py | ||
report.py |