-
Notifications
You must be signed in to change notification settings - Fork 2
/
topo_with_sros.yml
180 lines (177 loc) · 4.93 KB
/
topo_with_sros.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
name: 4l2s
mgmt:
network: intent-lab
ipv4-subnet: 172.20.21.0/24
topology:
kinds:
srl:
image: ghcr.io/nokia/srlinux:24.3.2
#image: ghcr.io/nokia/srlinux:23.10.2
linux:
image: ghcr.io/hellt/network-multitool
vr-sros:
image: registry.srlinux.dev/pub/vr-sros:23.7.R1
type: sr-1s
license: license.txt
nodes:
d1:
kind: vr-sros
mgmt-ipv4: 172.20.21.21
labels:
role: dcgw
fabric: yes
d2:
kind: vr-sros
mgmt-ipv4: 172.20.21.22
labels:
role: dcgw
fabric: yes
l1:
kind: srl
type: ixrd2
mgmt-ipv4: 172.20.21.11
labels:
role: leaf
fabric: yes
l2:
kind: srl
type: ixrd2
mgmt-ipv4: 172.20.21.12
labels:
role: leaf
fabric: yes
l3:
kind: srl
type: ixrd2
mgmt-ipv4: 172.20.21.13
labels:
role: leaf
fabric: yes
l4:
kind: srl
type: ixrd2
mgmt-ipv4: 172.20.21.14
labels:
role: leaf
fabric: yes
s1:
kind: srl
type: ixrd3l
# type: ixrh2
mgmt-ipv4: 172.20.21.101
labels:
role: spine
fabric: yes
s2:
kind: srl
type: ixrd3l
# type: ixrh2
mgmt-ipv4: 172.20.21.102
labels:
role: spine
fabric: yes
ce121:
kind: srl
type: ixrd2
mgmt-ipv4: 172.20.21.150
labels:
role: ce
fabric: no
ce341:
kind: srl
type: ixrd2
mgmt-ipv4: 172.20.21.151
labels:
role: ce
fabric: no
cl121:
kind: linux
mgmt-ipv4: 172.20.21.133
exec:
- ip link add bond0 type bond mode 802.3ad
- ip link set addr 00:c1:ab:00:01:21 dev bond0
- ip link add link bond0 name bond0.100 type vlan id 100
- ip addr add 10.0.1.2/24 dev bond0.100
- ip link set eth1 down
- ip link set eth2 down
- ip link set eth1 master bond0
- ip link set eth2 master bond0
- ip link set eth1 up
- ip link set eth2 up
- ip link set bond0 up
- ip route add 10.0.0.0/8 via 10.0.1.254
cl122:
kind: linux
mgmt-ipv4: 172.20.21.134
exec:
- ip link add bond0 type bond mode 802.3ad
- ip link set addr 00:c1:ab:00:01:22 dev bond0
- ip link add link bond0 name bond0.200 type vlan id 200
- ip addr add 10.0.2.2/24 dev bond0.200
- ip link set eth1 down
- ip link set eth2 down
- ip link set eth1 master bond0
- ip link set eth2 master bond0
- ip link set eth1 up
- ip link set eth2 up
- ip link set bond0 up
- ip route add 10.0.0.0/8 via 10.0.2.254
cl341:
kind: linux
mgmt-ipv4: 172.20.21.136
exec:
- ip link add bond0 type bond mode 802.3ad
- ip link set addr 00:c1:ab:00:03:41 dev bond0
- ip link add link bond0 name bond0.200 type vlan id 200
- ip addr add 10.0.2.3/24 dev bond0.200
- ip link set eth1 down
- ip link set eth2 down
- ip link set eth1 master bond0
- ip link set eth2 master bond0
- ip link set eth1 up
- ip link set eth2 up
- ip link set bond0 up
- ip route add 10.0.0.0/8 via 10.0.2.254
cl342:
kind: linux
mgmt-ipv4: 172.20.21.137
exec:
- ip link add bond0 type bond mode 802.3ad
- ip link set addr 00:c1:ab:00:03:42 dev bond0
- ip link add link bond0 name bond0.300 type vlan id 300
- ip addr add 10.0.3.2/24 dev bond0.300
- ip link set eth1 down
- ip link set eth2 down
- ip link set eth1 master bond0
- ip link set eth2 master bond0
- ip link set eth1 up
- ip link set eth2 up
- ip link set bond0 up
- ip route add 10.0.0.0/8 via 10.0.3.254
links:
- endpoints: ["s1:e1-32", "d1:eth3"]
- endpoints: ["s1:e1-31", "d2:eth3"]
- endpoints: ["s2:e1-32", "d1:eth2"]
- endpoints: ["s2:e1-31", "d2:eth2"]
- endpoints: ["l1:e1-50", "s1:e1-1"]
- endpoints: ["l1:e1-49", "s2:e1-1"]
- endpoints: ["l2:e1-50", "s1:e1-2"]
- endpoints: ["l2:e1-49", "s2:e1-2"]
- endpoints: ["l3:e1-50", "s1:e1-3"]
- endpoints: ["l3:e1-49", "s2:e1-3"]
- endpoints: ["l4:e1-50", "s1:e1-4"]
- endpoints: ["l4:e1-49", "s2:e1-4"]
- endpoints: ["cl121:eth1", "l1:e1-20"]
- endpoints: ["cl121:eth2", "l2:e1-20"]
- endpoints: ["cl122:eth1", "l1:e1-21"]
- endpoints: ["cl122:eth2", "l2:e1-21"]
- endpoints: ["cl341:eth1", "l3:e1-20"]
- endpoints: ["cl341:eth2", "l4:e1-20"]
- endpoints: ["cl342:eth1", "l3:e1-21"]
- endpoints: ["cl342:eth2", "l4:e1-21"]
- endpoints: ["ce121:e1-1", "l1:e1-30"]
- endpoints: ["ce121:e1-2", "l2:e1-30"]
- endpoints: ["ce121:e1-3", "l1:e1-31"]
- endpoints: ["ce121:e1-4", "l2:e1-31"]
- endpoints: ["ce341:e1-1", "l3:e1-30"]
- endpoints: ["ce341:e1-2", "l4:e1-30"]