From: Donatas Abraitis Date: Wed, 26 Mar 2025 12:47:44 +0000 (+0200) Subject: tests: Use label 0x800000 instead of 0x000000 for BMP tests X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fheads%2Fmergify%2Fbp%2Fstable%2F10.3%2Fpr-18502;p=matthieu%2Ffrr.git tests: Use label 0x800000 instead of 0x000000 for BMP tests Related-to: 94e2aadf7187d7d695babce21033b5bc8e454f25 ("bgpd: Set the label for MP_UNREACH_NLRI 0x800000 instead of 0x000000") Signed-off-by: Donatas Abraitis (cherry picked from commit e69459c7144568381c05bbaf962adecd914975d5) --- diff --git a/tests/topotests/bgp_bmp/bmp1/bmp-withdraw-loc-rib-step2.json b/tests/topotests/bgp_bmp/bmp1/bmp-withdraw-loc-rib-step2.json index 1e5040ba60..20510a1e00 100644 --- a/tests/topotests/bgp_bmp/bmp1/bmp-withdraw-loc-rib-step2.json +++ b/tests/topotests/bgp_bmp/bmp1/bmp-withdraw-loc-rib-step2.json @@ -6,7 +6,7 @@ "bmp_log_type": "withdraw", "ip_prefix": "172.31.0.15/32", "is_filtered": false, - "label": 0, + "label": 524288, "peer_asn": 65501, "peer_bgp_id": "192.168.0.1", "peer_distinguisher": "0:0", @@ -20,7 +20,7 @@ "bmp_log_type": "withdraw", "ip_prefix": "2001::1111/128", "is_filtered": false, - "label": 0, + "label": 524288, "peer_asn": 65501, "peer_bgp_id": "192.168.0.1", "peer_distinguisher": "0:0", diff --git a/tests/topotests/bgp_bmp/bmp1/bmp-withdraw-post-policy-step2.json b/tests/topotests/bgp_bmp/bmp1/bmp-withdraw-post-policy-step2.json index 9eb221d4d0..a34a0005e7 100644 --- a/tests/topotests/bgp_bmp/bmp1/bmp-withdraw-post-policy-step2.json +++ b/tests/topotests/bgp_bmp/bmp1/bmp-withdraw-post-policy-step2.json @@ -6,7 +6,7 @@ "bmp_log_type": "withdraw", "ip_prefix": "2001::1111/128", "ipv6": true, - "label": 0, + "label": 524288, "peer_asn": 65502, "peer_bgp_id": "192.168.0.2", "peer_distinguisher": "0:0", @@ -21,7 +21,7 @@ "bmp_log_type": "withdraw", "ip_prefix": "172.31.0.15/32", "ipv6": false, - "label": 0, + "label": 524288, "peer_asn": 65502, "peer_bgp_id": "192.168.0.2", "peer_distinguisher": "0:0", diff --git a/tests/topotests/bgp_bmp/bmp1/bmp-withdraw-pre-policy-step2.json b/tests/topotests/bgp_bmp/bmp1/bmp-withdraw-pre-policy-step2.json index eea7501b22..92b8f52517 100644 --- a/tests/topotests/bgp_bmp/bmp1/bmp-withdraw-pre-policy-step2.json +++ b/tests/topotests/bgp_bmp/bmp1/bmp-withdraw-pre-policy-step2.json @@ -6,7 +6,7 @@ "bmp_log_type": "withdraw", "ip_prefix": "2001::1111/128", "ipv6": true, - "label": 0, + "label": 524288, "peer_asn": 65502, "peer_bgp_id": "192.168.0.2", "peer_distinguisher": "0:0", @@ -21,7 +21,7 @@ "bmp_log_type": "withdraw", "ip_prefix": "172.31.0.15/32", "ipv6": false, - "label": 0, + "label": 524288, "peer_asn": 65502, "peer_bgp_id": "192.168.0.2", "peer_distinguisher": "0:0", diff --git a/tests/topotests/bgp_bmp/bmp1import/bmp-withdraw-loc-rib-step2.json b/tests/topotests/bgp_bmp/bmp1import/bmp-withdraw-loc-rib-step2.json index 1e5040ba60..20510a1e00 100644 --- a/tests/topotests/bgp_bmp/bmp1import/bmp-withdraw-loc-rib-step2.json +++ b/tests/topotests/bgp_bmp/bmp1import/bmp-withdraw-loc-rib-step2.json @@ -6,7 +6,7 @@ "bmp_log_type": "withdraw", "ip_prefix": "172.31.0.15/32", "is_filtered": false, - "label": 0, + "label": 524288, "peer_asn": 65501, "peer_bgp_id": "192.168.0.1", "peer_distinguisher": "0:0", @@ -20,7 +20,7 @@ "bmp_log_type": "withdraw", "ip_prefix": "2001::1111/128", "is_filtered": false, - "label": 0, + "label": 524288, "peer_asn": 65501, "peer_bgp_id": "192.168.0.1", "peer_distinguisher": "0:0",