]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
vmware: PBM wsdl file configuration
authorSubramanian Neelakantan <subramanian.neelakantan@gmail.com>
Wed, 11 Dec 2013 13:49:37 +0000 (19:19 +0530)
committerSubramanian Neelakantan <subramanian.neelakantan@gmail.com>
Mon, 3 Mar 2014 06:10:06 +0000 (11:40 +0530)
commit10c5c93925abe3d34c4430e0ed852d8358fb2353
tree664792767234e8a3f2d5acd847f0369d95d3a450
parent07ad47ef80dd71e1216331b3b95f5be280455cbd
vmware: PBM wsdl file configuration

Currently the PBM wsdl files have to be downloaded to the local file
system and needs to be configured in 'pbm_wsdl_location'. If it is
manually configured then PBM feature is enabled.

This patch does away with the manual configuration of
'pbm_wsdl_location'. PBM wsdl files are now shipped with the driver.
VC version is fetched from the backend server and the corresponding
wsdl file is used. If the backend is a VC version that is less than
5.5 then PBM feature is turned off.

Implements: blueprint vmdk-storage-policy-volume-type
Change-Id: I559006b532fa39aab6d54cb0b21d5f7afba62af3
cinder/tests/test_vmware_vmdk.py
cinder/volume/drivers/vmware/vmdk.py
cinder/volume/drivers/vmware/wsdl/5.5/core-types.xsd [new file with mode: 0644]
cinder/volume/drivers/vmware/wsdl/5.5/pbm-messagetypes.xsd [new file with mode: 0644]
cinder/volume/drivers/vmware/wsdl/5.5/pbm-types.xsd [new file with mode: 0644]
cinder/volume/drivers/vmware/wsdl/5.5/pbm.wsdl [new file with mode: 0644]
cinder/volume/drivers/vmware/wsdl/5.5/pbmService.wsdl [new file with mode: 0644]
etc/cinder/cinder.conf.sample