nova/nova/tests/unit/virt/vmwareapi
Radoslav Gerganov 2df83abaa0 VMware: Refactor the image transfer
The image transfer is unnecessary complicated and buggy. When
transferring streamOptimized images we have to update the progress of
the NFC lease to prevent timeouts.
This patch replaces the complex usage of blocking queues and threads with
a simple read+write loop. It has the same performance and the code is
much cleaner. The NFC lease is updated with the loopingcall utility.

Closes-Bug: #1546454
Closes-Bug: #1278690
Related-Bug: #1495429
Change-Id: I96e8e0682bcc642a2a5c4b7d2851812bef60d2ff
2016-09-08 23:56:33 +00:00
..
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fake.py Fix using filter() to meet python2,3 2016-08-29 19:00:12 +07:00
ovf.xml VMware: Enable spawn from OVA image 2015-02-09 11:43:07 +02:00
stubs.py change set_stubs to use stub_out in vmwareapi/stubs.py 2016-01-19 16:26:13 +00:00
test_configdrive.py Add support for vd2 user context to other drivers 2016-08-10 12:39:30 +10:00
test_driver_api.py driver.pre_live_migration migrate_data is always an object 2016-08-22 12:12:24 -04:00
test_ds_util.py VMware: Use datastore copy when the image is already in vSphere 2016-03-25 11:12:47 +02:00
test_ds_util_datastore_selection.py Fix order of arguments in assertEqual 2015-09-09 05:23:07 -07:00
test_imagecache.py Fix incorrectly named vmwareapi test 2016-05-26 14:54:16 +01:00
test_images.py VMware: Refactor the image transfer 2016-09-08 23:56:33 +00:00
test_network_util.py Stop using stubs.Set in vmwareapi unit tests 2016-01-25 18:14:42 +00:00
test_vif.py virt: use more realistic fake network / VIF data 2016-04-19 10:04:59 +01:00
test_vim_util.py VMware: Replace get_dynamic_properties with get_object_properties_dict 2015-09-12 10:31:48 +03:00
test_vm_util.py Merge "VMware: Enable disk.EnableUUID=True in vmx" 2016-08-12 23:09:47 +00:00
test_vmops.py Add support for vd2 user context to other drivers 2016-08-10 12:39:30 +10:00
test_volumeops.py VMware: remove deprecation warnings from oslo_versionedobjects 2016-03-07 07:46:10 +00:00