From 1749ed915088c625b3de85fe3d98bb89c1aeee73 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 24 Jan 2020 23:15:20 +0100 Subject: Testsuite: use 4 NICs --- scripts/check-qemu-install | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index 30363068..5c4e09b4 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -154,7 +154,10 @@ try: cmd = """qemu-system-x86_64 \ -name "TESTVM" \ -m 1G \ - -nic user,model=virtio,mac=52:54:99:12:34:56,hostfwd=tcp::2299-:22 \ + -nic user,model=virtio,mac=52:54:99:12:34:56 \ + -nic user,model=virtio,mac=52:54:99:12:34:57 \ + -nic user,model=virtio,mac=52:54:99:12:34:58 \ + -nic user,model=virtio,mac=52:54:99:12:34:59 \ -machine accel=kvm \ {CPU} \ -smp 2 \ @@ -240,7 +243,10 @@ try: cmd = """qemu-system-x86_64 \ -name "TESTVM" \ -m 1G \ - -nic user,model=virtio,mac=52:54:99:12:34:56,hostfwd=tcp::2299-:22 + -nic user,model=virtio,mac=52:54:99:12:34:56 \ + -nic user,model=virtio,mac=52:54:99:12:34:57 \ + -nic user,model=virtio,mac=52:54:99:12:34:58 \ + -nic user,model=virtio,mac=52:54:99:12:34:59 \ -machine accel=kvm \ {CPU} \ -smp 2 \ @@ -278,6 +284,7 @@ try: c.sendline('run show version') c.sendline('exit') c.expect(r'vyos@vyos:~\$') + c.sendline('show interfaces') ################################################# # Executing test-suite -- cgit v1.2.3