From 90d6d8f3a45d10eb86daee700b10463a3c0fd8d7 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 26 Jun 2020 18:49:48 +0200 Subject: peth: extend basic test with IP options --- scripts/cli/test_interfaces_pseudo_ethernet.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/cli/test_interfaces_pseudo_ethernet.py b/scripts/cli/test_interfaces_pseudo_ethernet.py index e75fb0250..1f5de4f61 100755 --- a/scripts/cli/test_interfaces_pseudo_ethernet.py +++ b/scripts/cli/test_interfaces_pseudo_ethernet.py @@ -23,9 +23,14 @@ class PEthInterfaceTest(BasicInterfaceTest.BaseTest): def setUp(self): super().setUp() self._base_path = ['interfaces', 'pseudo-ethernet'] + options = ['source-interface eth0', 'ip arp-cache-timeout 10', + 'ip disable-arp-filter', 'ip enable-arp-accept', + 'ip enable-arp-announce', 'ip enable-arp-ignore', + 'ip enable-proxy-arp', 'ip proxy-arp-pvlan'] + self._options = { - 'peth0': ['source-interface eth0', 'ip arp-cache-timeout 10'], - 'peth1': ['source-interface eth0', 'ip arp-cache-timeout 10'], + 'peth0': options, + 'peth1': options, } self._interfaces = list(self._options) -- cgit v1.2.3