]> 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)
committerJohn Griffith <john.griffith@solidfire.com>
Thu, 10 Oct 2013 15:36:47 +0000 (09:36 -0600)
commitaf092c5401e6721df4ddfa5a93a0fe155fc8782d
tree4994c75bbf96bb69a4a28c61823927ac92e68995
parentf021629df31328324ca429c29a827efab832eee0
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
(cherry picked from commit 0c9dc5d0e01576969f09edc0c9c72a2aa91b248a)
cinder/volume/drivers/huawei/huawei_t.py
cinder/volume/drivers/huawei/ssh_common.py