From 4d335babebe405a1699d36d8bde3317172b9b483 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 6 Feb 2021 10:51:43 +0100 Subject: rip: T2547: migrate to get_config_dict() and FRR reload --- smoketest/scripts/cli/test_protocols_rip.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'smoketest/scripts') diff --git a/smoketest/scripts/cli/test_protocols_rip.py b/smoketest/scripts/cli/test_protocols_rip.py index 56c975d7a..1bd069638 100755 --- a/smoketest/scripts/cli/test_protocols_rip.py +++ b/smoketest/scripts/cli/test_protocols_rip.py @@ -91,6 +91,8 @@ class TestProtocolsRIP(unittest.TestCase): self.session.set(base_path + ['interface', interface]) self.session.set(base_path + ['distribute-list', 'interface', interface, 'access-list', 'in', acl_in]) self.session.set(base_path + ['distribute-list', 'interface', interface, 'access-list', 'out', acl_out]) + self.session.set(base_path + ['distribute-list', 'interface', interface, 'prefix-list', 'in', prefix_list_in]) + self.session.set(base_path + ['distribute-list', 'interface', interface, 'prefix-list', 'out', prefix_list_out]) for neighbor in neighbors: self.session.set(base_path + ['neighbor', neighbor]) for network in networks: @@ -121,6 +123,8 @@ class TestProtocolsRIP(unittest.TestCase): self.assertIn(f' network {interface}', frrconfig) self.assertIn(f' distribute-list {acl_in} in {interface}', frrconfig) self.assertIn(f' distribute-list {acl_out} out {interface}', frrconfig) + self.assertIn(f' distribute-list prefix {prefix_list_in} in {interface}', frrconfig) + self.assertIn(f' distribute-list prefix {prefix_list_out} out {interface}', frrconfig) for neighbor in neighbors: self.assertIn(f' neighbor {neighbor}', frrconfig) for network in networks: -- cgit v1.2.3