diff options
author | Christian Poessinger <christian@poessinger.com> | 2023-01-07 11:19:39 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2023-01-07 11:19:39 +0100 |
commit | 8759f3ee72904d33020070c0bfbf7cf28bbed427 (patch) | |
tree | 53c09649b5cf351ba0d12d398aac6b749d46d2ae | |
parent | 662bae181cdff07a2472d7121d18ae37d380e062 (diff) | |
download | vyos-1x-8759f3ee72904d33020070c0bfbf7cf28bbed427.tar.gz vyos-1x-8759f3ee72904d33020070c0bfbf7cf28bbed427.zip |
smoketest: ospf: extend test 09 w/ passive interfaces
-rwxr-xr-x | smoketest/scripts/cli/test_protocols_ospf.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_protocols_ospf.py b/smoketest/scripts/cli/test_protocols_ospf.py index 339713bf6..62e5f2134 100755 --- a/smoketest/scripts/cli/test_protocols_ospf.py +++ b/smoketest/scripts/cli/test_protocols_ospf.py @@ -272,6 +272,10 @@ class TestProtocolsOSPF(VyOSUnitTestSHIM.TestCase): # commit changes self.cli_commit() + frrconfig = self.getFRRconfig('router ospf') + self.assertIn(f'router ospf', frrconfig) + self.assertIn(f' passive-interface default', frrconfig) + for interface in interfaces: config = self.getFRRconfig(f'interface {interface}') self.assertIn(f'interface {interface}', config) |