summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-26 18:49:48 +0200
committerChristian Poessinger <christian@poessinger.com>2020-06-26 18:49:48 +0200
commit90d6d8f3a45d10eb86daee700b10463a3c0fd8d7 (patch)
tree8d143ea598bb44355034193ccbb9cd10d8eb68fd /scripts
parentdc5c01765683433a2932bb76ac870651e3ac8904 (diff)
downloadvyos-1x-90d6d8f3a45d10eb86daee700b10463a3c0fd8d7.tar.gz
vyos-1x-90d6d8f3a45d10eb86daee700b10463a3c0fd8d7.zip
peth: extend basic test with IP options
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cli/test_interfaces_pseudo_ethernet.py9
1 files 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)