diff options
| author | Russell Bryant <rbryant@redhat.com> | 2012-11-15 12:43:55 -0500 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-11-19 20:07:06 -0500 |
| commit | 2f6873deea0084998a9514f892e6b50ebef47174 (patch) | |
| tree | 5545902704e7b5648d35fd72e8719cb982257a61 /nova/openstack | |
| parent | f5119ca582e5fd5f42ab32a765352314aa5ae28b (diff) | |
| download | nova-2f6873deea0084998a9514f892e6b50ebef47174.tar.gz nova-2f6873deea0084998a9514f892e6b50ebef47174.tar.xz nova-2f6873deea0084998a9514f892e6b50ebef47174.zip | |
Move db lookup for block device mappings.
This patch moves the db blookup for block device mappings for an
instance out of the _setup_block_device_mapping() function in the
compute manager. The db lookups are now done much closer to the rpc
entry-points to the compute manager.
There are two rpc methods that eventually call down into this function:
run_instance and rebuild_instance. This bit of refactoring will make it
a bit easier to update these methods to take in the block device
mappings over rpc.
Part of blueprint no-db-messaging.
Change-Id: Id7d061e10ddc9e0d081e0ee97331631796b47729
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
