mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 20:34:33 +00:00
tests: bgp_set_aspath_exclude check rule modif
No need to do 'no set as-path exclude' to replace the current rule by another. The code is supposed to support the replacement. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
This commit is contained in:
parent
f102fb7aef
commit
e9c4b33119
@ -128,7 +128,6 @@ def test_bgp_set_aspath_exclude_access_list():
|
|||||||
conf
|
conf
|
||||||
bgp as-path access-list FIRST permit ^65
|
bgp as-path access-list FIRST permit ^65
|
||||||
route-map r2 permit 6
|
route-map r2 permit 6
|
||||||
no set as-path exclude as-path-access-list SECOND
|
|
||||||
set as-path exclude as-path-access-list FIRST
|
set as-path exclude as-path-access-list FIRST
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
@ -147,7 +146,6 @@ clear bgp *
|
|||||||
"""
|
"""
|
||||||
conf
|
conf
|
||||||
route-map r2 permit 6
|
route-map r2 permit 6
|
||||||
no set as-path exclude as-path-access-list FIRST
|
|
||||||
set as-path exclude as-path-access-list SECOND
|
set as-path exclude as-path-access-list SECOND
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user