-
Notifications
You must be signed in to change notification settings - Fork 0
/
fabric.yml
159 lines (159 loc) · 4.77 KB
/
fabric.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
name: fabric
topology:
nodes:
spine1:
kind: ceos
image: ceos:4.29.0.2F
mgmt-ipv4: 172.20.20.101
spine2:
kind: ceos
image: ceos:4.29.0.2F
mgmt-ipv4: 172.20.20.102
spine3:
kind: ceos
image: ceos:4.29.0.2F
mgmt-ipv4: 172.20.20.103
spine4:
kind: ceos
image: ceos:4.29.0.2F
mgmt-ipv4: 172.20.20.104
leaf1:
kind: ceos
image: ceos:4.29.0.2F
mgmt-ipv4: 172.20.20.11
leaf2:
kind: vr-n9kv
image: vrnetlab/vr-n9kv:10.3.1
mgmt-ipv4: 172.20.20.12
leaf3:
kind: vr-n9kv
image: vrnetlab/vr-n9kv:10.3.1
mgmt-ipv4: 172.20.20.13
leaf4:
kind: vr-n9kv
image: vrnetlab/vr-n9kv:10.3.1
mgmt-ipv4: 172.20.20.14
leaf5:
kind: ceos
image: ceos:4.29.0.2F
mgmt-ipv4: 172.20.20.15
leaf6:
kind: ceos
image: ceos:4.29.0.2F
mgmt-ipv4: 172.20.20.16
h1:
kind: linux
image: networkop/host:ifreload
binds:
- hosts/h1_interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.21
h2:
kind: linux
image: networkop/host:ifreload
binds:
- hosts/h2_interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.22
h3:
kind: linux
image: networkop/host:ifreload
binds:
- hosts/h3_interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.23
h4:
kind: linux
image: networkop/host:ifreload
binds:
- hosts/h4_interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.24
h5:
kind: linux
image: networkop/host:ifreload
binds:
- hosts/h5_interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.25
h6:
kind: linux
image: networkop/host:ifreload
binds:
- hosts/h6_interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.26
h11:
kind: linux
image: networkop/host:ifreload
binds:
- hosts/h11_interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.27
h22:
kind: linux
image: networkop/host:ifreload
binds:
- hosts/h22_interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.28
h33:
kind: linux
image: networkop/host:ifreload
binds:
- hosts/h33_interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.29
h44:
kind: linux
image: networkop/host:ifreload
binds:
- hosts/h44_interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.30
h55:
kind: linux
image: networkop/host:ifreload
binds:
- hosts/h55_interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.31
h66:
kind: linux
image: networkop/host:ifreload
binds:
- hosts/h66_interfaces:/etc/network/interfaces
mgmt-ipv4: 172.20.20.32
links:
- endpoints: ["leaf1:eth21", "spine1:eth1"]
- endpoints: ["leaf1:eth22", "spine2:eth1"]
- endpoints: ["leaf1:eth23", "spine3:eth1"]
- endpoints: ["leaf1:eth24", "spine4:eth1"]
- endpoints: ["leaf1:eth19", "leaf2:eth19"]
- endpoints: ["leaf1:eth20", "leaf2:eth20"]
- endpoints: ["leaf2:eth21", "spine1:eth2"]
- endpoints: ["leaf2:eth22", "spine2:eth2"]
- endpoints: ["leaf2:eth23", "spine3:eth2"]
- endpoints: ["leaf2:eth24", "spine4:eth2"]
- endpoints: ["leaf3:eth21", "spine1:eth3"]
- endpoints: ["leaf3:eth22", "spine2:eth3"]
- endpoints: ["leaf3:eth23", "spine3:eth3"]
- endpoints: ["leaf3:eth24", "spine4:eth3"]
- endpoints: ["leaf3:eth18", "leaf4:eth18"]
- endpoints: ["leaf3:eth19", "leaf4:eth19"]
- endpoints: ["leaf3:eth20", "leaf4:eth20"]
- endpoints: ["leaf4:eth21", "spine1:eth4"]
- endpoints: ["leaf4:eth22", "spine2:eth4"]
- endpoints: ["leaf4:eth23", "spine3:eth4"]
- endpoints: ["leaf4:eth24", "spine4:eth4"]
- endpoints: ["leaf5:eth21", "spine1:eth5"]
- endpoints: ["leaf5:eth22", "spine2:eth5"]
- endpoints: ["leaf5:eth23", "spine3:eth5"]
- endpoints: ["leaf5:eth24", "spine4:eth5"]
- endpoints: ["leaf5:eth19", "leaf6:eth19"]
- endpoints: ["leaf5:eth20", "leaf6:eth20"]
- endpoints: ["leaf6:eth21", "spine1:eth6"]
- endpoints: ["leaf6:eth22", "spine2:eth6"]
- endpoints: ["leaf6:eth23", "spine3:eth6"]
- endpoints: ["leaf6:eth24", "spine4:eth6"]
- endpoints: ["leaf1:eth1", "h1:eth1"]
- endpoints: ["leaf2:eth1", "h2:eth1"]
- endpoints: ["leaf3:eth1", "h3:eth1"]
- endpoints: ["leaf4:eth1", "h4:eth1"]
- endpoints: ["leaf5:eth1", "h5:eth1"]
- endpoints: ["leaf6:eth1", "h6:eth1"]
- endpoints: ["leaf1:eth2", "h11:eth1"]
- endpoints: ["leaf2:eth2", "h22:eth1"]
- endpoints: ["leaf3:eth2", "h33:eth1"]
- endpoints: ["leaf4:eth2", "h44:eth1"]
- endpoints: ["leaf5:eth2", "h55:eth1"]
- endpoints: ["leaf6:eth2", "h66:eth1"]