]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix Storwize/SVC storage_protocol reporting.
authorAvishay Traeger <avishay@il.ibm.com>
Tue, 5 Mar 2013 08:00:11 +0000 (10:00 +0200)
committerAvishay Traeger <avishay@il.ibm.com>
Tue, 5 Mar 2013 09:19:45 +0000 (11:19 +0200)
commitbda8dd050e75e11e269bc00fee34917e5ae4f0cf
tree8c369eca1636265321b939d5790589fe2b51707c
parentf211c150cb60615fc4352bb4145dd15cac0d3fd1
Fix Storwize/SVC storage_protocol reporting.

The Storwize/SVC driver supports both FC and iSCSI protocols
simultaneously. Therefore, 'storage_protocol' should be defined as a
list of enabled protocols, not simply 'iSCSI'. The extra_specs
key-value would then be, for example, storage_protocol='<in> iSCSI'
or storage_protocol='<in> FC'.

Fixes bug: 1142196

Change-Id: Ib99a6d4e4e61d07ddb4f173c13fe7e9f5482fa2b
cinder/tests/test_storwize_svc.py
cinder/volume/drivers/storwize_svc.py