-
Notifications
You must be signed in to change notification settings - Fork 0
/
.srl_unnumbered.yml.bak
193 lines (186 loc) · 5.96 KB
/
.srl_unnumbered.yml.bak
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
181
182
183
184
185
186
187
188
189
190
191
192
193
name: srl_unnumbered
prefix: ""
topology:
defaults:
kind: nokia_srlinux
kinds:
nokia_srlinux:
image: ghcr.io/nokia/srlinux:23.10.2
nokia_sros:
image: vrnetlab/nokia-sros:23.10.R3
license: ./license.txt
linux:
image: quay.io/frrouting/frr:9.0.2
#########################################################
nodes:
dcgw1:
kind: nokia_sros
type: sr-1
startup-config: ./startup_configs/dcgw1.partial.cfg
dcgw2:
kind: nokia_sros
type: sr-1
startup-config: ./startup_configs/dcgw2.partial.cfg
spine1:
type: ixrd3l
startup-config: ./startup_configs/spine1.cfg
spine2:
type: ixrd3l
startup-config: ./startup_configs/spine2.cfg
b-leaf1:
type: ixrd2l
startup-config: ./startup_configs/b-leaf1.cfg
b-leaf2:
type: ixrd2l
startup-config: ./startup_configs/b-leaf2.cfg
leaf1:
type: ixrd2l
startup-config: ./startup_configs/leaf1.cfg
leaf2:
type: ixrd2l
startup-config: ./startup_configs/leaf2.cfg
leaf3:
type: ixrd2l
startup-config: ./startup_configs/leaf3.cfg
leaf4:
type: ixrd2l
startup-config: ./startup_configs/leaf4.cfg
#########################################################
frr1:
kind: linux
binds:
- startup_configs/frr1.conf:/etc/frr/frr.conf
- startup_configs/frr-daemons.conf:/etc/frr/daemons
exec:
- ip link set dev eth0 down
frr2:
kind: linux
binds:
- startup_configs/frr2.conf:/etc/frr/frr.conf
- startup_configs/frr-daemons.conf:/etc/frr/daemons
exec:
- ip link set dev eth0 down
frr3:
kind: linux
binds:
- startup_configs/frr3.conf:/etc/frr/frr.conf
- startup_configs/frr-daemons.conf:/etc/frr/daemons
exec:
- ip link set dev eth0 down
frr4:
kind: linux
binds:
- startup_configs/frr4.conf:/etc/frr/frr.conf
- startup_configs/frr-daemons.conf:/etc/frr/daemons
exec:
- ip link set dev eth0 down
frr5:
kind: linux
binds:
- startup_configs/frr5.conf:/etc/frr/frr.conf
- startup_configs/frr-daemons.conf:/etc/frr/daemons
exec:
- ip link set dev eth0 down
collector:
kind: linux
image: corfr/tcpdump
exec:
- ip route del default
- ip addr add 5.5.5.5/24 dev eth1
- ip route add default via 5.5.5.1
###### Bridge Rack 1 ######
nokia-br-dummy1:
kind: bridge
nokia-br-dummy2:
kind: bridge
nokia-br-dummy3:
kind: bridge
nokia-br-dummy4:
kind: bridge
nokia-br-dummy5:
kind: bridge
nokia-br-11:
kind: bridge
nokia-br-12:
kind: bridge
nokia-br-13:
kind: bridge
nokia-br-14:
kind: bridge
###### Bridge Rack 2 ######
nokia-br-21:
kind: bridge
nokia-br-22:
kind: bridge
nokia-br-23:
kind: bridge
nokia-br-24:
kind: bridge
############################
links:
# DCGW - Spine
- endpoints: ["dcgw1:eth1", "spine1:e1-21"]
- endpoints: ["dcgw1:eth2", "spine2:e1-21"]
- endpoints: ["dcgw2:eth1", "spine1:e1-22"]
- endpoints: ["dcgw2:eth2", "spine2:e1-22"]
# Border Leaf - Spine
- endpoints: ["b-leaf1:e1-49", "spine1:e1-31"]
- endpoints: ["b-leaf1:e1-50", "spine2:e1-31"]
- endpoints: ["b-leaf2:e1-49", "spine1:e1-32"]
- endpoints: ["b-leaf2:e1-50", "spine2:e1-32"]
# Spine1 - Leaf
- endpoints: ["spine1:e1-1", "leaf1:e1-49"]
- endpoints: ["spine1:e1-2", "leaf2:e1-49"]
- endpoints: ["spine1:e1-3", "leaf3:e1-49"]
- endpoints: ["spine1:e1-4", "leaf4:e1-49"]
# Spine2 - Leaf
- endpoints: ["spine2:e1-1", "leaf1:e1-50"]
- endpoints: ["spine2:e1-2", "leaf2:e1-50"]
- endpoints: ["spine2:e1-3", "leaf3:e1-50"]
- endpoints: ["spine2:e1-4", "leaf4:e1-50"]
# Leaf1 - Bridge 11&13
- endpoints: ["leaf1:e1-1", "nokia-br-11:bruplink11"]
- endpoints: ["leaf1:e1-2", "nokia-br-13:bruplink13"]
# Leaf2 - Bridge 12&14
- endpoints: ["leaf2:e1-1", "nokia-br-12:bruplink12"]
- endpoints: ["leaf2:e1-2", "nokia-br-14:bruplink14"]
# Leaf3 - Bridge 21&23
- endpoints: ["leaf3:e1-1", "nokia-br-21:bruplink21"]
- endpoints: ["leaf3:e1-2", "nokia-br-23:bruplink23"]
# Leaf4 - Bridge 22&24
- endpoints: ["leaf4:e1-1", "nokia-br-22:bruplink22"]
- endpoints: ["leaf4:e1-2", "nokia-br-24:bruplink24"]
# frr-1 - Bridge
- endpoints: ["frr1:eth1", "nokia-br-11:11"]
- endpoints: ["frr1:eth2", "nokia-br-12:12"]
- endpoints: ["frr1:eth3", "nokia-br-13:13"]
- endpoints: ["frr1:eth4", "nokia-br-14:14"]
- endpoints: ["frr1:eth5", "nokia-br-dummy1:15"]
- endpoints: ["frr1:eth6", "nokia-br-dummy1:16"]
# frr-2 - Bridge
- endpoints: ["frr2:eth1", "nokia-br-11:21"]
- endpoints: ["frr2:eth2", "nokia-br-12:22"]
- endpoints: ["frr2:eth3", "nokia-br-13:23"]
- endpoints: ["frr2:eth4", "nokia-br-14:24"]
- endpoints: ["frr2:eth5", "nokia-br-dummy2:25"]
- endpoints: ["frr2:eth6", "nokia-br-dummy2:26"]
# frr-3 - Bridge
- endpoints: ["frr3:eth1", "nokia-br-21:31"]
- endpoints: ["frr3:eth2", "nokia-br-22:32"]
- endpoints: ["frr3:eth3", "nokia-br-23:33"]
- endpoints: ["frr3:eth4", "nokia-br-24:34"]
- endpoints: ["frr3:eth5", "nokia-br-dummy3:35"]
- endpoints: ["frr3:eth6", "nokia-br-dummy3:36"]
# frr-4 - Bridge
- endpoints: ["frr4:eth1", "nokia-br-21:41"]
- endpoints: ["frr4:eth2", "nokia-br-22:42"]
- endpoints: ["frr4:eth3", "nokia-br-23:43"]
- endpoints: ["frr4:eth4", "nokia-br-24:44"]
- endpoints: ["frr4:eth5", "nokia-br-dummy4:45"]
- endpoints: ["frr4:eth6", "nokia-br-dummy4:46"]
# frr-5 - Bridge & DCGW ( Attached to DCGW simulating Internet )
- endpoints: ["frr5:eth1", "dcgw1:eth10"]
- endpoints: ["frr5:eth2", "dcgw2:eth10"]
- endpoints: ["frr5:eth3", "nokia-br-dummy5:55"]
# sflow collector -- b-leaf1
- endpoints: ["b-leaf1:e1-10", "collector:eth1"]