]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
VMware: Skip unsupported datastore types
authorVipin Balachandran <vbala@vmware.com>
Mon, 23 Nov 2015 11:24:13 +0000 (16:54 +0530)
committerVipin Balachandran <vbala@vmware.com>
Tue, 24 Nov 2015 11:29:13 +0000 (16:59 +0530)
commitc20778fe6bead5aed4ceb541336f757d0d25fda6
treebf8ab590494a91100b87c452012a4484f192f417
parent4a9b619403332752b90818f4d9badc8aeeae2436
VMware: Skip unsupported datastore types

vCenter supports different types of datastores such as
VMFS, NFS etc. Currently the VMDK driver supports only
vSAN, VMFS and NFS datastores for storing volume vmdks.
This patch adds a check to skip unsupported datastore
types during volume creation.

Closes-bug: #1519316
Change-Id: I314abbe0de09bb304859c72b27054784eeef9044
cinder/tests/unit/test_vmware_datastore.py
cinder/volume/drivers/vmware/datastore.py