-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnokia-evpn.clab.yml
89 lines (74 loc) · 2.16 KB
/
nokia-evpn.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
name: evpn
topology:
kinds:
srl:
image: ghcr.io/nokia/srlinux:22.6.2
vr-sros:
image: registry.srlinux.dev/pub/vr-sros:22.7.R1 # internal image, external users should build/use their own image
license: ./license_sr.key # license file must be obtained from Nokia
linux:
image: ghcr.io/hellt/network-multitool
nodes:
dcgw1:
kind: vr-sros
type: sr-1
startup-config: ./configs/dcgw1.cfg
dcgw2:
kind: vr-sros
type: sr-1
startup-config: ./configs/dcgw2.cfg
spine1:
kind: srl
type: ixrd3
startup-config: ./configs/spine1.cfg
spine2:
kind: srl
type: ixrd3
startup-config: ./configs/spine2.cfg
leaf1:
kind: srl
type: ixrd2
startup-config: ./configs/leaf1.cfg
leaf2:
kind: srl
type: ixrd2
startup-config: ./configs/leaf2.cfg
leaf3:
kind: srl
type: ixrd2
startup-config: ./configs/leaf3.cfg
leaf4:
kind: srl
type: ixrd2
startup-config: ./configs/leaf4.cfg
client1:
kind: linux
binds:
- ./configs/eth1.sh:/tmp/eth1.sh
exec:
- bash /tmp/eth1.sh
- ip addr add 192.168.1.10/24 dev bond0.1
client2:
kind: linux
binds:
- ./configs/eth1.sh:/tmp/eth1.sh
exec:
- bash /tmp/eth1.sh
- ip addr add 192.168.1.20/24 dev bond0.1
links:
- endpoints: ["dcgw1:eth1", "spine1:e1-31"]
- endpoints: ["dcgw1:eth2", "spine2:e1-31"]
- endpoints: ["dcgw2:eth1", "spine1:e1-32"]
- endpoints: ["dcgw2:eth2", "spine2:e1-32"]
- endpoints: ["spine1:e1-11", "leaf1:e1-51"]
- endpoints: ["spine1:e1-12", "leaf2:e1-51"]
- endpoints: ["spine1:e1-13", "leaf3:e1-51"]
- endpoints: ["spine1:e1-14", "leaf4:e1-51"]
- endpoints: ["spine2:e1-11", "leaf1:e1-52"]
- endpoints: ["spine2:e1-12", "leaf2:e1-52"]
- endpoints: ["spine2:e1-13", "leaf3:e1-52"]
- endpoints: ["spine2:e1-14", "leaf4:e1-52"]
- endpoints: ["leaf1:e1-1", "client1:eth1"]
- endpoints: ["leaf2:e1-1", "client1:eth2"]
- endpoints: ["leaf3:e1-1", "client2:eth1"]
- endpoints: ["leaf4:e1-1", "client2:eth2"]