]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Huawei driver add check before use a QoS
authorWilson Liu <liuxinguo@huawei.com>
Wed, 23 Sep 2015 07:04:33 +0000 (15:04 +0800)
committerWilson Liu <liuxinguo@huawei.com>
Fri, 25 Sep 2015 03:02:48 +0000 (11:02 +0800)
commit32099d547a2bb9c5f21de4592c5bf08272fcb14c
tree76a060d484e85468653458fde1567949dddaeede
parent40237051c8bf55cd20be7ced35140924d4e33820
Huawei driver add check before use a QoS

One QoS in Huawei storage array can contain at most 64 LUNs.
Do a check before adding LUN to QoS, if the number of the
LUNs in the QoS is already equal or larger than 64, then
this QoS should not be used.

Closed-Bug: #1498773
Change-Id: I9dd78cc1378051ded135a885cfc9347d42977311
cinder/tests/unit/test_huawei_drivers.py
cinder/volume/drivers/huawei/constants.py
cinder/volume/drivers/huawei/rest_client.py