]> git.puffer.fish Git - matthieu/frr.git/commitdiff
topotests: bgp_nexthop_mp_ipv4_6, test ipv4-mapped
authorLouis Scalbert <louis.scalbert@6wind.com>
Tue, 23 Jul 2024 08:38:04 +0000 (10:38 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Wed, 24 Jul 2024 08:20:11 +0000 (10:20 +0200)
Test that a IPv4-mapped IPv6 is sent from a peer that has no global IPv6
address.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
tests/topotests/bgp_nexthop_mp_ipv4_6/r2/bgp_ipv6_step2.json
tests/topotests/bgp_nexthop_mp_ipv4_6/r3/bgp_ipv6_step2.json

index 21f36089b6dde250d4ec5b0a5bb6d0f3f76f3579..6738d45750721151c73eee550d79cc03e1fa55cd 100644 (file)
@@ -6,6 +6,11 @@
         "bestpath": true,
         "path": "65100",
         "nexthops": [
+          {
+            "ip": "::ffff:ac10:1",
+            "afi": "ipv6",
+            "scope": "global"
+          },
           {
             "afi": "ipv6",
             "scope": "link-local",
index 21f36089b6dde250d4ec5b0a5bb6d0f3f76f3579..807806ff8db0c3576eea3ed7e4722cf877b27491 100644 (file)
@@ -6,6 +6,11 @@
         "bestpath": true,
         "path": "65100",
         "nexthops": [
+          {
+            "ip": "::ffff:ac10:101",
+            "afi": "ipv6",
+            "scope": "global"
+          },
           {
             "afi": "ipv6",
             "scope": "link-local",