forked from sonic-net/sonic-mgmt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
veos_vtb
352 lines (348 loc) · 9.21 KB
/
veos_vtb
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
all:
children:
vm_host:
children:
vm_host_1:
eos:
children:
vms_1:
servers:
vars:
topologies:
- t1
- t1-lag
- t1-64-lag
- t1-8-lag
- t1-64-lag-clet
- t1-backend
- t0
- t0-16
- t0-56
- t0-52
- ptf32
- ptf64
- t0-64
- t0-64-32
- t0-116
- t0-backend
- dualtor
- dualtor-56
- dualtor-120
- t2-vs
- dualtor-mixed
- dualtor-mixed-56
- dualtor-mixed-120
children:
server_1:
lab:
hosts:
vlab-01:
vlab-02:
vlab-03:
vlab-04:
vlab-05:
vlab-06:
vlab-07:
vlab-08:
vlab-09:
vlab-10:
vlab-11:
vlab-12:
vlab-8k-01:
ptf:
hosts:
ptf-01:
ansible_host: 10.250.0.102
ansible_hostv6: fec0::ffff:afa:2
ptf-02:
ansible_host: 10.250.0.106
ansible_hostv6: fec0::ffff:afa:6
ptf-03:
ansible_host: 10.250.0.108
ansible_hostv6: fec0::ffff:afa:8
ptf-04:
ansible_host: 10.250.0.109
ansible_hostv6: fec0::ffff:afa:9
ptf-05:
ansible_host: 10.250.0.110
ansible_hostv6: fec0::ffff:afa:a
ptf-06:
ansible_host: 10.250.0.116
ansible_hostv6: fec0::ffff:afb:2
ptf-07:
ansible_host: 10.250.0.118
ansible_hostv6: fec0::ffff:afb:4
ptf-08:
ansible_host: 10.250.0.119
ansible_hostv6: fec0::ffff:afb:5
vars:
ansible_user: root
ansible_password: root
sonic:
vars:
mgmt_subnet_mask_length: 24
ansible_connection: multi_passwd_ssh
ansible_altpassword: YourPaSsWoRd
hosts:
vlab-01:
ansible_host: 10.250.0.101
ansible_hostv6: fec0::ffff:afa:1
type: kvm
hwsku: Force10-S6000
serial_port: 9000
ansible_password: password
ansible_user: admin
vlab-02:
ansible_host: 10.250.0.114
ansible_hostv6: fec0::ffff:afa:2
type: kvm
hwsku: Force10-S6100
serial_port: 9000
ansible_password: password
ansible_user: admin
vlab-03:
ansible_host: 10.250.0.105
ansible_hostv6: fec0::ffff:afa:5
type: kvm
hwsku: Force10-S6000
serial_port: 9001
ansible_password: password
ansible_user: admin
vlab-04:
ansible_host: 10.250.0.107
ansible_hostv6: fec0::ffff:afa:7
type: kvm
hwsku: Force10-S6000
serial_port: 9002
ansible_password: password
ansible_user: admin
vlab-05:
ansible_host: 10.250.0.110
ansible_hostv6: fec0::ffff:afa:a
type: kvm
hwsku: Force10-S6000
serial_port: 9003
ansible_password: password
ansible_user: admin
vlab-06:
ansible_host: 10.250.0.111
ansible_hostv6: fec0::ffff:afa:b
type: kvm
hwsku: Force10-S6000
serial_port: 9004
ansible_password: password
ansible_user: admin
vlab-07:
ansible_host: 10.250.0.109
ansible_hostv6: fec0::ffff:afa:9
type: kvm
hwsku: msft_multi_asic_vs
serial_port: 9005
num_asics: 6
ansible_password: password
ansible_user: admin
iface_speed: 40000
start_topo_service: True
frontend_asics: [0,1,2,3]
loopback4096_ip: [8.0.0.0/32, 8.0.0.1/32, 8.0.0.2/32, 8.0.0.3/32, 8.0.0.4/32, 8.0.0.5/32]
loopback4096_ipv6: [2603:10e2:400::/128, 2603:10e2:400::1/128, 2603:10e2:400::2/128, 2603:10e2:400::3/128, 2603:10e2:400::4/128, 2603:10e2:400::5/128]
vlab-08:
ansible_host: 10.250.0.112
ansible_hostv6: fec0::ffff:afa:c
type: kvm
hwsku: msft_four_asic_vs
serial_port: 9005
num_asics: 4
ansible_password: password
ansible_user: admin
iface_speed: 40000
start_topo_service: True
frontend_asics: [0,1]
loopback4096_ip: [8.0.0.0/32, 8.0.0.1/32, 8.0.0.2/32, 8.0.0.3/32]
loopback4096_ipv6: [2603:10e2:400::/128, 2603:10e2:400::1/128, 2603:10e2:400::2/128, 2603:10e2:400::3/128]
vlab-simx-01:
ansible_host: 10.250.0.103
ansible_hostv6: fec0::ffff:afa:3
type: simx
hwsku: MSN2700
vlab-simx-02:
ansible_host: 10.250.0.104
ansible_hostv6: fec0::ffff:afa:4
type: simx
hwsku: MSN3700
vlab-t2-01:
ansible_host: 10.250.0.120
ansible_hostv6: fec0::ffff:afa:10
type: kvm
hwsku: Force10-S6000
serial_port: 9020
ansible_password: password
ansible_user: admin
slot_num: slot1
vlab-t2-02:
ansible_host: 10.250.0.121
ansible_hostv6: fec0::ffff:afa:11
type: kvm
hwsku: Force10-S6000
serial_port: 9021
ansible_password: password
ansible_user: admin
slot_num: slot2
vlab-t2-sup:
ansible_host: 10.250.0.122
ansible_hostv6: fec0::ffff:afa:12
type: kvm
hwsku: Force10-S6000
serial_port: 9022
ansible_password: password
ansible_user: admin
card_type: supervisor
slot_num: slot3
vlab-09:
ansible_host: 10.250.0.115
ansible_hostv6: fec0::ffff:afb:1
type: kvm
hwsku: Force10-S6000
serial_port: 9006
ansible_password: password
ansible_user: admin
vlab-10:
ansible_host: 10.250.0.117
ansible_hostv6: fec0::ffff:afb:3
type: kvm
hwsku: Force10-S6000
serial_port: 9007
ansible_password: password
ansible_user: admin
vlab-11:
ansible_host: 10.250.0.123
ansible_hostv6: fec0::ffff:afb:6
type: kvm
hwsku: Force10-S6000
serial_port: 9023
ansible_password: password
ansible_user: admin
vlab-12:
ansible_host: 10.250.0.124
ansible_hostv6: fec0::ffff:afb:7
type: kvm
hwsku: Force10-S6000
serial_port: 9024
ansible_password: password
ansible_user: admin
vlab-8k-01:
ansible_host: 10.250.0.201
ansible_hostv6: fec0::ffff:afa:1
type: 8000e
hwsku: Cisco-8102-C64
serial_port: 60000
ansible_password: password
ansible_user: admin
ansible_ssh_user: cisco
ansible_altpassword: cisco123
# sdk/npsuite override:
#cisco_sdk_ver: "1.50.10.4.22"
#cisco_npsuite_ver: "1.90.0"
# The groups below are helpers to limit running playbooks to a specific server only
server_1:
vars:
host_var_file: host_vars/STR-ACS-VSERV-01.yml
children:
vm_host_1:
vms_1:
vm_host_1:
hosts:
STR-ACS-VSERV-01:
ansible_host: 172.17.0.1
ansible_user: use_own_value
vm_host_user: use_own_value
vms_1:
hosts:
VM0100:
ansible_host: 10.250.0.51
VM0101:
ansible_host: 10.250.0.52
VM0102:
ansible_host: 10.250.0.53
VM0103:
ansible_host: 10.250.0.54
VM0104:
ansible_host: 10.250.0.55
VM0105:
ansible_host: 10.250.0.56
VM0106:
ansible_host: 10.250.0.57
VM0107:
ansible_host: 10.250.0.58
VM0108:
ansible_host: 10.250.0.59
VM0109:
ansible_host: 10.250.0.60
VM0110:
ansible_host: 10.250.0.61
VM0111:
ansible_host: 10.250.0.62
VM0112:
ansible_host: 10.250.0.63
VM0113:
ansible_host: 10.250.0.64
VM0114:
ansible_host: 10.250.0.65
VM0115:
ansible_host: 10.250.0.66
VM0116:
ansible_host: 10.250.0.67
VM0117:
ansible_host: 10.250.0.68
VM0118:
ansible_host: 10.250.0.69
VM0119:
ansible_host: 10.250.0.70
VM0120:
ansible_host: 10.250.0.71
VM0121:
ansible_host: 10.250.0.72
VM0122:
ansible_host: 10.250.0.73
VM0123:
ansible_host: 10.250.0.74
VM0124:
ansible_host: 10.250.0.75
VM0125:
ansible_host: 10.250.0.76
VM0126:
ansible_host: 10.250.0.77
VM0127:
ansible_host: 10.250.0.78
VM0128:
ansible_host: 10.250.0.79
VM0129:
ansible_host: 10.250.0.80
VM0130:
ansible_host: 10.250.0.81
VM0131:
ansible_host: 10.250.0.82
VM0132:
ansible_host: 10.250.0.83
VM0133:
ansible_host: 10.250.0.84
VM0134:
ansible_host: 10.250.0.85
VM0135:
ansible_host: 10.250.0.86
VM0136:
ansible_host: 10.250.0.87
VM0137:
ansible_host: 10.250.0.88
VM0138:
ansible_host: 10.250.0.89
VM0139:
ansible_host: 10.250.0.90
VM0140:
ansible_host: 10.250.0.91
VM0141:
ansible_host: 10.250.0.92
VM0142:
ansible_host: 10.250.0.93
VM0143:
ansible_host: 10.250.0.94