-
Notifications
You must be signed in to change notification settings - Fork 24
/
contrail_test_input.yaml.sample
411 lines (393 loc) · 10.1 KB
/
contrail_test_input.yaml.sample
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
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
deployment:
sku: ocata
os: centos74
version: master-1
orchestrator: openstack # kubernetes/vcenter/openstack
slave_orchestrator: # kubernetes
deployer: contrail-ansible-deployer #openshift/helm
provider_config:
bms:
ssh_pwd: password
ssh_user: root
ntpserver: ntp.juniper.net
domainsuffix: local
instances:
bms1:
provider: bms
ip: 10.0.0.4
roles:
config_database:
config:
control:
analytics_database:
analytics:
webui:
openstack:
network_interface: eth1
bms2:
provider: bms
ip: 10.0.0.5
roles:
config_database:
config:
control:
analytics_database:
analytics:
webui:
openstack:
network_interface: eth1
bms3:
provider: bms
ip: 10.0.0.6
roles:
config_database:
config:
control:
analytics_database:
analytics:
webui:
openstack:
network_interface: eth1
bms4:
provider: bms
ip: 10.0.0.7
roles:
vrouter:
PHYSICAL_INTERFACE: eth1
openstack_compute:
network_interface: eth1
bms5:
provider: bms
ip: 10.0.0.10
roles:
vrouter:
PHYSICAL_INTERFACE: eth1
openstack_compute:
network_interface: eth1
contrail_configuration:
AAA_MODE: rbac
CONFIG_API_USE_SSL:
INTROSPECT_SSL_ENABLE:
XMPP_SSL_ENABLE:
METADATA_PROXY_SECRET:
L3MH_CIDR: 108.1.1.0/24
orchestrator_configuration:
keystone:
version:
username:
password:
project:
domain:
region:
ssl:
certs:
internal_vip:
external_vip:
# Optional test specific configurations
test_configuration:
image_web_server:
stack_user:
stack_password:
stack_tenant:
stack_domain:
use_project_scoped_token: True
user_isolation: True
tenant_isolation: True
domain_isolation: False
availability_zone:
auth_url:
config_api_ip:
analytics_api_ip:
ci_image_flavor:
fixture_cleanup: yes
nova_keypair_private_key_filename:
nova_keypair_public_key_filename:
http_proxy:
ui_config:
ui_browser:
verify_webui:
verify_horizon:
kube_config_file:
use_devicemanager_for_md5:
public_tenant_name:
public_virtual_network:
public_subnet:
public_rt:
router_asn:
fip_pool_name:
verify_on_setup:
stop_on_fail:
upgrade:
public_host:
ext_routers:
rtr1: 1.1.1.1
fabric_gw:
sw1: 2.2.2.2
ns_agilio_vrouter: True
data_sw_ip : 10.10.10.10
data_sw_compute_bond_interface : [ae3]
traffic_generator:
ixia_linux_host_ip:
ixia_host_ip:
spirent_linux_host_ip:
ixia_linux_username:
ixia_linux_password:
spirent_linux_username:
spirent_linux_password:
device_manager:
mx1:
vendor: juniper
model : mx
asn : 64512
name : mx1
control_ip : 10.10.10.100
ssh_username : root
ssh_password : password
mgmt_ip : 10.0.0.20
physical_routers:
mx1:
vendor: juniper
model : mx
asn : 64512
name : mx1
ssh_username : root
ssh_password : password
control_ip : 10.10.10.100
mgmt_ip : 10.0.0.21
tunnel_ip: 1.1.1.1
ports :
type : router
dm_managed: True
qfx1:
model: qfx5100
asn: 64513
name: qfx1
ssh_username: root
ssh_password: Embe1mpls
mgmt_ip: 10.0.0.22
tunnel_ip: 1.1.1.2
ports: xe-0/0/1
type: tor
dm_managed: True
role: leaf
spine: qfx2 # Specify spine to identify the
# spine the leaf node is connected to
# by default, connects to all spines
rb_roles:
- erb_ucast_gw
qfx2:
model: qfx10k
asn: 64514
name: qfx2
ssh_username: root
ssh_password: Embe1mpls
mgmt_ip: 10.0.0.23
tunnel_ip: 1.1.1.3
ports: xe-0/0/1
type: tor
dm_managed: True
role: spine
rb_roles:
- dc_gw
- dci_gw
- crb_mcast_gw
- pnf_service_chain
srx1:
vendor: juniper
name : srx1
mgmt_ip : 10.0.0.21
role: pnf
left_qfx: qfx2
right_qfx: qfx3
left_qfx_intf: xe-0/0/0
right_qfx_intf: xe-0/0/0
local_left_intf: reth0
local_right_intf: reth1
bms:
node1:
mgmt_ip:
username:
password:
driver_info:
ipmi_address: 10.1.1.10
ipmi_password: ADMIN
ipmi_username: ADMIN
ipmi_terminal_port: 4100
properties:
memory_mb: 32000
cpu_arch: x86_64
local_gb: 70
cpus: 4
capabilities: boot_option:local
interfaces:
- host_mac: aa:bb:bb:cc:dd:ee
tor: qfx1
tor_port: ge-0/0/22
switch_id: "11:11:11:11:11:11"
pxe_enabled: True
nodeg16:
mgmt_ip:
username:
password:
driver_info:
ipmi_address: 10.1.1.200
ipmi_password: ADMIN
ipmi_username: ADMIN
ipmi_terminal_port: 4200
properties:
memory_mb: 32000
cpu_arch: x86_64
local_gb: 70
cpus: 4
capabilities: boot_option:local
interfaces:
- host_mac: aa:bb:cc:dd:ee:ef
tor: qfx1
tor_port: ge-0/0/16
switch_id: "11:11:11:11:11:11"
pxe_enabled: True
- host_mac: aa:bb:cc:dd:ee:ff
tor: qfx2
tor_port: ge-0/0/16
switch_id: "11:11:11:11:11:11"
pxe_enabled: False
nodeg7:
mgmt_ip:
username:
password:
driver_info:
ipmi_address: 10.10.10.200
ipmi_password: ADMIN
ipmi_terminal_port: 4300
properties:
memory_mb: 32000
cpu_arch: x86_64
local_gb: 70
cpus: 4
capabilities: boot_option:local
interfaces:
- host_mac: aa:bb:cc:dd:cc:aa
tor: qfx1
switch_id: "11:11:11:11:11:11"
tor_port: ge-0/0/27
pxe_enabled: True
- host_mac: aa:ba:aa:cc:dd:ee
tor: qfx2
switch_id: "11:11:11:11:11:11"
tor_port: ge-0/0/7
pxe_enabled: False
bms1:
interfaces:
- tor: qfx1
tor_port: xe-0/0/1
host_mac: aa:bb:cc:dd:ee:f0
- tor: qfx2
tor_port: xe-0/0/1
host_mac: aa:bb:cc:dd:ee:f1
mgmt_ip: 10.0.0.24 # Specify mgmt ip if multi interface setup
username: root
password: password
bms2:
interfaces:
- tor: qfx2
tor_port: xe-0/0/2
host_mac: bb:cc:dd:ee:ff:gg
mgmt_ip: # This is more to do with bms LCM tests with single interface
username: root
password: password
public_subnets:
- 1.1.1.0/24
- 2.2.2.0/24
k8s_nested:
clusters:
- name: sp
master: spm
slave1: sps1
slave2: sps2
network:
name: spnet
prefix: 1.1.1.0/24
fabric_snat: True
fip_pool:
- name: fs
master: fsm
slave1: fss1
slave2: fss2
network:
name: fsnet
prefix: 2.2.2.0/24
fabric_snat: True
fip_pool:
fabric:
- namespaces:
management:
- cidr: 10.0.0.0/25
gateway: 10.0.0.1
- cidr: 10.0.0.128/25
gateway: 10.0.0.129
peer:
- 10.1.1.0/25
- 10.1.2.0/25
loopback:
- 1.1.1.0/25
pnf_service_chain:
- 2.2.2.0/25
asn:
- max: 64512
min: 64512
ebgp_asn:
- max: 65000
min: 65100
node_profiles:
- juniper-mx
- juniper-qfx10k
- juniper-qfx5k
credentials:
- username: root
password: password
vendor: Juniper
device_family: qfx
provisioning_network:
ip_subnet: 192.168.168.0/24
default_gateway: 192.168.168.1
dhcp_relay_server:
- 192.168.168.1
vlan_tag: 678
ztp:
5c1s5-node1-server:
- name: enp129s0f0
mac_address: 90:e2:ba:50:ad:f8
tor: 5c1-qfx3
tor_port: xe-0/0/39
switch_id: e4:fc:82:38:83:40
bms_lcm_config:
ironic_provision_vn:
name: ironic-provision
subnet: 10.1.1.0/24
deploy_kernel: trusty-ird2.kernel
deploy_ramdisk: trusty-ird2.ramdisk
bms_image: ub_bm_cloudinit2.qcow2
l3_mh_configuration:
physical_routers:
leaf1:
mgmt_ip: 192.168.120.14
ssh_username: root
ssh_password: c0ntrail123
cidr: 10.1.1.0/24
leaf2:
mgmt_ip: 192.168.120.15
ssh_username: root
ssh_password: c0ntrail123
cidr: 20.1.1.0/24
web_server:
server:
username:
password:
report_path:
log_path:
web_root:
mail_server:
server:
port:
to:
sender: