Update driver metadata definitions to Juno
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Travis Tripp |
Bug Description
vmware and libvirt support different hw_vif_model settings. This patch updates them so that each namespace can specify the models they support.
vmware api is updated with the vmware_disktype
See below for references to source code.
vmware:
hw_vif_model:
From: https:/
ALL_SUPPORTED_
And:
def convert_
"""Converts standard VIF_MODEL types to the internal VMware ones."""
if name == network_
return 'VirtualE1000'
if name == network_
return 'VirtualE1000e'
if name not in ALL_SUPPORTED_
msg = _('%s is not supported.') % name
raise exception.
return name
vmware disktype:
https:/
DISK_TYPE_SPARSE = 'sparse'
SUPPORTED_
libvirt:
From: https:/
def is_vif_
valid_models = {
'qemu': [network_
'kvm': [network_
'xen': [network_
'lxc': [],
'uml': [],
}
From: https:/
VIF_MODEL_VIRTIO = 'virtio'
VIF_MODEL_NE2K_PCI = 'ne2k_pci'
VIF_MODEL_PCNET = 'pcnet'
VIF_MODEL_RTL8139 = 'rtl8139'
VIF_MODEL_E1000 = 'e1000'
VIF_MODEL_E1000E = 'e1000e'
VIF_MODEL_NETFRONT = 'netfront'
VIF_MODEL_
Changed in glance: | |
assignee: | nobody → Travis Tripp (travis-tripp) |
status: | New → In Progress |
tags: | added: metadef |
Changed in glance: | |
importance: | Undecided → Low |
milestone: | none → juno-rc2 |
Changed in glance: | |
milestone: | juno-rc2 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/122266
Review: https:/