]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Ensure initialize_connection in targets pass multipath parameter
authorTomoki Sekiyama <tomoki.sekiyama@hds.com>
Fri, 13 Feb 2015 23:49:54 +0000 (18:49 -0500)
committerTomoki Sekiyama <tomoki.sekiyama@hds.com>
Wed, 25 Mar 2015 22:00:52 +0000 (18:00 -0400)
commit2d61d8b1cfe84252bce82d8d38699c1cb7457f58
tree0c8734822ac9f5e78e8b2f360c8d94f4472727bb
parent706878deaaa5acbb8a577942a5a774c58fe16332
Ensure initialize_connection in targets pass multipath parameter

When the connector dict specified to initialize_connection has
'multipath' key, its value should be passed to _get_iscsi_properties
so that it can generate multipath information if available.
This removes the duplicated codes and ensures every target passes
the multipath property.

Change-Id: Ia4a8c14c3d2544682f677622fb2dfe4291d95ffc
cinder/volume/targets/iscsi.py
cinder/volume/targets/iser.py
cinder/volume/targets/lio.py
cinder/volume/targets/scst.py
cinder/volume/targets/tgt.py