From e7b000032be1188d96732b47a43a73c468910a44 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 28 May 2022 08:17:56 +0200 Subject: rip: T4448: add support for explicit version selection --- smoketest/scripts/cli/test_protocols_rip.py | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'smoketest/scripts') diff --git a/smoketest/scripts/cli/test_protocols_rip.py b/smoketest/scripts/cli/test_protocols_rip.py index 80d4e79f9..68df913f0 100755 --- a/smoketest/scripts/cli/test_protocols_rip.py +++ b/smoketest/scripts/cli/test_protocols_rip.py @@ -146,5 +146,16 @@ class TestProtocolsRIP(VyOSUnitTestSHIM.TestCase): frrconfig = self.getFRRconfig(zebra_route_map) self.assertNotIn(zebra_route_map, frrconfig) + def test_rip_03_version(self): + version = '1' + + self.cli_set(base_path + ['version', version]) + # commit changes + self.cli_commit() + + # Verify FRR configuration + frrconfig = self.getFRRconfig('router rip') + self.assertIn(f'version {version}', frrconfig) + if __name__ == '__main__': unittest.main(verbosity=2) -- cgit v1.2.3