Skip to content

Commit 80d3a2b

Browse files
authored
Merge pull request FRRouting#15679 from cscarpitta/test-srv6-sid-manager
tests: Add topotest to validate the sharing of an SRv6 locator among multiple protocols
2 parents 7779937 + c7f4753 commit 80d3a2b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+6519
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
frr defaults traditional
2+
!
3+
hostname ce1
4+
password zebra
5+
!
6+
log stdout notifications
7+
log commands
8+
log file bgpd.log
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"::/0": [
3+
{
4+
"prefix": "::/0",
5+
"protocol": "static",
6+
"vrfId": 0,
7+
"vrfName": "default",
8+
"selected": true,
9+
"destSelected": true,
10+
"distance": 1,
11+
"metric": 0,
12+
"installed": true,
13+
"table": 254,
14+
"internalStatus": 16,
15+
"internalFlags": 73,
16+
"internalNextHopNum": 1,
17+
"internalNextHopActiveNum": 1,
18+
"nexthops": [
19+
{
20+
"flags": 3,
21+
"fib": true,
22+
"ip": "2001:1::1",
23+
"afi": "ipv6",
24+
"interfaceName": "eth-rt1",
25+
"active": true,
26+
"weight": 1
27+
}
28+
]
29+
}
30+
],
31+
"2001:1::/64": [
32+
{
33+
"prefix": "2001:1::/64",
34+
"protocol": "connected",
35+
"vrfId": 0,
36+
"vrfName": "default",
37+
"selected": true,
38+
"destSelected": true,
39+
"distance": 0,
40+
"metric": 0,
41+
"installed": true,
42+
"table": 254,
43+
"internalStatus": 16,
44+
"internalFlags": 8,
45+
"internalNextHopNum": 1,
46+
"internalNextHopActiveNum": 1,
47+
"nexthops": [
48+
{
49+
"flags": 3,
50+
"fib": true,
51+
"directlyConnected": true,
52+
"interfaceName": "eth-rt1",
53+
"active": true
54+
}
55+
]
56+
}
57+
]
58+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
log file zebra.log
2+
!
3+
hostname ce1
4+
!
5+
interface eth-rt1
6+
ipv6 address 2001:1::2/64
7+
!
8+
ip forwarding
9+
ipv6 forwarding
10+
!
11+
ipv6 route ::/0 2001:1::1
12+
!
13+
line vty
14+
!
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
frr defaults traditional
2+
!
3+
hostname ce2
4+
password zebra
5+
!
6+
log stdout notifications
7+
log commands
8+
log file bgpd.log
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"::/0": [
3+
{
4+
"prefix": "::/0",
5+
"protocol": "static",
6+
"vrfId": 0,
7+
"vrfName": "default",
8+
"selected": true,
9+
"destSelected": true,
10+
"distance": 1,
11+
"metric": 0,
12+
"installed": true,
13+
"table": 254,
14+
"internalStatus": 16,
15+
"internalFlags": 73,
16+
"internalNextHopNum": 1,
17+
"internalNextHopActiveNum": 1,
18+
"nexthops": [
19+
{
20+
"flags": 3,
21+
"fib": true,
22+
"ip": "2001:2::1",
23+
"afi": "ipv6",
24+
"interfaceName": "eth-rt6",
25+
"active": true,
26+
"weight": 1
27+
}
28+
]
29+
}
30+
],
31+
"2001:2::/64": [
32+
{
33+
"prefix": "2001:2::/64",
34+
"protocol": "connected",
35+
"vrfId": 0,
36+
"vrfName": "default",
37+
"selected": true,
38+
"destSelected": true,
39+
"distance": 0,
40+
"metric": 0,
41+
"installed": true,
42+
"table": 254,
43+
"internalStatus": 16,
44+
"internalFlags": 8,
45+
"internalNextHopNum": 1,
46+
"internalNextHopActiveNum": 1,
47+
"nexthops": [
48+
{
49+
"flags": 3,
50+
"fib": true,
51+
"directlyConnected": true,
52+
"interfaceName": "eth-rt6",
53+
"active": true
54+
}
55+
]
56+
}
57+
]
58+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
log file zebra.log
2+
!
3+
hostname ce2
4+
!
5+
interface eth-rt6
6+
ipv6 address 2001:2::2/64
7+
!
8+
ip forwarding
9+
ipv6 forwarding
10+
!
11+
ipv6 route ::/0 2001:2::1
12+
!
13+
line vty
14+
!
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
frr defaults traditional
2+
!
3+
hostname ce3
4+
password zebra
5+
!
6+
log stdout notifications
7+
log commands
8+
log file bgpd.log
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"::/0": [
3+
{
4+
"prefix": "::/0",
5+
"protocol": "static",
6+
"vrfId": 0,
7+
"vrfName": "default",
8+
"selected": true,
9+
"destSelected": true,
10+
"distance": 1,
11+
"metric": 0,
12+
"installed": true,
13+
"table": 254,
14+
"internalStatus": 16,
15+
"internalFlags": 73,
16+
"internalNextHopNum": 1,
17+
"internalNextHopActiveNum": 1,
18+
"nexthops": [
19+
{
20+
"flags": 3,
21+
"fib": true,
22+
"ip": "2001:3::1",
23+
"afi": "ipv6",
24+
"interfaceName": "eth-rt1",
25+
"active": true,
26+
"weight": 1
27+
}
28+
]
29+
}
30+
],
31+
"2001:3::/64": [
32+
{
33+
"prefix": "2001:3::/64",
34+
"protocol": "connected",
35+
"vrfId": 0,
36+
"vrfName": "default",
37+
"selected": true,
38+
"destSelected": true,
39+
"distance": 0,
40+
"metric": 0,
41+
"installed": true,
42+
"table": 254,
43+
"internalStatus": 16,
44+
"internalFlags": 8,
45+
"internalNextHopNum": 1,
46+
"internalNextHopActiveNum": 1,
47+
"nexthops": [
48+
{
49+
"flags": 3,
50+
"fib": true,
51+
"directlyConnected": true,
52+
"interfaceName": "eth-rt1",
53+
"active": true
54+
}
55+
]
56+
}
57+
]
58+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
log file zebra.log
2+
!
3+
hostname ce3
4+
!
5+
interface eth-rt1
6+
ipv6 address 2001:3::2/64
7+
!
8+
ip forwarding
9+
ipv6 forwarding
10+
!
11+
ipv6 route ::/0 2001:3::1
12+
!
13+
line vty
14+
!
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
frr defaults traditional
2+
!
3+
hostname ce4
4+
password zebra
5+
!
6+
log stdout notifications
7+
log commands
8+
log file bgpd.log
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"::/0": [
3+
{
4+
"prefix": "::/0",
5+
"protocol": "static",
6+
"vrfId": 0,
7+
"vrfName": "default",
8+
"selected": true,
9+
"destSelected": true,
10+
"distance": 1,
11+
"metric": 0,
12+
"installed": true,
13+
"table": 254,
14+
"internalStatus": 16,
15+
"internalFlags": 73,
16+
"internalNextHopNum": 1,
17+
"internalNextHopActiveNum": 1,
18+
"nexthops": [
19+
{
20+
"flags": 3,
21+
"fib": true,
22+
"ip": "2001:4::1",
23+
"afi": "ipv6",
24+
"interfaceName": "eth-rt6",
25+
"active": true,
26+
"weight": 1
27+
}
28+
]
29+
}
30+
],
31+
"2001:4::/64": [
32+
{
33+
"prefix": "2001:4::/64",
34+
"protocol": "connected",
35+
"vrfId": 0,
36+
"vrfName": "default",
37+
"selected": true,
38+
"destSelected": true,
39+
"distance": 0,
40+
"metric": 0,
41+
"installed": true,
42+
"table": 254,
43+
"internalStatus": 16,
44+
"internalFlags": 8,
45+
"internalNextHopNum": 1,
46+
"internalNextHopActiveNum": 1,
47+
"nexthops": [
48+
{
49+
"flags": 3,
50+
"fib": true,
51+
"directlyConnected": true,
52+
"interfaceName": "eth-rt6",
53+
"active": true
54+
}
55+
]
56+
}
57+
]
58+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
log file zebra.log
2+
!
3+
hostname ce4
4+
!
5+
interface eth-rt6
6+
ipv6 address 2001:4::2/64
7+
!
8+
ip forwarding
9+
ipv6 forwarding
10+
!
11+
ipv6 route ::/0 2001:4::1
12+
!
13+
line vty
14+
!
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
frr defaults traditional
2+
!
3+
hostname ce5
4+
password zebra
5+
!
6+
log stdout notifications
7+
log commands
8+
log file bgpd.log
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"::/0": [
3+
{
4+
"prefix": "::/0",
5+
"protocol": "static",
6+
"vrfId": 0,
7+
"vrfName": "default",
8+
"selected": true,
9+
"destSelected": true,
10+
"distance": 1,
11+
"metric": 0,
12+
"installed": true,
13+
"table": 254,
14+
"internalStatus": 16,
15+
"internalFlags": 73,
16+
"internalNextHopNum": 1,
17+
"internalNextHopActiveNum": 1,
18+
"nexthops": [
19+
{
20+
"flags": 3,
21+
"fib": true,
22+
"ip": "2001:5::1",
23+
"afi": "ipv6",
24+
"interfaceName": "eth-rt1",
25+
"active": true,
26+
"weight": 1
27+
}
28+
]
29+
}
30+
],
31+
"2001:5::/64": [
32+
{
33+
"prefix": "2001:5::/64",
34+
"protocol": "connected",
35+
"vrfId": 0,
36+
"vrfName": "default",
37+
"selected": true,
38+
"destSelected": true,
39+
"distance": 0,
40+
"metric": 0,
41+
"installed": true,
42+
"table": 254,
43+
"internalStatus": 16,
44+
"internalFlags": 8,
45+
"internalNextHopNum": 1,
46+
"internalNextHopActiveNum": 1,
47+
"nexthops": [
48+
{
49+
"flags": 3,
50+
"fib": true,
51+
"directlyConnected": true,
52+
"interfaceName": "eth-rt1",
53+
"active": true
54+
}
55+
]
56+
}
57+
]
58+
}

0 commit comments

Comments
 (0)