-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: ipv6 global removal in bgp_nexthop_mp_ipv4_6
Test ipv6 global removal in bgp_nexthop_mp_ipv4_6 Signed-off-by: Louis Scalbert <[email protected]>
- Loading branch information
1 parent
2de4dfc
commit 04c220b
Showing
10 changed files
with
542 additions
and
0 deletions.
There are no files selected for viewing
90 changes: 90 additions & 0 deletions
90
tests/topotests/bgp_nexthop_mp_ipv4_6/r1/bgp_ipv6_step2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{ | ||
"routes": { | ||
"fd00:100::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "", | ||
"nexthops": [ | ||
{ | ||
"ip": "::", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:700::/64": [ | ||
{ | ||
"valid": true, | ||
"multipath": true, | ||
"path": "65000 65700", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:2::3", | ||
"afi": "ipv6", | ||
"scope": "global" | ||
}, | ||
{ | ||
"afi": "ipv6", | ||
"scope": "link-local", | ||
"used": true | ||
} | ||
] | ||
}, | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65000 65700", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:1::2", | ||
"afi": "ipv6", | ||
"scope": "global" | ||
}, | ||
{ | ||
"afi": "ipv6", | ||
"scope": "link-local", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:800::/64": [ | ||
{ | ||
"valid": true, | ||
"multipath": true, | ||
"path": "65000 65800", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:2::3", | ||
"afi": "ipv6", | ||
"scope": "global" | ||
}, | ||
{ | ||
"afi": "ipv6", | ||
"scope": "link-local", | ||
"used": true | ||
} | ||
] | ||
}, | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65000 65800", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:1::2", | ||
"afi": "ipv6", | ||
"scope": "global" | ||
}, | ||
{ | ||
"afi": "ipv6", | ||
"scope": "link-local", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
tests/topotests/bgp_nexthop_mp_ipv4_6/r2/bgp_ipv6_step2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"routes": { | ||
"fd00:100::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65100", | ||
"nexthops": [ | ||
{ | ||
"afi": "ipv6", | ||
"scope": "link-local", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:700::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65700", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:9::7", | ||
"scope": "global", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:800::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65800", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:9::8", | ||
"scope": "global", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
tests/topotests/bgp_nexthop_mp_ipv4_6/r3/bgp_ipv6_step2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"routes": { | ||
"fd00:100::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65100", | ||
"nexthops": [ | ||
{ | ||
"afi": "ipv6", | ||
"scope": "link-local", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:700::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65700", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:9::7", | ||
"scope": "global", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:800::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65800", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:9::8", | ||
"scope": "global", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
tests/topotests/bgp_nexthop_mp_ipv4_6/r4/bgp_ipv6_step2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"routes": { | ||
"fd00:100::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65100", | ||
"nexthops": [ | ||
{ | ||
"ip": "2001:db8::2", | ||
"afi": "ipv6", | ||
"scope": "global", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:700::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65700", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:9::7", | ||
"scope": "global", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:800::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65800", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:9::8", | ||
"scope": "global", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
tests/topotests/bgp_nexthop_mp_ipv4_6/r5/bgp_ipv6_step2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"routes": { | ||
"fd00:100::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65100", | ||
"nexthops": [ | ||
{ | ||
"ip": "2001:db8::2", | ||
"afi": "ipv6", | ||
"scope": "global", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:700::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65700", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:9::7", | ||
"scope": "global", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:800::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65800", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:9::8", | ||
"scope": "global", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
tests/topotests/bgp_nexthop_mp_ipv4_6/r6/bgp_ipv6_step2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"routes": { | ||
"fd00:100::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"nexthops": [ | ||
{ | ||
"ip": "2001:db8::2", | ||
"afi": "ipv6", | ||
"scope": "global", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:700::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65700", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:9::7", | ||
"afi": "ipv6", | ||
"scope": "global", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:800::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65800", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:9::8", | ||
"afi": "ipv6", | ||
"scope": "global", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
tests/topotests/bgp_nexthop_mp_ipv4_6/r7/bgp_ipv6_step2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"routes": { | ||
"fd00:100::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65000 65100", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:9::6", | ||
"afi": "ipv6", | ||
"scope": "global", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:700::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "", | ||
"nexthops": [ | ||
{ | ||
"ip": "::", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:800::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65800", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:9::8", | ||
"afi": "ipv6", | ||
"scope": "global", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.