-
Notifications
You must be signed in to change notification settings - Fork 1
/
topology.yml
161 lines (138 loc) · 4.49 KB
/
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
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
155
156
157
158
159
160
161
# +---------+
# | |
# | RT1 |
# | 1.1.1.1 |
# | |
# +---------+
# |eth1
# |
# +---------+ | +---------+
# | | | | |
# | RT2 |eth1 | eth1| RT3 |
# | 2.2.2.2 +----------+----------+ 3.3.3.3 |
# | | | |
# +---------+ +---------+
# eth2| |eth3 eth2| |eth3
# | | | |
# eth1| |eth2 eth1| |eth2
# +---------+ +---------+
# | | | |
# | RT4 | | RT5 |
# | 4.4.4.4 +---------------------+ 5.5.5.5 |
# | |eth3 eth3| |
# +---------+ +---------+
# eth4| |eth4
# | +---------+ |
# | | | |
# | | RT6 | |
# +----------+ 6.6.6.6 +-----------+
# eth1| |eth2
# +---------+
#
# Area 0: rt1, rt2, rt3, rt4, rt5, rt6
#
# The interfaces connected to the bridge (br1) are configured in the broadcast mode.
# All other interfaces are configured in the point-to-point mode.
# HMAC-SHA-256 authentication is configured on all interfaces.
name: ospfv2-auth-hmac-sha
topology:
defaults:
binds:
- ../scripts/start.sh:/start.sh
exec:
- "/start.sh"
kinds:
ceos:
image: ceos:4.30.1F
nodes:
br1:
kind: bridge
rt1:
# Linux
kind: linux
image: ghcr.io/holo-routing/holo:latest
#image: ghcr.io/srl-labs/bird:2.13
# Arista cEOS
#kind: ceos
#startup-config: arista-ceos/rt1.conf
# Bind mounts
binds:
- interfaces/rt1:/etc/network/interfaces
- bird/rt1.conf:/etc/bird.conf
- holo/rt1.conf:/etc/holo.startup
rt2:
# Linux
kind: linux
image: ghcr.io/holo-routing/holo:latest
#image: ghcr.io/srl-labs/bird:2.13
# Arista cEOS
#kind: ceos
#startup-config: arista-ceos/rt2.conf
# Bind mounts
binds:
- interfaces/rt2:/etc/network/interfaces
- bird/rt2.conf:/etc/bird.conf
- holo/rt2.conf:/etc/holo.startup
rt3:
# Linux
kind: linux
image: ghcr.io/holo-routing/holo:latest
#image: ghcr.io/srl-labs/bird:2.13
# Arista cEOS
#kind: ceos
#startup-config: arista-ceos/rt3.conf
# Bind mounts
binds:
- interfaces/rt3:/etc/network/interfaces
- bird/rt3.conf:/etc/bird.conf
- holo/rt3.conf:/etc/holo.startup
rt4:
# Linux
kind: linux
image: ghcr.io/holo-routing/holo:latest
#image: ghcr.io/srl-labs/bird:2.13
# Arista cEOS
#kind: ceos
#startup-config: arista-ceos/rt4.conf
# Bind mounts
binds:
- interfaces/rt4:/etc/network/interfaces
- bird/rt4.conf:/etc/bird.conf
- holo/rt4.conf:/etc/holo.startup
rt5:
# Linux
kind: linux
image: ghcr.io/holo-routing/holo:latest
#image: ghcr.io/srl-labs/bird:2.13
# Arista cEOS
#kind: ceos
#startup-config: arista-ceos/rt5.conf
# Bind mounts
binds:
- interfaces/rt5:/etc/network/interfaces
- bird/rt5.conf:/etc/bird.conf
- holo/rt5.conf:/etc/holo.startup
rt6:
# Linux
kind: linux
image: ghcr.io/holo-routing/holo:latest
#image: ghcr.io/srl-labs/bird:2.13
# Arista cEOS
#kind: ceos
#startup-config: arista-ceos/rt6.conf
# Bind mounts
binds:
- interfaces/rt6:/etc/network/interfaces
- bird/rt6.conf:/etc/bird.conf
- holo/rt6.conf:/etc/holo.startup
links:
- endpoints: ["rt1:eth1", "br1:eth1"]
- endpoints: ["rt2:eth1", "br1:eth2"]
- endpoints: ["rt3:eth1", "br1:eth3"]
- endpoints: ["rt2:eth2", "rt4:eth1"]
- endpoints: ["rt2:eth3", "rt4:eth2"]
- endpoints: ["rt3:eth2", "rt5:eth1"]
- endpoints: ["rt3:eth3", "rt5:eth2"]
- endpoints: ["rt4:eth3", "rt5:eth3"]
- endpoints: ["rt4:eth4", "rt6:eth1"]
- endpoints: ["rt5:eth4", "rt6:eth2"]