]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Support Huawei driver upgrade from grizzly to havana
authorzhangchao010 <zhangchao010@huawei.com>
Wed, 9 Oct 2013 07:37:49 +0000 (15:37 +0800)
committerzhangchao010 <zhangchao010@huawei.com>
Wed, 9 Oct 2013 07:37:49 +0000 (15:37 +0800)
commit0c9dc5d0e01576969f09edc0c9c72a2aa91b248a
tree84c8ff201ef7aa0520e298c8f98d40a983b032ba
parentb00e307d7067e4b9cc86739291668be5b518badf
Support Huawei driver upgrade from grizzly to havana

To make the driver upgrade from grizzly to higher versions, the patch
checks the old host name firstly when creating and deleting host in
Huawei storage system.
If the old host name exists:
*get and use it directly when adding host.
*delete it directly when deleting host.

Closes-bug 1237189

Change-Id: I82a9dbc1ef0bb0b91771afea4aadec5afe65eecf
cinder/volume/drivers/huawei/huawei_t.py
cinder/volume/drivers/huawei/ssh_common.py