]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests:support of color extended community color-only types
authorguozhongfeng.gzf <guozhongfeng.gzf@alibaba-inc.com>
Thu, 24 Oct 2024 12:07:15 +0000 (20:07 +0800)
committerguozhongfeng.gzf <guozhongfeng.gzf@alibaba-inc.com>
Thu, 7 Nov 2024 11:02:21 +0000 (19:02 +0800)
Signed-off-by: guozhongfeng.gzf <guozhongfeng.gzf@alibaba-inc.com>
tests/topotests/bgp_color_extcommunities/r1/bgpd.conf
tests/topotests/bgp_color_extcommunities/test_bgp_color_extcommunities.py

index d4ca392b1a28e1d2aaa556e67e8c9e1d69cae977..30cb6647aeafde6f406637a32b2b9d782199b3e4 100644 (file)
@@ -11,7 +11,7 @@ router bgp 65001
  exit-address-family
 !
 route-map rmap permit 10
- set extcommunity color 1
+ set extcommunity color 01:1
  set extcommunity rt 80:987
- set extcommunity color 100 55555 200
+ set extcommunity color 01:100 01:55555 01:200
 exit
index 09091198a8c56d628ab86f6fe62b49ee363ee34a..94a444d5c52b602d20507b0e2eccfb23ff52a19d 100644 (file)
@@ -105,7 +105,7 @@ def test_bgp_color_extended_communities():
                     {
                         "valid": True,
                         "extendedCommunity": {
-                            "string": "RT:80:987 Color:100 Color:200 Color:55555"
+                            "string": "RT:80:987 Color:01:100 Color:01:200 Color:01:55555"
                         },
                     }
                 ],