]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
3PAR Only remove FC Zone on last volume detach
authorWalter A. Boring IV <walter.boring@hp.com>
Fri, 27 Jun 2014 23:00:01 +0000 (16:00 -0700)
committerWalter A. Boring IV <walter.boring@hp.com>
Mon, 30 Jun 2014 20:49:45 +0000 (13:49 -0700)
commit5cf52914bd78fa553f853ad6ea2fba8a87d8075c
tree1b7dfaf2da30f141845cbed284ac24de23329c92
parent350334dec0cc1da2c3f9b5bd2b688e5137f8a3ab
3PAR Only remove FC Zone on last volume detach

This patch checks to make sure that we don't
include the initiator_target_map in the return
of terminate_connection if there are volumes
still attached for a particular host.  The
FibreChannel ZoneManager doesn't remove zones
if there isn't an initiator_target_map in the
return of terminate_connection.

Change-Id: I98db5adb6da38454933a6e4b78085193f1d37680
Partial-Bug: #1308318
cinder/tests/test_hp3par.py
cinder/volume/drivers/san/hp/hp_3par_fc.py