diff options
| author | Russ White <russ@riw.us> | 2025-01-07 08:45:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-07 08:45:07 -0500 |
| commit | 7f2be9a59510c1d0a51b681df7832bc90bed354c (patch) | |
| tree | 67d6ca9c9f22952f9f427741ce055b9cd8a013f3 /tests | |
| parent | c9c9608c70f25edaca3535ab374f7230bc7a5ea8 (diff) | |
| parent | 86b294698f91444097284c18b4d80c4f75530d3a (diff) | |
Merge pull request #17474 from sougata-github-nvidia/rib_ip_protocol_cleanup
zebra: Fix ip protocol route-map issue.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py b/tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py index 3932c29b98..ee7e00b323 100644 --- a/tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py +++ b/tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py @@ -232,6 +232,20 @@ def test_local_vs_non_local(): assert False, "Route 60.0.0.0/24 should not have fibPending" +def test_ip_protocol_any_fib_filter(): + # "Filtered route of source protocol any should not get installed in fib" + + tgen = get_topogen() + + if tgen.routers_have_failure(): + pytest.skip(tgen.errors) + + r2 = tgen.gears["r2"] + r2.vtysh_cmd("conf\nno ip protocol bgp") + r2.vtysh_cmd("conf\nip protocol any route-map LIMIT") + test_bgp_route() + + if __name__ == "__main__": args = ["-s"] + sys.argv[1:] sys.exit(pytest.main(args)) |
