Repository navigation
Expand file tree
/
Copy pathsetup.yml
More file actions
92 lines (82 loc) · 2.19 KB
/
Copy pathsetup.yml
File metadata and controls
92 lines (82 loc) · 2.19 KB
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
name: crpd-evpn-vxlan
mgmt:
network: br-crpd-evpn-vxlan
ipv4-subnet: 10.0.0.0/24
topology:
defaults:
license: junos.lic
kinds:
crpd:
image: crpd:22.4R1-S2.1
nodes:
# spine switches
spine01:
kind: crpd
mgmt-ipv4: 10.0.0.2
ports:
- 10022:10022
startup-config: spine01/config
spine02:
kind: crpd
mgmt-ipv4: 10.0.0.3
ports:
- 10122:10122
startup-config: spine02/config
# leaf switches
west-leaf01:
kind: crpd
mgmt-ipv4: 10.0.0.4
ports:
- 10222:10222
startup-config: west-leaf01/config
west-leaf02:
kind: crpd
mgmt-ipv4: 10.0.0.5
ports:
- 10322:10322
startup-config: west-leaf02/config
east-leaf03:
kind: crpd
mgmt-ipv4: 10.0.0.6
ports:
- 10422:10422
startup-config: east-leaf03/config
border-leaf04:
kind: crpd
mgmt-ipv4: 10.0.0.7
ports:
- 10522:10522
startup-config: border-leaf04/config
# firewall
firewall01:
kind: crpd
mgmt-ipv4: 10.0.0.8
ports:
- 10622:10622
startup-config: firewall01/config
# clients
west-client1:
kind: linux
image: wbitt/network-multitool:alpine-extra
mgmt-ipv4: 10.0.0.10
west-client2:
kind: linux
image: wbitt/network-multitool:alpine-extra
mgmt-ipv4: 10.0.0.11
east-client3:
kind: linux
image: wbitt/network-multitool:alpine-extra
mgmt-ipv4: 10.0.0.12
links:
- endpoints: ["spine01:eth1", "west-leaf01:eth1"]
- endpoints: ["spine01:eth2", "west-leaf02:eth1"]
- endpoints: ["spine01:eth3", "east-leaf03:eth1"]
- endpoints: ["spine01:eth4", "border-leaf04:eth1"]
- endpoints: ["spine02:eth1", "west-leaf01:eth2"]
- endpoints: ["spine02:eth2", "west-leaf02:eth2"]
- endpoints: ["spine02:eth3", "east-leaf03:eth2"]
- endpoints: ["spine02:eth4", "border-leaf04:eth2"]
- endpoints: ["west-client1:eth1", "west-leaf01:eth3"]
- endpoints: ["west-client2:eth1", "west-leaf02:eth3"]
- endpoints: ["east-client3:eth1", "east-leaf03:eth3"]
- endpoints: ["firewall01:eth1", "border-leaf04:eth3"]