-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
0d5519a
commit d1545c7
Showing
9 changed files
with
326 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
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,54 @@ | ||
{ | ||
"routes": { | ||
"fd00:500::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "", | ||
"nexthops": [ | ||
{ | ||
"ip": "::", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:600::/64": [ | ||
{ | ||
"valid": true, | ||
"multipath": true, | ||
"path": "65000 65600", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:2::3", | ||
"afi": "ipv6", | ||
"scope": "global" | ||
}, | ||
{ | ||
"afi": "ipv6", | ||
"scope": "link-local", | ||
"used": true | ||
} | ||
] | ||
}, | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65000 65600", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:1::2", | ||
"afi": "ipv6", | ||
"scope": "global" | ||
}, | ||
{ | ||
"afi": "ipv6", | ||
"scope": "link-local", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
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,33 @@ | ||
{ | ||
"routes": { | ||
"fd00:500::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65500", | ||
"nexthops": [ | ||
{ | ||
"afi": "ipv6", | ||
"scope": "link-local", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:600::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65600", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:1000::6", | ||
"scope": "global", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
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,33 @@ | ||
{ | ||
"routes": { | ||
"fd00:500::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65500", | ||
"nexthops": [ | ||
{ | ||
"afi": "ipv6", | ||
"scope": "link-local", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:600::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65600", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:1000::6", | ||
"scope": "global", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
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,34 @@ | ||
{ | ||
"routes": { | ||
"fd00:500::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65500", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:1000::2", | ||
"afi": "ipv6", | ||
"scope": "global", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:600::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65600", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:1000::6", | ||
"scope": "global", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
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 @@ | ||
../r4/bgp_ipv6_step2.json |
32 changes: 32 additions & 0 deletions
32
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,32 @@ | ||
{ | ||
"routes": { | ||
"fd00:500::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:1000::2", | ||
"afi": "ipv6", | ||
"scope": "global", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:600::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65600", | ||
"nexthops": [ | ||
{ | ||
"afi": "ipv6", | ||
"scope": "link-local", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
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,37 @@ | ||
{ | ||
"routes": { | ||
"fd00:500::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65000 65500", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:0:9::6", | ||
"afi": "ipv6", | ||
"scope": "global" | ||
}, | ||
{ | ||
"afi": "ipv6", | ||
"scope": "link-local", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:600::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "", | ||
"nexthops": [ | ||
{ | ||
"ip": "::", | ||
"afi": "ipv6", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
tests/topotests/bgp_nexthop_mp_ipv4_6/rr1/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,47 @@ | ||
{ | ||
"routes": { | ||
"fd00:500::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65500", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:1000::2", | ||
"afi": "ipv6", | ||
"scope": "global", | ||
"used": true | ||
} | ||
] | ||
}, | ||
{ | ||
"valid": true, | ||
"multipath": true, | ||
"path": "65500", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:1000::3", | ||
"afi": "ipv6", | ||
"scope": "global", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"fd00:600::/64": [ | ||
{ | ||
"valid": true, | ||
"bestpath": true, | ||
"path": "65600", | ||
"nexthops": [ | ||
{ | ||
"ip": "fd00:1000::6", | ||
"afi": "ipv6", | ||
"scope": "global", | ||
"used": true | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
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