summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_protocols_isis.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-24 21:07:22 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-24 21:07:22 +0200
commit8b6f34f8a134875c5eeeaa14688104a697973eea (patch)
treea69fb2443f8dee0a7916d98cde25d46c484ad656 /smoketest/scripts/cli/test_protocols_isis.py
parent8e1678974f6341c991ea0582aa15a8b470de79ef (diff)
downloadvyos-1x-8b6f34f8a134875c5eeeaa14688104a697973eea.tar.gz
vyos-1x-8b6f34f8a134875c5eeeaa14688104a697973eea.zip
isis: T3417: add CLI node to enable "log-adjacency-changes"
Diffstat (limited to 'smoketest/scripts/cli/test_protocols_isis.py')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_isis.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_protocols_isis.py b/smoketest/scripts/cli/test_protocols_isis.py
index f6c13991b..69db58465 100755
--- a/smoketest/scripts/cli/test_protocols_isis.py
+++ b/smoketest/scripts/cli/test_protocols_isis.py
@@ -66,6 +66,7 @@ class TestProtocolsISIS(VyOSUnitTestSHIM.TestCase):
self.isis_base_config()
self.cli_set(base_path + ['redistribute', 'ipv4', 'connected', 'level-2', 'route-map', route_map])
+ self.cli_set(base_path + ['log-adjacency-changes'])
# Commit all changes
self.cli_commit()
@@ -73,6 +74,7 @@ class TestProtocolsISIS(VyOSUnitTestSHIM.TestCase):
# Verify all changes
tmp = self.getFRRconfig(f'router isis {domain}')
self.assertIn(f' net {net}', tmp)
+ self.assertIn(f' log-adjacency-changes', tmp)
self.assertIn(f' redistribute ipv4 connected level-2 route-map {route_map}', tmp)
for interface in self._interfaces: