Add vmware driver image type capabilities

This is a static list, so a test is fairly pointless.

Related to blueprint bp/request-filter-image-types

Change-Id: I7b199136fd90df9b5419d88b14e7fbb50db54a1e
This commit is contained in:
Dan Smith 2019-04-25 08:51:44 -07:00
parent 112eed3dae
commit c208b30c62
1 changed files with 12 additions and 0 deletions

View File

@ -69,6 +69,18 @@ class VMwareVCDriver(driver.ComputeDriver):
"supports_attach_interface": True,
"supports_multiattach": False,
"supports_trusted_certs": False,
# Image type support flags
"supports_image_type_aki": False,
"supports_image_type_ami": False,
"supports_image_type_ari": False,
"supports_image_type_iso": True,
"supports_image_type_qcow2": False,
"supports_image_type_raw": False,
"supports_image_type_vdi": False,
"supports_image_type_vhd": False,
"supports_image_type_vhdx": False,
"supports_image_type_vmdk": True,
}
# Legacy nodename is of the form: <mo id>(<cluster name>)