diff options
author | Chris Behrens <cbehrens@codestud.com> | 2013-01-10 19:20:23 +0000 |
---|---|---|
committer | Chris Behrens <cbehrens@codestud.com> | 2013-01-10 21:57:30 +0000 |
commit | 5731852f91c32fe09db541888d3fee9e3139fc43 (patch) | |
tree | 17bc6aab34438ff84cc23a88fe36a2a314e44e13 /nova/exception.py | |
parent | 35d183456869e3502289a45fe0d6c2c2616922c5 (diff) | |
download | nova-5731852f91c32fe09db541888d3fee9e3139fc43.tar.gz nova-5731852f91c32fe09db541888d3fee9e3139fc43.tar.xz nova-5731852f91c32fe09db541888d3fee9e3139fc43.zip |
Move update_instance_info_cache to conductor.
The network API always updates the instance_info_caches table whenever
someone asks for current network information for an instance. When
the compute manager calls network_api.get_instance_nw_info(), we'll need
to use the conductor for the cache update instead of a local DB call.
Adds an option to network_api's get_instance_nw_info() to not update the
cache and adds code into compute manager to update the cache via the
conductor.
Related to blueprint no-db-compute-manager
Change-Id: I36c3eb5b4e31ef2e26d3023bf2521d95205eb6ac
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions