]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Separate FlashSystem FC and iSCSI common code
authorxiaolei hu <xlhu@cn.ibm.com>
Thu, 25 Jun 2015 02:22:50 +0000 (10:22 +0800)
committerEdwin Wang <edwin.wang@cn.ibm.com>
Mon, 6 Jul 2015 01:05:36 +0000 (01:05 +0000)
commit73a5cb1f7584a0ad7dbf40889d06b1e8fd7c61d2
treee1827abd6422910b8f72e9e27ac41cb18e24c9ae
parent2cd5904eb809c117e849d4e5c1794ac8079ee14c
Separate FlashSystem FC and iSCSI common code

The patch is mainly to split original FC driver code into common
code and FC driver for IBM FlashSystem. iSCSI driver merged in L-1
has been inherited from original FC driver for common functions
already.

In this patch,
* Separate FC driver into new driver and common code.
* Modify iSCSI driver to inherite the common code.
* Common function _get_node_data in iSCSI driver is moved into
common code.
* Add locks in initialize_connection and terminate_connection
for iSCSI driver.
* Remove flashsystem_multipath_enabled to use Cinder iSCSI
multipath support.

Implements: blueprint ibm-flashsystem-split-fc
Change-Id: I166a14e3eef370a22f4c0a675d451a3a4a6989f1
cinder/tests/unit/test_ibm_flashsystem.py
cinder/volume/drivers/ibm/flashsystem_common.py [moved from cinder/volume/drivers/ibm/flashsystem.py with 73% similarity]
cinder/volume/drivers/ibm/flashsystem_fc.py [new file with mode: 0644]
cinder/volume/drivers/ibm/flashsystem_iscsi.py