diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-01 19:22:32 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-01 19:22:55 +0100 |
commit | 4bb7dedba86d9bc8fd0613bbabe159a072c16c3e (patch) | |
tree | 39abb8a5fc6ebb6e0ab18b64e87c55d2bd34f8cd /scripts/cli/test_interfaces.py | |
parent | bd85f1adc86b5645808cfc75fd1fef354146cba1 (diff) | |
download | vyos-1x-4bb7dedba86d9bc8fd0613bbabe159a072c16c3e.tar.gz vyos-1x-4bb7dedba86d9bc8fd0613bbabe159a072c16c3e.zip |
interface: add test for loopback interface
Diffstat (limited to 'scripts/cli/test_interfaces.py')
-rwxr-xr-x | scripts/cli/test_interfaces.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/cli/test_interfaces.py b/scripts/cli/test_interfaces.py index 4f52f83d7..6bbacc585 100755 --- a/scripts/cli/test_interfaces.py +++ b/scripts/cli/test_interfaces.py @@ -76,6 +76,13 @@ class DummyInterfaceTest(BasicInterfaceTest.BaseTest): self._interfaces = ['dum0', 'dum1', 'dum2'] +class LoopbackInterfaceTest(BasicInterfaceTest.BaseTest): + def setUp(self): + super().setUp() + self._base_path = ['interfaces', 'loopback'] + self._interfaces = ['lo'] + + class BondInterfaceTest(BasicInterfaceTest.BaseTest): def setUp(self): super().setUp() |