From: Louis Scalbert Date: Tue, 27 Feb 2024 18:32:21 +0000 (+0100) Subject: topotests: check export labels to pre-policy bmp X-Git-Tag: base_10.3~355^2~5 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=33189510e8d008e894b686291236be7c59b8c603;p=mirror%2Ffrr.git topotests: check export labels to pre-policy bmp Check export labels to pre-policy bmp Signed-off-by: Louis Scalbert --- diff --git a/tests/topotests/bgp_bmp/test_bgp_bmp.py b/tests/topotests/bgp_bmp/test_bgp_bmp.py index 80e291b2bd..de5db9eb3e 100644 --- a/tests/topotests/bgp_bmp/test_bgp_bmp.py +++ b/tests/topotests/bgp_bmp/test_bgp_bmp.py @@ -234,15 +234,11 @@ def vpn_prefixes(policy): prefixes = ["172.31.10.1/32", "2001::2222/128"] - if policy == PRE_POLICY: - # labels are not yet supported in adj-RIB-in. Do not test for the moment - labels = None - else: - # "label vpn export" value in r2/bgpd.conf - labels = { - "172.31.10.1/32": 102, - "2001::2222/128": 105, - } + # "label vpn export" value in r2/bgpd.conf + labels = { + "172.31.10.1/32": 102, + "2001::2222/128": 105, + } # add prefixes configure_prefixes(tgen, "r2", 65502, "unicast", prefixes, vrf="vrf1")