Skip to content

Commit

Permalink
tests: bgp_set_aspath_exclude check rule modif
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
louis-6wind committed Sep 10, 2024
1 parent f102fb7 commit 37bf3fa
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ def test_bgp_set_aspath_exclude_access_list():
conf
bgp as-path access-list FIRST permit ^65
route-map r2 permit 6
no set as-path exclude as-path-access-list SECOND
set as-path exclude as-path-access-list FIRST
"""
)
Expand All @@ -147,7 +146,6 @@ def test_bgp_set_aspath_exclude_access_list():
"""
conf
route-map r2 permit 6
no set as-path exclude as-path-access-list FIRST
set as-path exclude as-path-access-list SECOND
"""
)
Expand Down

0 comments on commit 37bf3fa

Please sign in to comment.