]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove access_mode 'rw' setting in drivers
authorNate Potter <nathaniel.potter@intel.com>
Fri, 8 Jan 2016 20:52:02 +0000 (20:52 +0000)
committerNate Potter <nathaniel.potter@intel.com>
Fri, 22 Jan 2016 16:47:02 +0000 (16:47 +0000)
commitd24bc359121ef9fa7a1d279ef3183e0831d49fb6
treeaac1f31e6f11ad6d09fe7ec769b192ef01f92d6f
parentbf31b0c25351d9bdba870c91443867221345fb22
Remove access_mode 'rw' setting in drivers

The volume manager sets the initiator access mode in
initialize_connection, so drivers should not hardcode
this setting to 'rw'. This patch removes code from drivers
that override the access_mode.

Change-Id: I634cb914635ee90114a511f942c4d7be51d7a36d
Closes-bug: #1526152
21 files changed:
cinder/tests/unit/test_dellscapi.py
cinder/tests/unit/test_infortrend_cli.py
cinder/tests/unit/test_pure.py
cinder/tests/unit/test_tegile.py
cinder/tests/unit/test_xio.py
cinder/volume/driver.py
cinder/volume/drivers/dell/dell_storagecenter_api.py
cinder/volume/drivers/dell/dell_storagecenter_iscsi.py
cinder/volume/drivers/emc/emc_cli_fc.py
cinder/volume/drivers/emc/emc_cli_iscsi.py
cinder/volume/drivers/emc/xtremio.py
cinder/volume/drivers/infortrend/eonstor_ds_cli/common_cli.py
cinder/volume/drivers/infortrend/infortrend_fc_cli.py
cinder/volume/drivers/infortrend/infortrend_iscsi_cli.py
cinder/volume/drivers/prophetstor/dpl_iscsi.py
cinder/volume/drivers/pure.py
cinder/volume/drivers/tegile.py
cinder/volume/drivers/violin/v7000_fcp.py
cinder/volume/drivers/xio.py
cinder/volume/manager.py
cinder/volume/targets/iscsi.py