]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add extend_volume for Huawei drivers
authorzhangchao010 <zhangchao010@huawei.com>
Fri, 18 Oct 2013 08:32:56 +0000 (16:32 +0800)
committerzhangchao010 <zhangchao010@huawei.com>
Fri, 18 Oct 2013 08:34:34 +0000 (16:34 +0800)
commit20474c8583ed2bc58bc11304c6bbcc7538195a21
tree5fa6c03468483ebafd6e08f710ea8b401f590413
parent9b599d092ffa168a73ab7fa98ff20cb2cb48fe0b
Add extend_volume for Huawei drivers

This patch adds extend_volume function for Huawei drivers.

Huawei T driver needs to create a slave LUN for the extended LUN.
And accordingly it needs to delete all these slave LUNs before deleting
the extended LUN.

HVS driver just sends a rest command to finish extending volume.

Change-Id: Iae17dba8c4d88ec09eb52b4a14bd17bc5a2c1ccc
cinder/tests/test_huawei_hvs.py
cinder/tests/test_huawei_t_dorado.py
cinder/volume/drivers/huawei/huawei_hvs.py
cinder/volume/drivers/huawei/huawei_t.py
cinder/volume/drivers/huawei/rest_common.py
cinder/volume/drivers/huawei/ssh_common.py