]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
VMware: Validate extra spec opt vmware:clone_type
authorVipin Balachandran <vbala@vmware.com>
Wed, 25 Nov 2015 12:06:21 +0000 (17:36 +0530)
committerVipin Balachandran <vbala@vmware.com>
Wed, 25 Nov 2015 12:06:21 +0000 (17:36 +0530)
commit9cccebbc82fcb42195e1fd1822f01422f1fd565e
treeb0ed47b49ec5bd716ef8aba96735d677a3d830c1
parent5bfa346df73a0be6329b8b3a10afaa0fa132d15d
VMware: Validate extra spec opt vmware:clone_type

This patch validates the value of extra spec option 'vmware:clone_type'.
It raises an exception if the value is invalid.

Change-Id: Idab59a090184e1ea1446e9e9ed18c753d5c803cc
Closes-Bug: #1288254
cinder/tests/unit/test_vmware_vmdk.py
cinder/volume/drivers/vmware/vmdk.py