-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackbone.clab.yml
154 lines (137 loc) · 4.1 KB
/
backbone.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
name: atd-mpls-isis-sr
mgmt:
network: atd-mpls-isis-sr
ipv4-subnet: 192.168.2.0/24
topology:
kinds:
ceos:
image: arista/ceos:${EOS_VERSION:=4.33.0F}
nodes:
# -------------------------------- #
# Core P routers
s1-p01:
kind: ceos
mgmt-ipv4: 192.168.2.111
startup-config: config-builder/intended/configs/s1-p01.cfg
env:
TMODE: lacp
s1-p02:
kind: ceos
mgmt-ipv4: 192.168.2.112
startup-config: config-builder/intended/configs/s1-p02.cfg
env:
TMODE: lacp
s2-p01:
kind: ceos
mgmt-ipv4: 192.168.2.121
startup-config: config-builder/intended/configs/s2-p01.cfg
env:
TMODE: lacp
s2-p02:
kind: ceos
mgmt-ipv4: 192.168.2.122
startup-config: config-builder/intended/configs/s2-p02.cfg
env:
TMODE: lacp
# -------------------------------- #
# Site 1 PE
s1-pe01:
kind: ceos
mgmt-ipv4: 192.168.2.11
startup-config: config-builder/intended/configs/s1-pe01.cfg
# startup-config:
env:
TMODE: lacp
s1-pe02:
kind: ceos
mgmt-ipv4: 192.168.2.12
startup-config: config-builder/intended/configs/s1-pe02.cfg
# startup-config:
env:
TMODE: lacp
s1-pe03:
kind: ceos
mgmt-ipv4: 192.168.2.13
startup-config: config-builder/intended/configs/s1-pe03.cfg
# startup-config:
env:
TMODE: lacp
s1-pe04:
kind: ceos
mgmt-ipv4: 192.168.2.14
startup-config: config-builder/intended/configs/s1-pe04.cfg
# startup-config:
env:
TMODE: lacp
# -------------------------------- #
# Site 2 PE
s2-pe01:
kind: ceos
mgmt-ipv4: 192.168.2.21
startup-config: config-builder/intended/configs/s2-pe01.cfg
# startup-config:
env:
TMODE: lacp
# -------------------------------- #
# Site 1 CE
s1-ce01:
kind: ceos
mgmt-ipv4: 192.168.2.211
startup-config: config-builder/intended/configs/s1-ce01.cfg
# startup-config:
env:
TMODE: lacp
s1-ce03:
kind: ceos
mgmt-ipv4: 192.168.2.212
startup-config: config-builder/intended/configs/s1-ce03.cfg
# startup-config:
env:
TMODE: lacp
s1-ce04:
kind: ceos
mgmt-ipv4: 192.168.2.213
startup-config: config-builder/intended/configs/s1-ce04.cfg
env:
TMODE: lacp
# -------------------------------- #
# Site 2 CE
s2-ce01:
kind: ceos
mgmt-ipv4: 192.168.2.221
startup-config: config-builder/intended/configs/s2-ce01.cfg
# startup-config:
env:
TMODE: lacp
links:
# -------------------------------- #
# Core network
- endpoints: ["s1-p01:eth5", "s1-p02:eth5"]
- endpoints: ["s1-p01:eth6", "s2-p01:eth6"]
- endpoints: ["s1-p02:eth6", "s2-p02:eth6"]
- endpoints: ["s2-p01:eth5", "s2-p02:eth5"]
- endpoints: ["s1-p01:eth7", "s2-p02:eth7"]
# Site 1 PE
- endpoints: ["s1-pe01:eth1", "s1-p01:eth1"]
- endpoints: ["s1-pe01:eth2", "s1-p02:eth1"]
- endpoints: ["s1-pe02:eth1", "s1-p01:eth2"]
- endpoints: ["s1-pe02:eth2", "s1-p02:eth2"]
- endpoints: ["s1-pe03:eth1", "s1-p01:eth3"]
- endpoints: ["s1-pe03:eth2", "s1-p02:eth3"]
- endpoints: ["s1-pe04:eth1", "s1-p01:eth4"]
- endpoints: ["s1-pe04:eth2", "s1-p02:eth4"]
# Site CE
- endpoints: ["s1-ce01:eth1", "s1-pe01:eth4"]
- endpoints: ["s1-ce01:eth2", "s1-pe02:eth4"]
- endpoints: ["s1-ce03:eth1", "s1-pe03:eth4"]
- endpoints: ["s1-ce03:eth2", "s1-pe03:eth5"]
- endpoints: ["s1-ce03:eth3", "s1-pe03:eth6"]
- endpoints: ["s1-ce04:eth1", "s1-pe04:eth4"]
- endpoints: ["s1-ce04:eth2", "s1-pe04:eth5"]
- endpoints: ["s1-ce04:eth3", "s1-pe04:eth6"]
# Site 2 PE
- endpoints: ["s2-pe01:eth1", "s2-p01:eth1"]
- endpoints: ["s2-pe01:eth2", "s2-p02:eth1"]
# Site 2 CE
- endpoints: ["s2-ce01:eth1", "s2-pe01:eth3"]
# - endpoints: ["s2-ce01:eth2", "s2-pe02:eth4"]