diff options
author | Christian Breunig <christian@breunig.cc> | 2023-04-15 22:14:25 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-04-15 22:14:31 +0200 |
commit | 8550b8dbdd445399e7f97f76319df7d66fcc2502 (patch) | |
tree | 5e2e1d5018773824f12c4bf2362a1f998d3cc33d /smoketest/scripts/cli/test_protocols_static.py | |
parent | 7700da10b8d1d1b3d0db914ab48aebf8ff536da1 (diff) | |
download | vyos-1x-8550b8dbdd445399e7f97f76319df7d66fcc2502.tar.gz vyos-1x-8550b8dbdd445399e7f97f76319df7d66fcc2502.zip |
smoketest: T5150: remove deprecated tests
There is no need for protocol specific embedded smoketests as the route-map
option got removed. Tests are now conducted under the new CLI tree.
Diffstat (limited to 'smoketest/scripts/cli/test_protocols_static.py')
-rwxr-xr-x | smoketest/scripts/cli/test_protocols_static.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/smoketest/scripts/cli/test_protocols_static.py b/smoketest/scripts/cli/test_protocols_static.py index 19efe7786..bc023f3f2 100755 --- a/smoketest/scripts/cli/test_protocols_static.py +++ b/smoketest/scripts/cli/test_protocols_static.py @@ -433,30 +433,5 @@ class TestProtocolsStatic(VyOSUnitTestSHIM.TestCase): self.assertIn(tmp, frrconfig) - def test_04_static_zebra_route_map(self): - # Implemented because of T3328 - route_map = 'foo-static-in' - self.cli_set(['policy', 'route-map', route_map, 'rule', '10', 'action', 'permit']) - - self.cli_set(base_path + ['route-map', route_map]) - # commit changes - self.cli_commit() - - # Verify FRR configuration - zebra_route_map = f'ip protocol static route-map {route_map}' - frrconfig = self.getFRRconfig(zebra_route_map) - self.assertIn(zebra_route_map, frrconfig) - - # Remove the route-map again - self.cli_delete(base_path + ['route-map']) - # commit changes - self.cli_commit() - - # Verify FRR configuration - frrconfig = self.getFRRconfig(zebra_route_map) - self.assertNotIn(zebra_route_map, frrconfig) - - self.cli_delete(['policy', 'route-map', route_map]) - if __name__ == '__main__': unittest.main(verbosity=2) |