]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Huawei: Balanced FC port selection when zoning
authorWilson Liu <liuxinguo@huawei.com>
Thu, 24 Dec 2015 04:57:56 +0000 (12:57 +0800)
committerWilson Liu <liuxinguo@huawei.com>
Fri, 29 Jan 2016 08:25:50 +0000 (16:25 +0800)
commit342af569294d896fdb97be587684f691d93148ea
tree4f525f6d2b1877427c0e0b40c33167ae039f28a7
parent9693e044096fc3fcac2620d80666a267a3f9564e
Huawei: Balanced FC port selection when zoning

Currently we always select the first two FC ports
from every controller when zoning, the rest FC ports
of the controller will never be selected. This patch
will calculate each port's load and select the first
two smallest load ports.

Implements: blueprint huawei-balanced-fc-port-selection
Change-Id: Ie9045e0d12b7cdb920b3886545772b60727cc64e
cinder/tests/unit/test_huawei_drivers.py
cinder/volume/drivers/huawei/constants.py
cinder/volume/drivers/huawei/fc_zone_helper.py
cinder/volume/drivers/huawei/huawei_driver.py
cinder/volume/drivers/huawei/rest_client.py
releasenotes/notes/balanced-fc-port-selection-fbf6b841fea99156.yaml [new file with mode: 0644]