summaryrefslogtreecommitdiff
path: root/scripts/cli
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-02-01 19:22:22 +0100
committerChristian Poessinger <christian@poessinger.com>2020-02-01 19:22:51 +0100
commitbd85f1adc86b5645808cfc75fd1fef354146cba1 (patch)
tree19225638d645e66349091ef670ee922b7358b4bb /scripts/cli
parent4b8ee464d0899ae63ecc398b857eb144c013e4cb (diff)
downloadvyos-1x-bd85f1adc86b5645808cfc75fd1fef354146cba1.tar.gz
vyos-1x-bd85f1adc86b5645808cfc75fd1fef354146cba1.zip
interface: add test for dummy interface
Diffstat (limited to 'scripts/cli')
-rwxr-xr-xscripts/cli/test_interfaces.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/cli/test_interfaces.py b/scripts/cli/test_interfaces.py
index 5ba01a35c..4f52f83d7 100755
--- a/scripts/cli/test_interfaces.py
+++ b/scripts/cli/test_interfaces.py
@@ -69,6 +69,13 @@ class BasicInterfaceTest:
self.assertTrue(is_intf_addr_assigned(intf, addr['addr']))
+class DummyInterfaceTest(BasicInterfaceTest.BaseTest):
+ def setUp(self):
+ super().setUp()
+ self._base_path = ['interfaces', 'dummy']
+ self._interfaces = ['dum0', 'dum1', 'dum2']
+
+
class BondInterfaceTest(BasicInterfaceTest.BaseTest):
def setUp(self):
super().setUp()