-
Notifications
You must be signed in to change notification settings - Fork 0
/
sros-evpn-mpls-ldp.clab.yml
95 lines (83 loc) · 2.19 KB
/
sros-evpn-mpls-ldp.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
name: sros-evpn-mpls-ldp
prefix: ""
topology:
defaults:
kind: vr-sros
type: sr-1e
kinds:
vr-sros:
image: ${IMAGE_REPO}vrnetlab/vr-sros:23.10.R1
license: license.txt # Not included in the lab, ask your Nokia representative
linux:
image: ghcr.io/hellt/network-multitool
nodes:
p1:
startup-config: ./configs/p1.partial.cfg
group: spine
p2:
startup-config: ./configs/p2.partial.cfg
group: spine
pe1:
startup-config: ./configs/pe1.partial.cfg
group: leaf
pe2:
startup-config: ./configs/pe2.partial.cfg
group: leaf
pe3:
startup-config: ./configs/pe3.partial.cfg
group: leaf
ce1:
kind: linux
binds:
- ./configs/ce1.sh:/tmp/eth1.sh
env:
PS1: '\h:\w\$ '
exec:
- bash /tmp/eth1.sh
- ip link set eth1.10 address 00:00:00:00:11:11
- ip a add 192.168.10.1/24 dev eth1.10
group: server
ce2:
kind: linux
binds:
- ./configs/ce2.sh:/tmp/eth1.sh
env:
PS1: '\h:\w\$ '
exec:
- bash /tmp/eth1.sh
- ip link set eth1.10 address 00:00:00:00:22:22
- ip a add 192.168.10.2/24 dev eth1.10
group: server
ce3:
kind: linux
binds:
- ./configs/ce3.sh:/tmp/eth1.sh
env:
PS1: '\h:\w\$ '
exec:
- bash /tmp/eth1.sh
- ip link set eth1.20 address 00:00:00:00:33:33
- ip a add 192.168.20.3/24 dev eth1.20
group: server
ce4:
kind: linux
binds:
- ./configs/ce4.sh:/tmp/eth1.sh
env:
PS1: '\h:\w\$ '
exec:
- bash /tmp/eth1.sh
- ip link set eth1.20 address 00:00:00:00:44:44
- ip a add 192.168.20.4/24 dev eth1.20
group: server
links:
- endpoints: ["p1:eth1", "pe1:eth1"]
- endpoints: ["p1:eth2", "pe2:eth1"]
- endpoints: ["p1:eth3", "pe3:eth1"]
- endpoints: ["p2:eth1", "pe1:eth2"]
- endpoints: ["p2:eth2", "pe2:eth2"]
- endpoints: ["p2:eth3", "pe3:eth2"]
- endpoints: ["pe1:eth10", "ce1:eth1"]
- endpoints: ["pe2:eth10", "ce2:eth1"]
- endpoints: ["pe2:eth11", "ce3:eth1"]
- endpoints: ["pe3:eth10", "ce4:eth1"]