]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: bgp_set_aspath_exclude check rule modif
authorLouis Scalbert <louis.scalbert@6wind.com>
Tue, 10 Sep 2024 13:10:26 +0000 (15:10 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Wed, 11 Sep 2024 16:02:47 +0000 (18:02 +0200)
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>
tests/topotests/bgp_set_aspath_exclude/test_bgp_set_aspath_exclude.py

index f77840a7c409c118f0cdcfa74f7aa58a28c091fb..2b3c7787246807aaa7232b12f60894e25c5c7860 100644 (file)
@@ -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
     """
     )
@@ -147,7 +146,6 @@ clear bgp *
         """
 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
     """
     )