diff options
author | Devananda van der Veen <devananda.vdv@gmail.com> | 2013-02-07 16:42:29 -0800 |
---|---|---|
committer | Devananda van der Veen <devananda.vdv@gmail.com> | 2013-02-07 22:20:39 -0800 |
commit | 1eb36726e2c7107aa5f99fe1b7b528a82e4a28b9 (patch) | |
tree | c9d4f24e6f72bc2bea81639da3a2e3904d0f0350 /nova/exception.py | |
parent | 64106c282f961d65ca469524016635c96596b77f (diff) | |
download | nova-1eb36726e2c7107aa5f99fe1b7b528a82e4a28b9.tar.gz nova-1eb36726e2c7107aa5f99fe1b7b528a82e4a28b9.tar.xz nova-1eb36726e2c7107aa5f99fe1b7b528a82e4a28b9.zip |
Remove nova.db call from baremetal PXE driver
Baremetal PXE driver was fetching instance_type from the nova db.
Now that no-db-compute is done, that's not possible. Also, there's a
more efficient way -- just call extract_instance_type(instance)!
Baremetal unit tests should check for instance_types with swap = 0 and
with swap > 0. This required changing test/utils to include a
real copy of instance_types in instance['system_metadata'].
Change-Id: I2a91e5c026782946f6b01e4189ec85d30ba87583
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions