]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Adds storwize_svc_npiv_compatibility_mode flag to Storwize/SVC driver
authorGeraint North <geraint.north@uk.ibm.com>
Mon, 21 Jul 2014 21:23:48 +0000 (22:23 +0100)
committerGeraint North <geraint.north@uk.ibm.com>
Tue, 22 Jul 2014 12:21:10 +0000 (13:21 +0100)
commit0de6b37930cc5b5f8dd842ac05b730df67121d8e
tree5c355d174afae277b22fa7e1c5dff4692f0a1c01
parent7975b465d05dba38e8c4f9753f15cea6ed057a86
Adds storwize_svc_npiv_compatibility_mode flag to Storwize/SVC driver

This configuration option allows the driver to function in an
environment where an attach operation occurs before the virtual FC
ports are logged into the fabric.

Today's behaviour (which is maintained as default behaviour) is to
only build the initiator_target_map for initiator ports that are
logged into the fabric, and error if there are no such ports.

If this new flag is set to True, then if no initiator ports are
found on the fabric, ALL initiator ports are placed into the
initiator_target_map, rather than none, which is the case today.

Closes-Bug: 1346622
Change-Id: Ie722612bc5a9af2816348392c0c39da003b99028
cinder/tests/test_storwize_svc.py
cinder/volume/drivers/ibm/storwize_svc/__init__.py
etc/cinder/cinder.conf.sample