]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add I/T mapping check for IBM FlashSystem
authorEdwin Wang <edwin@oohoo.org>
Mon, 20 Jul 2015 12:25:25 +0000 (20:25 +0800)
committerEdwin Wang <edwin.wang@cn.ibm.com>
Fri, 24 Jul 2015 02:46:46 +0000 (10:46 +0800)
commit18578ded46a307a70b030c0dc3f4955273a584a1
tree5828fd4cd59dc9b49b5f495b58d996905fee02ad
parent178c5bfe9d6edfce4f8a6684d5a71f5716c347a3
Add I/T mapping check for IBM FlashSystem

No initiator_target_map within properties is needed if no more I/T
connection. Otherwise the FCZone manager will remove the zoning
between I/T. This patch is to add host check in terminate_connection.
If no I/T exists, host will be removed in _unmap_vdisk_from_host.

Closes-Bug: #1469581
Change-Id: Ide5d2f5cb3557bd167f065fc168722c143f8f267
cinder/tests/unit/test_ibm_flashsystem.py
cinder/volume/drivers/ibm/flashsystem_common.py
cinder/volume/drivers/ibm/flashsystem_fc.py
cinder/volume/drivers/ibm/flashsystem_iscsi.py