From c8bafbe77e27dee91ca567e8eec24b7e7e2f7927 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 21f36089b6dd..6738d4575072 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 21f36089b6dd..807806ff8db0 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",