]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Rework Storwize/SVC protocol to fix add_vdisk_copy
authorRyan McNair <rdmcnair@us.ibm.com>
Tue, 19 Jan 2016 16:39:56 +0000 (16:39 +0000)
committerRyan McNair <rdmcnair@us.ibm.com>
Fri, 22 Jan 2016 02:45:47 +0000 (02:45 +0000)
commitdde6ad78968a1df6e45a630168d274bab34dcaa3
tree5f0e56df4eed6d87d48062bb6da0488851aa3bd3
parentadf35d0ee1b3c309a1722648de781b9e024899ff
Rework Storwize/SVC protocol to fix add_vdisk_copy

Reworking some of the Storwize helper logic so that "protocol"
no longer needs to be passed around to helper functions. The protocol
being used is validated against the storage device's supported protocols
just once now, during check_for_setup_error. Also, now that the drivers
have been split, we don't need to look at the QoS' protocol key because
this is handled by the scheduler to see which drivers support given
protocols.

Change-Id: Ib331fd32b00a28115c44e7c3e4e3e998c5d9b80b
Closes-Bug: #1535921
cinder/tests/unit/test_storwize_svc.py
cinder/volume/drivers/ibm/storwize_svc/storwize_svc_common.py
cinder/volume/drivers/ibm/storwize_svc/storwize_svc_fc.py
cinder/volume/drivers/ibm/storwize_svc/storwize_svc_iscsi.py