]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Move create_, remove_ and ensure_export from drivers
authorAnn Kamyshnikova <akamyshnikova@mirantis.com>
Tue, 27 Aug 2013 12:17:25 +0000 (16:17 +0400)
committerAnn Kamyshnikova <akamyshnikova@mirantis.com>
Tue, 11 Feb 2014 10:43:48 +0000 (14:43 +0400)
commitbdf6e2b5f853b0608dfb81b0d0489b469ead5fd2
tree21e4e3de0aa39f110f585eaac322522a5a2dfa1d
parentbaedbeb6294e3f5d426c658b6abdea070e5f7f93
Move create_, remove_ and ensure_export from drivers

create_export, remove_export, ensure_export are almost the same in
LVM and BlockDevice drivers. So they should be moved to
a common cinder.volume.iscsi module.

Change-Id: Id7aa0e10d6b346356312416aee179a1fe8bacef1
cinder/tests/test_block_device.py
cinder/tests/test_iscsi.py
cinder/volume/driver.py
cinder/volume/drivers/block_device.py
cinder/volume/drivers/lvm.py
cinder/volume/iscsi.py [new file with mode: 0644]