tests: handle /qubes-mac

This commit is contained in:
Frédéric Pierret (fepitre) 2019-05-18 13:54:52 +02:00
parent 9472e73465
commit 1e3e579938
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2

View File

@ -1219,7 +1219,7 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
<on_crash>destroy</on_crash>
<devices>
<interface type="ethernet">
<mac address="00:16:3E:5E:6C:00" />
<mac address="00:16:3e:5e:6c:00" />
<ip address="10.137.0.1" />
{extra_ip}
<backenddomain name="test-inst-netvm" />
@ -1369,6 +1369,7 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
'/qubes-iptables-header': iptables_header,
'/qubes-service/qubes-update-check': '0',
'/qubes-service/meminfo-writer': '1',
'/qubes-mac': '00:16:3e:5e:6c:00',
'/qubes-ip': '10.137.0.3',
'/qubes-netmask': '255.255.255.255',
'/qubes-gateway': '10.137.0.2',
@ -1412,6 +1413,7 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
del expected['/qubes-ip6']
del expected['/qubes-primary-dns']
del expected['/qubes-secondary-dns']
del expected['/qubes-mac']
expected['/qubes-netvm-primary-dns'] = '10.139.1.1'
expected['/qubes-netvm-secondary-dns'] = '10.139.1.2'
expected['/qubes-netvm-network'] = '10.137.0.2'