15aee9b914
This patch is one in a series of patches with the aim to bring the storwize_svc driver in line with other san based Cinder drivers. Currently all the iSCSI and FC code are all together in a single file. This patch goes into the __init__.py and splits it up into storwize_svc_iscsi.py, storwize_svc_fc.py, and storwize_svc_common.py. This new structure is consistent with other san based drivers. In addition, tests were also updated to reflect the changes listed above. Since the driver has been split into two, we need to update how to enable each new driver. The user now needs to set different values for volume_driver, as shown below. FC:volume_driver=cinder.volume.drivers.ibm.storwize_svc.storwize_svc_fc.StorwizeSVCFCDriver iSCSI:volume_driver=cinder.volume.drivers.ibm.storwize_svc.storwize_svc_iscsi.StorwizeSVCISCSIDriver Co-Authored By: Slade Baumann <baumann@us.ibm.com> UpgradeImpact DocImpact Partially implements: blueprint refactor-storwize-driver-for-mitaka Change-Id: I18ddde5c9280a175a4ca296e62ac839389e16c3b
6 lines
561 B
YAML
6 lines
561 B
YAML
---
|
|
upgrade:
|
|
- Split up __init__.py into storwize_svc_iscsi.py,storwize_svc_fc.py, and storwize_svc_common.py.
|
|
- Moved iSCSI/FC config options to respective files. Moved all other config options to storwize_svc_common.py. Removed storwize_svc_connection_protocol config option.
|
|
- Users will now need to set different values for volume_driver in cinder.conf. FC:volume_driver = cinder.volume.drivers.ibm.storwize_svc.storwize_svc_fc.StorwizeSVCFCDriver iSCSI:volume_driver = cinder.volume.drivers.ibm.storwize_svc.storwize_svc_iscsi.StorwizeSVCISCSIDriver
|