mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 23:40:56 +00:00
tests: bgp_set_aspath_exclude check rule modif crash
Check that the following does not cause a crash: > route-map r2 permit 6 > set as-path exclude 65555 > set as-path exclude as-path-access-list NON-EXISTING Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
This commit is contained in:
parent
5e1b7f5a69
commit
f102fb7aef
@ -208,7 +208,26 @@ clear bgp *
|
|||||||
"""
|
"""
|
||||||
conf
|
conf
|
||||||
route-map r2 permit 6
|
route-map r2 permit 6
|
||||||
no set as-path exclude as-path-access-list SECOND
|
set as-path exclude 65555
|
||||||
|
"""
|
||||||
|
)
|
||||||
|
|
||||||
|
r1.vtysh_cmd(
|
||||||
|
"""
|
||||||
|
clear bgp *
|
||||||
|
"""
|
||||||
|
)
|
||||||
|
|
||||||
|
test_func = functools.partial(bgp_converge, tgen.gears["r1"], expected_3)
|
||||||
|
_, result = topotest.run_and_expect(test_func, None, count=30, wait=0.5)
|
||||||
|
|
||||||
|
assert result is None, "Failed to renegotiate with peers 2"
|
||||||
|
|
||||||
|
r1.vtysh_cmd(
|
||||||
|
"""
|
||||||
|
conf
|
||||||
|
route-map r2 permit 6
|
||||||
|
set as-path exclude as-path-access-list NON-EXISTING
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user