]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add support for Havana missing features in Windows driver
authorPedro Navarro Perez <pednape@gmail.com>
Mon, 26 Aug 2013 11:09:41 +0000 (13:09 +0200)
committerPedro Navarro Perez <pednape@gmail.com>
Sun, 1 Sep 2013 06:20:24 +0000 (08:20 +0200)
commit106bf560e291b9b8a0690680170db575086e04b3
tree3c755f464f964206be2cc056b67ec71df6b27af4
parentb67caf325682dd4bc1d95f83dbe57f116634eec9
Add support for Havana missing features in Windows driver

The following features were added:

-copy_volume_to_image (Havana)
-copy_image_to_volume (Havana)
-get_volume_stats (Havana)
-extend_volume (Icehouse)

The test mocking based on binary pickled files were replaced by mox.

Change-Id: I92c681280d6f7b85bcba7a5e3513f2bdb6c13f1d
Implements: blueprint windows-storage-driver-extended
33 files changed:
cinder/image/image_utils.py
cinder/tests/test_drivers_compatibility.py
cinder/tests/test_windows.py
cinder/tests/windows/basetestcase.py [deleted file]
cinder/tests/windows/db_fakes.py
cinder/tests/windows/mockproxy.py [deleted file]
cinder/tests/windows/stubs/README.rst [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_check_for_setup_errors_wmi.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_create_export_os.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_create_export_wmi.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_create_snapshot_os.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_create_snapshot_wmi.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_create_volume_from_snapshot_os.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_create_volume_from_snapshot_wmi.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_create_volume_os.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_create_volume_wmi.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_delete_snapshot_os.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_delete_snapshot_wmi.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_delete_volume_os.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_delete_volume_wmi.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_ensure_export_os.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_ensure_export_wmi.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_initialize_connection_os.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_initialize_connection_wmi.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_remove_export_os.p.gz [deleted file]
cinder/tests/windows/stubs/test_windows.TestWindowsDriver.test_remove_export_wmi.p.gz [deleted file]
cinder/tests/windows/windowsutils.py [deleted file]
cinder/volume/drivers/windows.py [deleted file]
cinder/volume/drivers/windows/__init__.py [new file with mode: 0644]
cinder/volume/drivers/windows/windows.py [new file with mode: 0644]
cinder/volume/drivers/windows/windows_utils.py [new file with mode: 0644]
cinder/volume/manager.py
etc/cinder/cinder.conf.sample