From d61843621140cb8c5730786fb7ce738f3ce72e72 Mon Sep 17 00:00:00 2001 From: Louis Scalbert Date: Tue, 23 Jul 2024 10:38:04 +0200 Subject: [PATCH] topotests: bgp_nexthop_mp_ipv4_6, test ipv4-mapped Test that a IPv4-mapped IPv6 is sent from a peer that has no global IPv6 address. Signed-off-by: Louis Scalbert --- tests/topotests/bgp_nexthop_mp_ipv4_6/r2/bgp_ipv6_step2.json | 5 +++++ tests/topotests/bgp_nexthop_mp_ipv4_6/r3/bgp_ipv6_step2.json | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/tests/topotests/bgp_nexthop_mp_ipv4_6/r2/bgp_ipv6_step2.json b/tests/topotests/bgp_nexthop_mp_ipv4_6/r2/bgp_ipv6_step2.json index 21f36089b6..6738d45750 100644 --- a/tests/topotests/bgp_nexthop_mp_ipv4_6/r2/bgp_ipv6_step2.json +++ b/tests/topotests/bgp_nexthop_mp_ipv4_6/r2/bgp_ipv6_step2.json @@ -6,6 +6,11 @@ "bestpath": true, "path": "65100", "nexthops": [ + { + "ip": "::ffff:ac10:1", + "afi": "ipv6", + "scope": "global" + }, { "afi": "ipv6", "scope": "link-local", diff --git a/tests/topotests/bgp_nexthop_mp_ipv4_6/r3/bgp_ipv6_step2.json b/tests/topotests/bgp_nexthop_mp_ipv4_6/r3/bgp_ipv6_step2.json index 21f36089b6..807806ff8d 100644 --- a/tests/topotests/bgp_nexthop_mp_ipv4_6/r3/bgp_ipv6_step2.json +++ b/tests/topotests/bgp_nexthop_mp_ipv4_6/r3/bgp_ipv6_step2.json @@ -6,6 +6,11 @@ "bestpath": true, "path": "65100", "nexthops": [ + { + "ip": "::ffff:ac10:101", + "afi": "ipv6", + "scope": "global" + }, { "afi": "ipv6", "scope": "link-local", -- 2.39.5