tests:support of color extended community color-only types

Signed-off-by: guozhongfeng.gzf <guozhongfeng.gzf@alibaba-inc.com>
This commit is contained in:
guozhongfeng.gzf 2024-10-24 20:07:15 +08:00
parent 937cf4db17
commit 5a28b620d3
2 changed files with 3 additions and 3 deletions

View 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

View 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"
},
}
],