summaryrefslogtreecommitdiffstats
path: root/nova/context.py
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2013-01-30 11:17:33 -0800
committerVishvananda Ishaya <vishvananda@gmail.com>2013-02-07 14:56:46 -0800
commit12fa59dbb2a96d8f07d6247a08709222b359d87a (patch)
treeeec19de385903347b54e91a589c9a81f86a79c70 /nova/context.py
parent4c8fc34d736d6575da86d5c32d0d9c2f25e16c8b (diff)
downloadnova-12fa59dbb2a96d8f07d6247a08709222b359d87a.tar.gz
nova-12fa59dbb2a96d8f07d6247a08709222b359d87a.tar.xz
nova-12fa59dbb2a96d8f07d6247a08709222b359d87a.zip
Move floating ip db access to calling side.
Most of the allocation for floating ips can be done on the calling side, including finding the proper host to send the message to. This saves us from making an rpc call for allocate/deallocate and makes sure that we only need 1 call for associate/disassociate by finding the proper host to send the message to immediately. Getting exceptions to work properly required pulling in the helper that was used by the conductor to regenerate exceptions that are wrapped for rpc. Since this is now a shared class, it was moved to utils. Also a few config options were moved to avoid circular imports. Part of blueprint optimize-nova-network Change-Id: I6ec65b1f3e8d00cab778b10eec620760886567e0
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions