summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2025-03-26 14:47:44 +0200
committerton31337 <3352707+ton31337@users.noreply.github.com>2025-03-28 15:08:05 +0000
commit9a0f5a080972b3c1546254d457e553527784cf86 (patch)
tree0bc120d7e15c1267f59377c9299108f8e4179538
parentb670864aedb7c318554b5c11c0d9353b98e832d1 (diff)
tests: Use label 0x800000 instead of 0x000000 for BMP testsmergify/bp/stable/10.3/pr-18502
Related-to: 94e2aadf7187d7d695babce21033b5bc8e454f25 ("bgpd: Set the label for MP_UNREACH_NLRI 0x800000 instead of 0x000000") Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> (cherry picked from commit e69459c7144568381c05bbaf962adecd914975d5)
-rw-r--r--tests/topotests/bgp_bmp/bmp1/bmp-withdraw-loc-rib-step2.json4
-rw-r--r--tests/topotests/bgp_bmp/bmp1/bmp-withdraw-post-policy-step2.json4
-rw-r--r--tests/topotests/bgp_bmp/bmp1/bmp-withdraw-pre-policy-step2.json4
-rw-r--r--tests/topotests/bgp_bmp/bmp1import/bmp-withdraw-loc-rib-step2.json4
4 files changed, 8 insertions, 8 deletions
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",