]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add volume retype support for Huawei driver
authorzhongjun <jun.zhongjun@huawei.com>
Tue, 14 Jul 2015 10:06:51 +0000 (18:06 +0800)
committerWilson Liu <liuxinguo@huawei.com>
Mon, 24 Aug 2015 04:03:54 +0000 (12:03 +0800)
commit09836b31204723fc7753f3e45d6ec7e9c8fc925e
treea59656ff656138dd030bc39f352fbc284dbe3e2a
parent7ea6f037406ccd54a8e5c5ee4ffa9efccd67e938
Add volume retype support for Huawei driver

Add retype volume function for Huawei driver, including
SmartQos, SmartTier, SmartPartition and SmartCache,
SmartThin/Thick.

This commit adds the following qualified extra-specs:
  * capabilities:smarttier='<is> True'
    smarttier:policy='X'(X:0,1,2,3)"(default value is 1)
  * capabilities:smartpartition='<is> True'
    smartpartition:partitionname=test_partition_name
  * capabilities:smartcache='<is> True'
    smartcache:cachename=test_cache_name
  * capabilities:thin_provisioning='<is> True'
  * capabilities:thick_provisioning='<is> True'

Implements: blueprint huawei-driver-support-retype
Change-Id: I6bd1d39aca5a368594ca39c75c86eaf6ab20b00c
cinder/tests/unit/test_huawei_drivers.py
cinder/volume/drivers/huawei/constants.py
cinder/volume/drivers/huawei/huawei_driver.py
cinder/volume/drivers/huawei/huawei_utils.py
cinder/volume/drivers/huawei/rest_client.py