-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtopology.yaml
78 lines (76 loc) · 2.15 KB
/
topology.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
name: cl-kind
topology:
kinds:
ceos:
startup-config: ./ceos.cfg.tpl
image: ceoslab:4.31.1
exec:
- sleep 10
linux:
kind: linux
image: alpine
nodes:
spine1:
kind: ceos
mgmt-ipv4: 172.100.102.2
spine2:
kind: ceos
mgmt-ipv4: 172.100.102.3
leaf1a:
kind: ceos
mgmt-ipv4: 172.100.102.4
leaf1b:
kind: ceos
mgmt-ipv4: 172.100.102.5
leaf2a:
kind: ceos
mgmt-ipv4: 172.100.102.8
leaf2b:
kind: ceos
mgmt-ipv4: 172.100.102.9
boarder1:
kind: ceos
mgmt-ipv4: 172.100.102.14
boarder2:
kind: ceos
mgmt-ipv4: 172.100.102.15
k01:
kind: k8s-kind
startup-config: kind-config.yaml
k01-control-plane:
kind: ext-container
exec:
- "ip addr add dev eth1 10.1.10.5/24"
k01-worker:
kind: ext-container
exec:
- "ip addr add dev eth1 10.1.11.5/24"
k01-worker2:
kind: ext-container
exec:
- "ip addr add dev eth1 10.1.10.6/24"
links:
- endpoints: ["leaf1a:eth1", "spine1:eth1"]
- endpoints: ["leaf1b:eth1", "spine1:eth2"]
- endpoints: ["leaf2a:eth1", "spine1:eth3"]
- endpoints: ["leaf2b:eth1", "spine1:eth4"]
- endpoints: ["leaf1a:eth2", "spine2:eth1"]
- endpoints: ["leaf1b:eth2", "spine2:eth2"]
- endpoints: ["leaf2a:eth2", "spine2:eth3"]
- endpoints: ["leaf2b:eth2", "spine2:eth4"]
- endpoints: ["leaf1a:eth3", "leaf1b:eth3"]
- endpoints: ["leaf1a:eth4", "leaf1b:eth4"]
- endpoints: ["leaf2a:eth3", "leaf2b:eth3"]
- endpoints: ["leaf2a:eth4", "leaf2b:eth4"]
- endpoints: ["boarder1:eth1", "spine1:eth5"]
- endpoints: ["boarder2:eth1", "spine1:eth6"]
- endpoints: ["boarder1:eth2", "spine2:eth5"]
- endpoints: ["boarder2:eth2", "spine2:eth6"]
- endpoints: ["boarder1:eth3", "boarder2:eth3"]
- endpoints: ["boarder1:eth4", "boarder2:eth4"]
- endpoints: ["boarder1:eth5", "k01-worker:eth1"]
- endpoints: ["leaf1a:eth5", "k01-worker2:eth1"]
- endpoints: ["leaf1a:eth6", "k01-control-plane:eth1"]
mgmt:
network: ceos_kind_clab
ipv4-subnet: 172.100.102.0/24