-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnokia-sros-segw.clab.yml
140 lines (125 loc) · 3.72 KB
/
nokia-sros-segw.clab.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
#topology documentation: http://containerlab.dev/lab-examples/srl-ceos/
name: segw-sros-01
topology:
nodes:
srl1:
kind: srl
image: ghcr.io/nokia/srlinux
startup-config: ./configs/srl1.cfg
srl2:
kind: srl
image: ghcr.io/nokia/srlinux
startup-config: ./configs/srl2.cfg
srl3:
kind: srl
image: ghcr.io/nokia/srlinux
startup-config: ./configs/srl3.cfg
sros1:
kind: vr-sros
image: vrnetlab/vr-sros:22.10.R1 # internal image, external users should build/use their own image
type: sr-1e
license: license-sros22.txt # license file must be obtained from Nokia
startup-config: ./configs/sros1.cfg
env:
# boot delay in seconds
BOOT_DELAY: 30
sros2:
kind: vr-sros
image: vrnetlab/vr-sros:22.10.R1
type: sr-1e
license: license-sros22.txt
startup-config: ./configs/sros2.cfg
env:
# boot delay in seconds
BOOT_DELAY: 90
sros3:
kind: vr-sros
image: vrnetlab/vr-sros:22.10.R1
type: sr-1e
license: license-sros22.txt
startup-config: ./configs/sros3.cfg
env:
# boot delay in seconds
BOOT_DELAY: 150
sros4:
kind: vr-sros
image: vrnetlab/vr-sros:22.10.R1
type: sr-1e
license: license-sros22.txt
startup-config: ./configs/sros4.cfg
env:
# boot delay in seconds
BOOT_DELAY: 210
ixia-c:
kind: keysight_ixia-c-one
image: ghcr.io/open-traffic-generator/ixia-c-one:0.0.1-3423
exec:
- "./ifcfg add eth1 10.1.1.1 24" # modify accordingly and don't forget MAC addresses in the otg script
- "./ifcfg add eth2 10.2.2.1 24"
bridgea:
kind: bridge # to be crated separately (nmcli, brctl, shell script, depends on your distribution)
bridgeb:
kind: bridge
bridgec:
kind: bridge
bridged:
kind: bridge
bridgee:
kind: bridge
bridgef:
kind: bridge
bridgeg:
kind: bridge
bridgei:
kind: bridge
bridgej:
kind: bridge
bridgek:
kind: bridge
bridgew:
kind: bridge
bridgez:
kind: bridge
bridge-tg:
kind: bridge
bridge-tg2:
kind: bridge
links:
- endpoints: ["srl1:e1-2", "bridgea:eth1"]
- endpoints: ["sros1:eth1", "bridgea:eth2"]
##
- endpoints: ["srl1:e1-1", "bridgeb:eth3"]
- endpoints: ["srl2:e1-1", "bridgeb:eth4"]
##
- endpoints: ["srl2:e1-2", "bridgec:eth5"]
- endpoints: ["sros1:eth2", "bridgec:eth6"]
##
- endpoints: ["sros2:eth1", "bridged:eth1d"]
- endpoints: ["srl1:e1-3", "bridged:eth2d"]
- endpoints: ["sros2:eth2", "bridgee:eth1e"]
- endpoints: ["srl2:e1-3", "bridgee:eth2e"]
##
- endpoints: ["sros3:eth1", "bridgef:eth1f"]
- endpoints: ["srl1:e1-4", "bridgef:eth2f"]
- endpoints: ["sros3:eth2", "bridgeg:eth1g"]
- endpoints: ["srl2:e1-4", "bridgeg:eth2g"]
##
- endpoints: ["srl3:e1-1", "bridgei:eth1i"]
- endpoints: ["srl3:e1-2", "bridgej:eth1j"]
- endpoints: ["srl3:e1-3", "bridgek:eth1k"]
##
- endpoints: ["sros1:eth3", "bridgei:eth2i"]
- endpoints: ["sros2:eth3", "bridgej:eth2j"]
- endpoints: ["sros3:eth3", "bridgek:eth2k"]
##
- endpoints: ["bridgew:eth1w", "srl1:e1-5"]
- endpoints: ["bridgez:eth1z", "srl2:e1-5"]
- endpoints: ["bridgew:eth2w", "sros4:eth1"]
- endpoints: ["bridgez:eth2z", "sros4:eth2"]
##direct link sros4-sros1
- endpoints: ["sros1:eth5", "sros4:eth5"]
##
- endpoints: ["bridge-tg:eth-tg1", "srl3:e1-5"]
- endpoints: ["bridge-tg:eth-tg2", "ixia-c:eth2"]
- endpoints: ["bridge-tg2:eth-tg3","ixia-c:eth1"]
- endpoints: ["bridge-tg2:eth-tg4","sros4:eth3"]