Skip to content

tests: Update ospf6_ecmp_inter_area topotest (#16197 regression test, unified config) #18549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
hostname r1
!
!debug ospf6 lsa all
!debug ospf6 message all
!debug ospf6 route all
Expand Down Expand Up @@ -31,6 +33,11 @@
!debug ospf6 asbr
!debug ospf6 nssa
!
ipv6 forwarding
!
interface lo
ipv6 address 2001:db8:1::1/64
!
interface r1-eth0
ipv6 ospf6 area 0
ipv6 ospf6 hello-interval 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,23 @@
]
}
],
"2001:db8:9::/64": [
{
"internalNextHopActiveNum": 2,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth2",
"active": true
},
{
"fib": true,
"interfaceName": "r1-eth1",
"active": true
}
]
}
],
"2001:db8:8007::/64": [
{
"internalNextHopActiveNum": 3,
Expand Down Expand Up @@ -151,5 +168,22 @@
}
]
}
],
"2001:db8:8009::/64": [
{
"internalNextHopActiveNum": 2,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth2",
"active": true
},
{
"fib": true,
"interfaceName": "r1-eth1",
"active": true
}
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,18 @@
]
}
],
"2001:db8:9::/64": [
{
"internalNextHopActiveNum": 1,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth2",
"active": true
}
]
}
],
"2001:db8:8007::/64": [
{
"internalNextHopActiveNum": 2,
Expand Down Expand Up @@ -126,5 +138,17 @@
}
]
}
],
"2001:db8:8009::/64": [
{
"internalNextHopActiveNum": 1,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth2",
"active": true
}
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,18 @@
]
}
],
"2001:db8:9::/64": [
{
"internalNextHopActiveNum": 1,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth2",
"active": true
}
]
}
],
"2001:db8:8007::/64": [
{
"internalNextHopActiveNum": 1,
Expand All @@ -106,5 +118,17 @@
}
]
}
],
"2001:db8:8009::/64": [
{
"internalNextHopActiveNum": 1,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth2",
"active": true
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"2001:db8:2::/64": [
{
"internalNextHopActiveNum": 1,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth0",
"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": 1,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth0",
"active": true
}
]
}
],
"2001:db8:9::/64": [
{
"internalNextHopActiveNum": 1,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth2",
"active": true
}
]
}
],
"2001:db8:8007::/64": [
{
"internalNextHopActiveNum": 1,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth0",
"active": true
}
]
}
],
"2001:db8:8009::/64": [
{
"internalNextHopActiveNum": 1,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth2",
"active": true
}
]
}
]
}
108 changes: 108 additions & 0 deletions tests/topotests/ospf6_ecmp_inter_area/r1/show_ipv6_routes_ospf6-5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"2001:db8:2::/64": [
{
"internalNextHopActiveNum": 1,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth0",
"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-eth0",
"active": true
},
{
"fib": true,
"interfaceName": "r1-eth2",
"active": true
}
]
}
],
"2001:db8:9::/64": [
{
"internalNextHopActiveNum": 1,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth2",
"active": true
}
]
}
],
"2001:db8:8007::/64": [
{
"internalNextHopActiveNum": 2,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth0",
"active": true
},
{
"fib": true,
"interfaceName": "r1-eth2",
"active": true
}
]
}
],
"2001:db8:8009::/64": [
{
"internalNextHopActiveNum": 1,
"nexthops": [
{
"fib": true,
"interfaceName": "r1-eth2",
"active": true
}
]
}
]
}
5 changes: 0 additions & 5 deletions tests/topotests/ospf6_ecmp_inter_area/r1/zebra.conf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
hostname r2
!
ipv6 forwarding
!
interface lo
ipv6 address 2001:db8:2::1/64
!
interface r2-eth0
ipv6 ospf6 area 0
ipv6 ospf6 hello-interval 2
Expand Down
5 changes: 0 additions & 5 deletions tests/topotests/ospf6_ecmp_inter_area/r2/zebra.conf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
hostname r3
!
ipv6 forwarding
!
interface lo
ipv6 address 2001:db8:3::1/64
!
interface r3-eth0
ipv6 ospf6 area 0
ipv6 ospf6 hello-interval 2
Expand Down
5 changes: 0 additions & 5 deletions tests/topotests/ospf6_ecmp_inter_area/r3/zebra.conf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
hostname r4
!
ipv6 forwarding
!
interface lo
ipv6 address 2001:db8:4::1/64
!
interface r4-eth0
ipv6 ospf6 area 0
ipv6 ospf6 hello-interval 2
Expand Down
Loading
Loading