-
Notifications
You must be signed in to change notification settings - Fork 1
/
spine-leaf.clab.yaml
144 lines (126 loc) · 3.8 KB
/
spine-leaf.clab.yaml
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
name: cdc # Cumulus Data Centre
# Note: default runtime is ignite
topology:
nodes:
leaf01:
kind: cvx
image: networkop/cx:5.3.0
runtime: docker
binds:
- config/leaf01/interfaces:/etc/network/interfaces
- config/leaf01/daemons:/etc/frr/daemons
- config/leaf01/frr.conf:/etc/frr/frr.conf
mgmt-ipv4: 172.20.20.21
group: leaf
leaf02:
kind: cvx
image: networkop/cx:5.3.0
runtime: docker
binds:
- config/leaf02/interfaces:/etc/network/interfaces
- config/leaf02/daemons:/etc/frr/daemons
- config/leaf02/frr.conf:/etc/frr/frr.conf
mgmt-ipv4: 172.20.20.22
group: leaf
leaf03:
kind: cvx
image: networkop/cx:5.3.0
runtime: docker
binds:
- config/leaf03/interfaces:/etc/network/interfaces
- config/leaf03/daemons:/etc/frr/daemons
- config/leaf03/frr.conf:/etc/frr/frr.conf
mgmt-ipv4: 172.20.20.23
group: leaf
spine01:
kind: cvx
image: networkop/cx:5.3.0
runtime: docker
binds:
- config/spine01/interfaces:/etc/network/interfaces
- config/spine01/daemons:/etc/frr/daemons
- config/spine01/frr.conf:/etc/frr/frr.conf
- config/11-remotesyslog.conf:/etc/rsyslog.d/11-remotesyslog.conf
mgmt-ipv4: 172.20.20.11
group: spine
spine02:
kind: cvx
image: networkop/cx:5.3.0
runtime: docker
binds:
- config/spine02/interfaces:/etc/network/interfaces
- config/spine02/daemons:/etc/frr/daemons
- config/spine02/frr.conf:/etc/frr/frr.conf
mgmt-ipv4: 172.20.20.12
group: spine
server01:
kind: linux
image: networkop/host:ifreload
binds:
- config/server01/interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.31
group: server
server02:
kind: linux
image: networkop/host:ifreload
binds:
- config/server02/interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.32
group: server
server03:
kind: linux
image: networkop/host:ifreload
binds:
- config/server03/interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.33
group: server
server04:
kind: linux
image: networkop/host:ifreload
binds:
- config/server04/interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.34
group: server
server05:
kind: linux
image: networkop/host:ifreload
binds:
- config/server05/interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.35
group: server
server06:
kind: linux
image: networkop/host:ifreload
binds:
- config/server06/interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.36
group: server
switch01:
kind: ovs-bridge
group: 3
switch02:
kind: ovs-bridge
group: 3
switch03:
kind: ovs-bridge
group: 3
links:
- endpoints: ["switch01:eth11", "server01:eth1"]
- endpoints: ["switch01:eth12", "server04:eth1"]
- endpoints: ["switch02:eth21", "server02:eth1"]
- endpoints: ["switch02:eth22", "server05:eth1"]
- endpoints: ["switch03:eth31", "server03:eth1"]
- endpoints: ["switch03:eth32", "server06:eth1"]
- endpoints: ["leaf01:swp1", "switch01:eth10"]
- endpoints: ["leaf02:swp1", "switch02:eth20"]
- endpoints: ["leaf03:swp1", "switch03:eth30"]
- endpoints: ["spine01:swp1", "leaf01:swp11"]
- endpoints: ["spine01:swp2", "leaf02:swp11"]
- endpoints: ["spine01:swp3", "leaf03:swp11"]
- endpoints: ["spine02:swp1", "leaf01:swp12"]
- endpoints: ["spine02:swp2", "leaf02:swp12"]
- endpoints: ["spine02:swp3", "leaf03:swp12"]
# All nodes were assigned static addresses
# to be able to use SuzieQ
mgmt:
ipv4-gw: 172.20.20.100