Add zvm 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: I0b6fd6c9bcc95582718355019e467f6d6cc1c8a4
This commit is contained in:
parent
4ed3ea509c
commit
8eb53f5b5c
@ -45,6 +45,19 @@ DEFAULT_EPH_DISK_FMT = 'ext3'
|
||||
|
||||
class ZVMDriver(driver.ComputeDriver):
|
||||
"""z/VM implementation of ComputeDriver."""
|
||||
capabilities = {
|
||||
# Image type support flags
|
||||
"supports_image_type_aki": False,
|
||||
"supports_image_type_ami": False,
|
||||
"supports_image_type_ari": False,
|
||||
"supports_image_type_iso": False,
|
||||
"supports_image_type_qcow2": False,
|
||||
"supports_image_type_raw": True,
|
||||
"supports_image_type_vdi": False,
|
||||
"supports_image_type_vhd": False,
|
||||
"supports_image_type_vhdx": False,
|
||||
"supports_image_type_vmdk": False,
|
||||
}
|
||||
|
||||
def __init__(self, virtapi):
|
||||
super(ZVMDriver, self).__init__(virtapi)
|
||||
|
Loading…
Reference in New Issue
Block a user