summaryrefslogtreecommitdiff
path: root/nova/tests/unit
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2020-06-10 10:56:38 +0100
committerStephen Finucane <stephenfin@redhat.com>2020-07-22 10:43:19 +0000
commit5482dde3298ce9679dbb8378fe8e216fc24dd024 (patch)
tree73e9424015d3daea656567e7e7040ac5b5fe7aea /nova/tests/unit
parenta4d88ed04913e764fc1564c5358fbf186afc18a1 (diff)
downloadnova-5482dde3298ce9679dbb8378fe8e216fc24dd024.tar.gz
libvirt: Mark e1000e VIF as supported
This is supported by the QEMU/KVM backends in libvirt. There's no reason not to support it in nova. This appears to have been an oversight. Change-Id: I12a5d28d75bc32a76a4f3765cb4db4cbc46c0c75 Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Closes-Bug: #1882919 (cherry picked from commit 644cb5cb8bf44184d9b3f046cc67746b13550dd6) (cherry picked from commit 840de3b8924612fa3fc47a4c9032a4723d536613) (cherry picked from commit ddbc262494cf0df3f3abd5b5139eb787bb085f8c)
Diffstat (limited to 'nova/tests/unit')
-rw-r--r--nova/tests/unit/virt/libvirt/test_vif.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/tests/unit/virt/libvirt/test_vif.py b/nova/tests/unit/virt/libvirt/test_vif.py
index 41e9853e0f..4d4168bcc7 100644
--- a/nova/tests/unit/virt/libvirt/test_vif.py
+++ b/nova/tests/unit/virt/libvirt/test_vif.py
@@ -835,12 +835,14 @@ class LibvirtVifTestCase(test.NoDBTestCase):
network_model.VIF_MODEL_PCNET,
network_model.VIF_MODEL_RTL8139,
network_model.VIF_MODEL_E1000,
+ network_model.VIF_MODEL_E1000E,
network_model.VIF_MODEL_SPAPR_VLAN)
else:
supported = (network_model.VIF_MODEL_NE2K_PCI,
network_model.VIF_MODEL_PCNET,
network_model.VIF_MODEL_RTL8139,
network_model.VIF_MODEL_E1000,
+ network_model.VIF_MODEL_E1000E,
network_model.VIF_MODEL_SPAPR_VLAN)
for model in supported:
image_meta = objects.ImageMeta.from_dict(