nova/nova/tests/unit/virt/libvirt
Chris Dent def4b17934 Use nova.db.api directly
nova/db/__init__.py was importing * from nova.db.api. This meant that
any time any code anywhere within the nova.db package was imported
then nova.db.api was too, leading to a cascade of imports that may
not have been desired. Also, in general, code in __init__.py is a pain.

Therefore, this change adjusts code that so that either:

* nova.db.api is used directly
* nova.db.api is imported as 'db'

In either case, the functionality remains the same.

The primary goal of this change was to make it possible to import the
model files without having to import the db api. Moving the model files
to a different place in the directory hierarchy was considered, but
given that "code in __init__.py is a pain" this mode was chosen.

This looks like a very large change, but it is essentially adjusting
package names, many in mocks.

Change-Id: Ic1fd7c87ceda05eeb96735da2a415ef37060bb1a
2018-07-10 14:56:27 +00:00
..
storage Merge "Revert "Re-using the code of os brick cinder"" 2018-06-19 02:08:35 +00:00
volume Merge "Add enhanced KVM storage QoS quotas" 2018-06-14 15:47:45 +00:00
__init__.py
fake_imagebackend.py libvirt: update logic to configure device for scsi controller 2017-07-03 03:23:53 -04:00
fake_libvirt_utils.py Remove max_size parameter from fake_libvirt_utils.fetch_*image methods 2018-06-15 08:34:12 -04:00
fake_os_brick_connector.py Switch to using os-brick 2015-07-27 10:47:22 -07:00
fakelibvirt.py sync_guest_time: use the proper errno 2018-06-07 05:36:11 +08:00
test_blockinfo.py Modify the test case of get_disk_mapping_rescue_with_config 2018-01-12 14:08:51 +08:00
test_compat.py Workaround for race condition in libvirt 2015-03-14 20:17:41 -03:00
test_config.py conf: libvirt: Make `/dev/urandom` the default for 'rng_dev_path' 2018-06-26 17:55:11 +02:00
test_designer.py add mtu to libvirt xml for ethernet and bridge types 2018-06-06 09:39:40 -04:00
test_driver.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_fakelibvirt.py conf: Deprecate 'keymap' options 2018-03-07 10:18:23 +00:00
test_firewall.py Don't modify objects directly 2018-01-30 16:35:02 +00:00
test_guest.py Merge "libvirt: add method to configure migration speed" 2017-10-19 03:36:53 +00:00
test_host.py Fix nits from change I676291ec0faa1dea0bd5050ef8e3426d171de4c6 2018-06-21 11:13:44 -05:00
test_imagebackend.py Move image conversion to privsep. 2018-05-15 10:09:01 -04:00
test_imagecache.py Move the dac_admin privsep code to a new location. 2017-09-18 23:14:11 +10:00
test_migration.py Implement discard for file backed memory 2018-06-21 11:45:31 -05:00
test_utils.py Plumb trusted_certs through the compute service 2018-06-12 16:58:25 -04:00
test_vif.py Merge "add mtu to libvirt xml for ethernet and bridge types" 2018-06-07 14:46:59 +00:00