Huawei drivers create Linux hosts by default when attaching volumes.
This patch makes them also support Windows, XenServer, AIX, etc.
The default OS is still Linux if it is not specified.
Users need to configure the host OS types in Huawei XML configuration
file. They need to set the items like this:
<Host OSType="Windows" HostIP="10.10.0.1, 10.10.0.2, ..." />
<Host .../>
When attaching a volume, the driver will get the host IP from nova. We
compare that IP with the IP in "HostIP" to get the corresponding OS type.
Reviewed: https:/ /review. openstack. org/48079 github. com/openstack/ cinder/ commit/ b30402eeeddefb8 55126a32fee15db 164684ba8c
Committed: http://
Submitter: Jenkins
Branch: master
commit b30402eeeddefb8 55126a32fee15db 164684ba8c
Author: zhangchao010 <email address hidden>
Date: Mon Oct 14 12:47:44 2013 +0800
Fix Huawei drivers to support other host OSs
Huawei drivers create Linux hosts by default when attaching volumes.
This patch makes them also support Windows, XenServer, AIX, etc.
The default OS is still Linux if it is not specified.
Users need to configure the host OS types in Huawei XML configuration
file. They need to set the items like this:
<Host OSType="Windows" HostIP="10.10.0.1, 10.10.0.2, ..." />
<Host .../>
When attaching a volume, the driver will get the host IP from nova. We
compare that IP with the IP in "HostIP" to get the corresponding OS type.
Closes-bug: #1229759 1c68eaf24b6c12e 7ef5d16145d
Change-Id: I36fd52b97f790f