forked from h4ndzdatm0ld/spauto_devnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspauto-topology.yml
102 lines (94 loc) · 2.59 KB
/
spauto-topology.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
# clab/clab@123
# admin/admin
---
name: "spauto-topology.yml"
mgmt:
network: "spauto"
ipv4_subnet: "172.100.100.0/24"
ipv6_subnet: "2001:172:100:100::/80"
topology:
defaults:
kinds:
vr-xrv:
image: "h4ndzdatm0ld/vr-xrv:6.1.3"
vr-csr:
image: "h4ndzdatm0ld/vr-csr:17.03.02"
nodes:
# CE Nodes - AS65001
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
# 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", "xrv-pe2:eth2"]
# CE NODES - AS 65001 [CE2]
- endpoints: ["vr-csr-ce-2:eth1", "xrv-pe2:eth2"]
# - endpoints: ["vr-csr-ce-1:eth2", "xrv-pe2:eth2"]