]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Huawei: Check the QoS status before we use
authorWilson Liu <liuxinguo@huawei.com>
Sat, 23 Jan 2016 02:46:56 +0000 (10:46 +0800)
committerhuananhuawei <huanan@huawei.com>
Wed, 16 Mar 2016 01:35:46 +0000 (09:35 +0800)
commitd3f2f0b0e9cd646ec90d2dfbc47571579d7538ed
tree1962a43bcdc65a0fe6137e71d2bb3a97b5363a66
parentfc282f1ca05a2b432b44aae2f7625410f45f0c1a
Huawei: Check the QoS status before we use

Currently we use a existing QoS without check
whether the QoS is for block storage or NAS,
but one QoS on the array should be used for either
block storage or NAS, not both. Also, we add
check with QoS parameter.

Closes-Bug: #1537301
Change-Id: I9842044249cc59d9c29e887b68d48cf97595efcc
cinder/tests/unit/test_huawei_drivers.py
cinder/volume/drivers/huawei/constants.py
cinder/volume/drivers/huawei/huawei_driver.py
cinder/volume/drivers/huawei/rest_client.py
cinder/volume/drivers/huawei/smartx.py