Skip to content

Commit

Permalink
topotests: bgp_nexthop_mp_ipv4_6, test ipv4-mapped
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
louis-6wind committed Oct 7, 2024
1 parent 929a070 commit bd8f81a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/topotests/bgp_nexthop_mp_ipv4_6/r2/bgp_ipv6_step2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
"bestpath": true,
"path": "65100",
"nexthops": [
{
"ip": "::ffff:ac10:1",
"afi": "ipv6",
"scope": "global"
},
{
"afi": "ipv6",
"scope": "link-local",
Expand Down
5 changes: 5 additions & 0 deletions tests/topotests/bgp_nexthop_mp_ipv4_6/r3/bgp_ipv6_step2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
"bestpath": true,
"path": "65100",
"nexthops": [
{
"ip": "::ffff:ac10:101",
"afi": "ipv6",
"scope": "global"
},
{
"afi": "ipv6",
"scope": "link-local",
Expand Down

0 comments on commit bd8f81a

Please sign in to comment.