summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_interfaces_pseudo_ethernet.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-05 17:01:20 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-05 17:01:20 +0100
commitce809eee91aa2b7f2980dbfd191cdb9ad2947674 (patch)
tree50848321ebe3e86505b2ae9767a18c0a3ecd7039 /smoketest/scripts/cli/test_interfaces_pseudo_ethernet.py
parentc4c6fcb45e67685da2f1db273bf590c8fb147cb3 (diff)
downloadvyos-1x-ce809eee91aa2b7f2980dbfd191cdb9ad2947674.tar.gz
vyos-1x-ce809eee91aa2b7f2980dbfd191cdb9ad2947674.zip
smoketest: mirror: T3169: re-add mirror / SPAN test case
Commit ef629504d4 ("smoketest: mirror: drop testcase") dropped the smoketests entirely as they have been programmed in a wrong way leading to outages on live development systems which used dummy interfaces for management traffic.
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_pseudo_ethernet.py')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_pseudo_ethernet.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_pseudo_ethernet.py b/smoketest/scripts/cli/test_interfaces_pseudo_ethernet.py
index c1711c5a3..85e5e70bd 100755
--- a/smoketest/scripts/cli/test_interfaces_pseudo_ethernet.py
+++ b/smoketest/scripts/cli/test_interfaces_pseudo_ethernet.py
@@ -19,22 +19,19 @@ import unittest
from base_interfaces_test import BasicInterfaceTest
class PEthInterfaceTest(BasicInterfaceTest.BaseTest):
-
def setUp(self):
- super().setUp()
- self._base_path = ['interfaces', 'pseudo-ethernet']
-
self._test_ip = True
self._test_ipv6 = True
self._test_mtu = True
self._test_vlan = True
self._test_qinq = True
-
+ self._base_path = ['interfaces', 'pseudo-ethernet']
self._options = {
'peth0': ['source-interface eth1'],
'peth1': ['source-interface eth1'],
}
self._interfaces = list(self._options)
+ super().setUp()
if __name__ == '__main__':
unittest.main(verbosity=2)