]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Storwize driver cleanup
authorAvishay Traeger <avishay@il.ibm.com>
Wed, 22 Jan 2014 12:27:39 +0000 (14:27 +0200)
committerAvishay Traeger <avishay@il.ibm.com>
Thu, 23 Jan 2014 11:49:19 +0000 (13:49 +0200)
commitc7859db129db53f0e4dc743163179163b5ed4f03
tree010aeb29fcb077962184f6fd4bc0dd18e3a55dde
parentabb444f2d349b8f8c405a8636046fe4e910928aa
Storwize driver cleanup

1. Moved Storwize driver into 'ibm' directory and refactored into
   separate files to improve readability and debug-ability. Other IBM
   drivers will be moved into this directory in a separate patch.
2. Errors coming from storage now raise VolumeBackendAPIException,
   and those coming from the driver raise VolumeDriverException.
3. Fixed many pylint errors.
4. Removed any usage of mox from unit tests in favor of mock.

DocImpact

Change-Id: I1696a97279efe834a96b3f3843bc65f0ea6da9cc
cinder/tests/test_drivers_compatibility.py
cinder/tests/test_storwize_svc.py
cinder/volume/drivers/ibm/__init__.py [new file with mode: 0644]
cinder/volume/drivers/ibm/storwize_svc/__init__.py [new file with mode: 0644]
cinder/volume/drivers/ibm/storwize_svc/helpers.py [new file with mode: 0644]
cinder/volume/drivers/ibm/storwize_svc/ssh.py [new file with mode: 0644]
cinder/volume/drivers/storwize_svc.py [deleted file]
cinder/volume/manager.py
etc/cinder/cinder.conf.sample