]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Brocade driver add_zone optimization
authorWilson Liu <liuxinguo@huawei.com>
Tue, 13 Oct 2015 07:19:18 +0000 (15:19 +0800)
committerWilson Liu <liuxinguo@huawei.com>
Tue, 27 Oct 2015 01:15:17 +0000 (09:15 +0800)
commit471bd7924a49d8de840ba378082a5b4e06cf2d34
tree235bf6fb25a5e38268b2e13b7a2ca02aff61a538
parent0589eaaf72dac2594a768ac4502526bab077d4d3
Brocade driver add_zone optimization

Check whether the new zone we want to add/create
has the same zone name and members with the existing
zone on the switch. If they are same, no need to
delete and re-add it. This is significant if we
create volume from image or upload volume to image
in batch.

Implements: blueprint brocade-add-zone-optimization
Change-Id: I257ec25fed9fab4b3a85a0f200c2ee426c8e6f8c
cinder/tests/unit/zonemanager/test_brcd_fc_zone_client_cli.py
cinder/zonemanager/drivers/brocade/brcd_fc_zone_client_cli.py