-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathevpnlab-tiny.yml
65 lines (55 loc) · 1.42 KB
/
evpnlab-tiny.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
name: evpnlab
mgmt:
network: clabmgmt # management network name
ipv4_subnet: 172.100.100.0/24 # ipv4 range
topology:
kinds:
ceos:
#image: ceosimage:4.26.4M
image: ceosimage:4.27.6M
startup-config: templates/ceos.cfg
linux:
image: evpnlab-host:latest
nodes:
leaf1:
kind: ceos
mgmt_ipv4: 172.100.100.4
leaf2:
kind: ceos
mgmt_ipv4: 172.100.100.5
leaf3:
kind: ceos
mgmt_ipv4: 172.100.100.6
spine1:
kind: ceos
mgmt_ipv4: 172.100.100.11
spine2:
kind: ceos
mgmt_ipv4: 172.100.100.12
h11:
kind: linux
mgmt_ipv4: 172.100.100.21
h12:
kind: linux
mgmt_ipv4: 172.100.100.22
h21:
kind: linux
mgmt_ipv4: 172.100.100.23
h22:
kind: linux
mgmt_ipv4: 172.100.100.24
links:
# spine leaf links
- endpoints: ["leaf1:eth1","spine1:eth1"]
- endpoints: ["leaf2:eth1","spine1:eth2"]
- endpoints: ["leaf3:eth1","spine1:eth3"]
- endpoints: ["leaf1:eth2","spine2:eth1"]
- endpoints: ["leaf2:eth2","spine2:eth2"]
- endpoints: ["leaf3:eth2","spine2:eth3"]
- endpoints: ["leaf2:eth4","leaf3:eth4"]
- endpoints: ["leaf2:eth5","leaf3:eth5"]
# Host connections
- endpoints: ["h11:eth1","leaf1:eth3"]
- endpoints: ["h12:eth1","leaf1:eth4"]
- endpoints: ["h21:eth1","leaf2:eth3"]
- endpoints: ["h22:eth1","leaf3:eth3"]