diff options
author | Russell Bryant <rbryant@redhat.com> | 2013-01-24 19:12:28 -0500 |
---|---|---|
committer | Russell Bryant <rbryant@redhat.com> | 2013-01-31 14:32:21 -0500 |
commit | 21c6b0d7f71e38b43771d10608d1e5d8c6bdbdc7 (patch) | |
tree | 23af9747b8f3e462e8c33b1528608c33a11d721e /nova/exception.py | |
parent | 77dbed11a6bf95d56e563200d175fe3ada553a6f (diff) | |
download | nova-21c6b0d7f71e38b43771d10608d1e5d8c6bdbdc7.tar.gz nova-21c6b0d7f71e38b43771d10608d1e5d8c6bdbdc7.tar.xz nova-21c6b0d7f71e38b43771d10608d1e5d8c6bdbdc7.zip |
Use conductor for instance_info_cache_update.
This patch updates the network API to be able to use the conductor API
to be able to update the instance info cache.
A previous commit, 5731852f91c32fe09db541888d3fee9e3139fc43, updated
the compute manager to use this method from conductor when getting
network info. This patch builds on that by moving the conductor usage
down to the network API and using it in more places. Specifically, the
network API calls used by the compute manager that use the refresh_cache
decorator were updated.
The refresh_cache decorator now checks for a conductor_api kwarg and
will use the conductor to update the cache if it's not there. Otherwise
it goes back to default behavior of using the db directly.
Change-Id: Ib5e17f5f8fb4ee14e3ed305057d18d40f2e905e5
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions