-
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.
Merge pull request #17707 from gromit1811/pr16811_rebased
tests: cleanup ospf6 ecmp inter area
- Loading branch information
Showing
6 changed files
with
448 additions
and
54 deletions.
There are no files selected for viewing
155 changes: 155 additions & 0 deletions
155
tests/topotests/ospf6_ecmp_inter_area/r1/show_ipv6_routes_ospf6-1.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,155 @@ | ||
{ | ||
"2001:db8:2::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:3::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth1", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:4::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:5::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:6::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 2, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
}, | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth1", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:7::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 3, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
}, | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
}, | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth1", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:8::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 3, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
}, | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
}, | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth1", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:8007::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 3, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
}, | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
}, | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth1", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:8008::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 3, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
}, | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
}, | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth1", | ||
"active": true | ||
} | ||
] | ||
} | ||
] | ||
} |
130 changes: 130 additions & 0 deletions
130
tests/topotests/ospf6_ecmp_inter_area/r1/show_ipv6_routes_ospf6-2.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,130 @@ | ||
{ | ||
"2001:db8:2::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:3::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth1", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:4::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:5::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:6::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:7::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 2, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
}, | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:8::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 2, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
}, | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:8007::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 2, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
}, | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:8008::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 2, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
}, | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
} | ||
] | ||
} | ||
] | ||
} |
110 changes: 110 additions & 0 deletions
110
tests/topotests/ospf6_ecmp_inter_area/r1/show_ipv6_routes_ospf6-3.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,110 @@ | ||
{ | ||
"2001:db8:2::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth0", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:3::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth1", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:4::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:5::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:6::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:7::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:8::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:8007::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
} | ||
] | ||
} | ||
], | ||
"2001:db8:8008::/64": [ | ||
{ | ||
"internalNextHopActiveNum": 1, | ||
"nexthops": [ | ||
{ | ||
"fib": true, | ||
"interfaceName": "r1-eth2", | ||
"active": true | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.