]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Switch SVC driver to use lsportfc to determine FC target WWPNS
authorGerald McBrearty <gfm@us.ibm.com>
Thu, 3 Sep 2015 03:08:54 +0000 (22:08 -0500)
committerGerald McBrearty <gfm@us.ibm.com>
Thu, 3 Sep 2015 19:05:13 +0000 (14:05 -0500)
commitfff85444da2a87c6ac2be17459c35a08f41f1c25
tree168850fb2319e423da7be4790d5d32720c12c2c5
parent540bba7f8e049e0eea304ec21ed2da2d03319125
Switch SVC driver to use lsportfc to determine FC target WWPNS

Switched the startup code within SVC driver to use the
SVC lsportfc command rather than the lsnode command to determine the
target WWPNs for an SVC node, and updated SVC testcases.
The SVC lsportfc command returns all of the FC ports so that
all of the FC ports can be zoned and thus utilized by
the VM that a volume is attached to.
Where the lsnode command is documented to only report the
first 4 FC ports.

Closes-Bug: 1490041

Change-Id: I6acac0080a96a5b3dfbc6fb8b54a456206b21688
cinder/tests/unit/test_storwize_svc.py
cinder/volume/drivers/ibm/storwize_svc/helpers.py
cinder/volume/drivers/ibm/storwize_svc/ssh.py