diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-05-28 08:17:56 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-05-28 08:17:56 +0200 |
commit | e7b000032be1188d96732b47a43a73c468910a44 (patch) | |
tree | 2b551182c88ac4f9b070cdb9ffdd6f7932127d28 /smoketest | |
parent | 283276d457a09c100416c0d4ffccd4f94ccd2540 (diff) | |
download | vyos-1x-e7b000032be1188d96732b47a43a73c468910a44.tar.gz vyos-1x-e7b000032be1188d96732b47a43a73c468910a44.zip |
rip: T4448: add support for explicit version selection
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_protocols_rip.py | 11 |
1 files changed, 11 insertions, 0 deletions
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) |