-
Notifications
You must be signed in to change notification settings - Fork 9
/
spauto-clab.yml
138 lines (130 loc) · 3.72 KB
/
spauto-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
138
# clab/clab@123
# admin/admin
---
name: "spauto"
mgmt:
network: "spauto"
ipv4_subnet: "172.100.100.0/24"
ipv6_subnet: "2001:172:100:100::/80"
topology:
defaults:
kinds:
ceos:
image: "h4ndzdatm0ld/ceosimage:4.28.0F"
vr-xrv:
image: "h4ndzdatm0ld/vr-xrv:6.1.3"
vr-csr:
image: "h4ndzdatm0ld/vr-csr:17.03.02"
nodes:
# CE Nodes - AS65001 - West
vr-csr-ce-1:
kind: "vr-csr"
mgmt_ipv4: 172.100.100.15
mgmt_ipv6: 2001:172:100:100::15
vr-csr-ce-2:
kind: "vr-csr"
mgmt_ipv4: 172.100.100.20
mgmt_ipv6: 2001:172:100:100::20
ceos_sw_1:
kind: ceos
mgmt_ipv4: 172.100.100.180
mgmt_ipv6: 2001:172:100:100::180
xrv-h1:
kind: "vr-xrv"
mgmt_ipv4: 172.100.100.150
mgmt_ipv6: 2001:172:100:100::150
# CE Nodes - AS65001 - East
vr-csr-ce-3:
kind: "vr-csr"
mgmt_ipv4: 172.100.100.25
mgmt_ipv6: 2001:172:100:100::25
vr-csr-ce-4:
kind: "vr-csr"
mgmt_ipv4: 172.100.100.30
mgmt_ipv6: 2001:172:100:100::30
xrv-h2:
kind: "vr-xrv"
mgmt_ipv4: 172.100.100.155
mgmt_ipv6: 2001:172:100:100::155
# CORE / PE Nodes
xrv-pe1:
kind: "vr-xrv"
mgmt_ipv4: 172.100.100.11
mgmt_ipv6: 2001:172:100:100::11
xrv-pe2:
kind: "vr-xrv"
mgmt_ipv4: 172.100.100.22
mgmt_ipv6: 2001:172:100:100::22
xrv-pe3:
kind: "vr-xrv"
mgmt_ipv4: 172.100.100.33
mgmt_ipv6: 2001:172:100:100::33
xrv-pe4:
kind: "vr-xrv"
mgmt_ipv4: 172.100.100.44
mgmt_ipv6: 2001:172:100:100::44
xrv-p1:
kind: "vr-xrv"
mgmt_ipv4: 172.100.100.101
mgmt_ipv6: 2001:172:100:100::101
xrv-p2:
kind: vr-xrv
mgmt_ipv4: 172.100.100.102
mgmt_ipv6: 2001:172:100:100::102
xrv-rr-1:
kind: "vr-xrv"
mgmt_ipv4: 172.100.100.201
mgmt_ipv6: 2001:172:100:100::201
xrv-rr-2:
kind: "vr-xrv"
mgmt_ipv4: 172.100.100.202
mgmt_ipv6: 2001:172:100:100::202
links:
# PE1 <> P1
- endpoints: ["xrv-pe1:eth5", "xrv-p1:eth2"]
# PE1 <> PE2
- endpoints: ["xrv-pe1:eth4", "xrv-pe2:eth3"]
# PE2 <> P2
- endpoints: ["xrv-pe2:eth4", "xrv-p2:eth1"]
# PE3 <> P1
- endpoints: ["xrv-pe3:eth2", "xrv-p1:eth7"]
# PE3 <> P4
- endpoints: ["xrv-pe3:eth3", "xrv-pe4:eth2"]
# PE4 <> P2
- endpoints: ["xrv-pe4:eth1", "xrv-p2:eth6"]
# P1 TO P2 CORE LINKS
# P1 <> P2
- endpoints: ["xrv-p1:eth5", "xrv-p2:eth4"]
- endpoints: ["xrv-p1:eth4", "xrv-p2:eth3"]
# Route Reflectors R1
# RR1 <> P1
- endpoints: ["xrv-rr-1:eth2", "xrv-p1:eth3"]
# RR1 <> P2
- endpoints: ["xrv-rr-1:eth4", "xrv-p2:eth2"]
# Route Reflectors R2
# RR2 <> P1
- endpoints: ["xrv-rr-2:eth1", "xrv-p1:eth6"]
# RR2 <> P2
- endpoints: ["xrv-rr-2:eth3", "xrv-p2:eth5"]
# CORE LINK BETWEEN RRs
# RR1 <> RR2
- endpoints: ["xrv-rr-1:eth3", "xrv-rr-2:eth2"]
# CE NODES - AS 65001 [CE1]
- endpoints: ["vr-csr-ce-1:eth1", "xrv-pe1:eth2"]
- endpoints: ["vr-csr-ce-1:eth2", "ceos_sw_1:eth1"]
# CE NODES - AS 65001 [CE2]
- endpoints: ["vr-csr-ce-2:eth1", "xrv-pe2:eth2"]
- endpoints: ["vr-csr-ce-2:eth2", "ceos_sw_1:eth2"]
# CE NODES - AS 65001 [CE3]
- endpoints: ["vr-csr-ce-3:eth1", "xrv-pe3:eth4"]
# H2 NODE TO CE3
- endpoints: ["xrv-h2:eth1", "vr-csr-ce-3:eth2"]
# CE NODES - AS 65001 [CE4]
- endpoints: ["vr-csr-ce-4:eth2", "xrv-pe4:eth3"]
# H2 NODE TO CE4
- endpoints: ["xrv-h2:eth2", "vr-csr-ce-4:eth1"]
# H1 NODE TO SW 1
- endpoints: ["xrv-h1:eth1", "ceos_sw_1:eth3"]
- endpoints: ["xrv-h1:eth2", "ceos_sw_1:eth4"]
- endpoints: ["xrv-h1:eth3", "ceos_sw_1:eth5"]
- endpoints: ["xrv-h1:eth4", "ceos_sw_1:eth6"]