From 940e307d2a10dc3f8e3bf5a4299b1a15691fb170 Mon Sep 17 00:00:00 2001 From: Haijiao Zhao Date: Thu, 14 Jul 2022 16:28:30 +0800 Subject: [PATCH] Update unittest of interface xml test Signed-off-by: Haijiao Zhao --- .../libvirt_xml/device_xml/test_interface_xml.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/virttest/unittests/libvirt_xml/device_xml/test_interface_xml.py b/virttest/unittests/libvirt_xml/device_xml/test_interface_xml.py index d6cc21adc3..596450827c 100644 --- a/virttest/unittests/libvirt_xml/device_xml/test_interface_xml.py +++ b/virttest/unittests/libvirt_xml/device_xml/test_interface_xml.py @@ -10,6 +10,9 @@ + + + ''' @@ -21,7 +24,11 @@ 'ips': [ {'family': 'ipv4', 'address': '172.17.2.0', 'prefix': '24'}, {'family': 'ipv6', 'address': '2001:db8:ac10:fd01::', 'prefix': '64'} - ] + ], + 'virtualport': + {'parameters': {'interfaceid': '09b11c53-8b5c-4eeb-8f00-d84eaa0aaa4f', + 'profileid': 'menial'}, + 'type': 'openvswitch'} }