From 8759f3ee72904d33020070c0bfbf7cf28bbed427 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 7 Jan 2023 11:19:39 +0100 Subject: smoketest: ospf: extend test 09 w/ passive interfaces --- smoketest/scripts/cli/test_protocols_ospf.py | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v1.2.3