Use new stack macros from global-jjb csit-3node
[releng/builder.git] / jjb / integration / integration-templates.yaml
1 ---
2 # Job templates in this file (please update with every new template):
3 # FIXME: Update
4 #
5 # {project}-csit-1node-{functionality}-{install}-{stream}
6 # {project}-csit-3node-docker-{functionality}-{install}-{stream}
7 # {project}-csit-3node-{functionality}-{install}-{stream}
8 # {project}-csit-hwvtep-{topology}-openstack-{openstack}-{functionality}-{stream}
9 # {project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}
10 # {project}-csit-verify-1node-{functionality}
11 # {project}-csit-verify-3node-{functionality}
12 # {project}-patch-test-{feature}-{stream}
13 #
14 # Parameters:
15 # FIXME: Distinguish variables, macros and arguments, then update.
16 #
17 # opendaylight-infra-parameters: main project integration/test ($PROJECT)
18 # jre: (openjdk7 or openjdk8) Java runtime environment to use when launching ODL
19 # integration-distribution-branch: distribution branch ($DISTROBRANCH)
20 # integration-controller-bundle-url: distribution URL ($BUNDLE_URL)
21 # integration-controller-scope: only or all features ($CONTROLLERSCOPE)
22 # integration-controller-features: features under test ($CONTROLLER FEATURES)
23 # integration-test-options: robot options ($TESTOPTIONS)
24 # integration-stream-test-plan: stream specific robot test plan ($STREAMTESTPLAN)
25 # integration-test-plan: fallback robot test plan ($TESTPLAN)
26 # integration-patch-refspec: test branch ($PATCHREFSPEC)
27 # integration-use-features-boot: bool to toggle use of featuresBoot ($USEFEATURESBOOT)
28
29
30 ###########
31 # Anchors #
32 ###########
33
34 - inttest_csit_common: &inttest_csit_common
35     name: inttest-csit-common
36     # Defines common configuration to all CSIT jobs
37
38     #####################
39     # Default variables #
40     #####################
41
42     build-days-to-keep: 30
43     build-timeout: 360  # Time in minutes
44     disable-job: false
45
46     #####################
47     # Job configuration #
48     #####################
49
50     project-type: freestyle
51     node: centos7-robot-2c-8g
52     concurrent: true
53     disabled: '{disable-job}'
54
55     properties:
56       - opendaylight-infra-properties:
57           build-days-to-keep: '{build-days-to-keep}'
58
59     wrappers:
60       - opendaylight-infra-wrappers:
61           build-timeout: '{build-timeout}'
62
63 #################
64 # Job Templates #
65 #################
66
67 - job-template:
68     name: '{prefix}{project}-csit-verify-1node-{functionality}'
69     id: inttest-csit-verify-1node
70     <<: *inttest_csit_common
71
72     #####################
73     # Default variables #
74     #####################
75
76     openstack-cloud: vex
77     openstack-heat-template: csit-2-instance-type.yaml
78     openstack-heat-template-dir: openstack-hot
79
80     odl_system_flavor: 'odl-highcpu-4'
81     odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956'
82     tools_system_count: 1
83     tools_system_flavor: 'odl-highcpu-2'
84     tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20181029-223449.514'
85
86     #####################
87     # Job configuration #
88     #####################
89
90     parameters:
91       - integration-csit-parameters:
92           archive-artifacts: '{archive-artifacts}'
93           branch: '{branch}'
94           os-cloud: '{os-cloud}'
95           # CSIT
96           bundle-url: '{bundle-url}'
97           repo-url: '{repo-url}'
98           robot-options: '{robot-options}'
99           # Controller
100           controller-scope: only
101           debug-map: '{debug-map}'
102           install-features: '{install-features}'
103           use-features-boot: 'True'
104       - integration-stack-2-type:
105           vm_0_count: 1
106           vm_0_flavor: '{odl_system_flavor}'
107           vm_0_image: '{odl_system_image}'
108           vm_1_count: '{tools_system_count}'
109           vm_1_flavor: '{tools_system_flavor}'
110           vm_1_image: '{tools_system_image}'
111       - integration-distribution-branch:
112           branch: '{verify-branch}'
113       - integration-distribution-stream:
114           stream: '{verify-stream}'
115       - integration-script-plan:
116           script-plan: '{project}.txt'
117       - integration-config-plan:
118           config-plan: '{project}.txt'
119       - integration-stream-test-plan:
120           stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
121       - integration-test-plan:
122           test-plan: '{project}-{functionality}.txt'
123       - integration-jdk-version:
124           jdkversion: '{verify-jdkversion}'
125       - distribution-karaf-version:
126           karaf-version: '{verify-karaf-version}'
127
128     scm:
129       - integration-gerrit-scm:
130           basedir: 'test'
131           refspec: '$GERRIT_REFSPEC'
132           branch: 'master'
133
134     triggers:
135       - integration-trigger-patch-submitted:
136           gerrit-server-name: '{gerrit-server-name}'
137           project: 'integration/test'
138           branch: 'master'
139           files: 'csit/suites/{project}/**'
140
141     builders:
142       - lf-infra-pre-build
143       - integration-stack-2-type:
144           openstack-cloud: '{openstack-cloud}'
145           openstack-heat-template: '{openstack-heat-template}'
146           openstack-heat-template-dir: '{openstack-heat-template-dir}'
147       - integration-install-robotframework
148       - inject:
149           properties-file: 'env.properties'
150       - integration-get-slave-addresses
151       - inject:
152           properties-file: 'slave_addresses.txt'
153       - integration-detect-variables
154       - integration-install-common-functions
155       - integration-deploy-controller-run-test
156       - integration-cleanup-tmp
157
158     publishers:
159       - email-notification:
160           email-recipients: '{email-recipients}'
161           email-prefix: '[{project}]'
162       - integration-csit-publish:
163           robot_other_files: ''
164           robot-pass-threshold: 100.0
165           robot-unstable-threshold: 0.0
166       - lf-stack-delete:
167           openstack-cloud: '{openstack-cloud}'
168       - lf-infra-publish
169
170
171 ######################
172 # inttest-csit-1node #
173 ######################
174
175 - inttest_csit_1node: &inttest_csit_1node
176     name: inttest-csit-1node
177
178     #####################
179     # Default variables #
180     #####################
181
182     openstack-cloud: vex
183     openstack-heat-template: csit-2-instance-type.yaml
184     openstack-heat-template-dir: openstack-hot
185
186     odl_system_flavor: 'odl-highcpu-4'
187     odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956'
188     tools_system_count: 1
189     tools_system_flavor: 'odl-highcpu-2'
190     tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20181029-223449.514'
191
192     #####################
193     # Job configuration #
194     #####################
195
196     parameters:
197       - integration-csit-parameters:
198           archive-artifacts: '{archive-artifacts}'
199           branch: '{branch}'
200           os-cloud: '{os-cloud}'
201           # CSIT
202           bundle-url: '{bundle-url}'
203           repo-url: '{repo-url}'
204           robot-options: '{robot-options}'
205           # Controller
206           controller-scope: '{scope}'
207           debug-map: '{debug-map}'
208           install-features: '{install-features}'
209           use-features-boot: 'True'
210       - integration-stack-2-type:
211           vm_0_count: 1
212           vm_0_flavor: '{odl_system_flavor}'
213           vm_0_image: '{odl_system_image}'
214           vm_1_count: '{tools_system_count}'
215           vm_1_flavor: '{tools_system_flavor}'
216           vm_1_image: '{tools_system_image}'
217       - integration-distribution-branch:
218           branch: '{branch}'
219       - integration-distribution-stream:
220           stream: '{stream}'
221       - integration-script-plan:
222           script-plan: '{project}.txt'
223       - integration-config-plan:
224           config-plan: '{project}.txt'
225       - integration-stream-test-plan:
226           stream-test-plan: '{project}-{functionality}-{stream}.txt'
227       - integration-test-plan:
228           test-plan: '{project}-{functionality}.txt'
229       - integration-test-suites:
230           test-suites: '{test-suites}'
231       - integration-patch-refspec:
232           branch: 'master'
233       - integration-jdk-version:
234           jdkversion: '{jre}'
235       - distribution-karaf-version:
236           karaf-version: '{karaf-version}'
237
238     scm:
239       - integration-gerrit-scm:
240           basedir: 'test'
241           refspec: '$PATCHREFSPEC'
242           branch: 'master'
243
244     triggers:
245       # we need this for not SR projects
246       - integration-csit-trigger:
247           jobs: '{trigger-jobs}'
248
249     builders:
250       - lf-infra-pre-build
251       - integration-stack-2-type:
252           openstack-cloud: '{openstack-cloud}'
253           openstack-heat-template: '{openstack-heat-template}'
254           openstack-heat-template-dir: '{openstack-heat-template-dir}'
255       - integration-install-robotframework
256       - inject:
257           properties-file: 'env.properties'
258       - integration-get-slave-addresses
259       - inject:
260           properties-file: 'slave_addresses.txt'
261       - integration-detect-variables
262       - integration-install-common-functions
263       - integration-deploy-controller-run-test
264       - integration-cleanup-tmp
265
266     publishers:
267       - email-notification:
268           email-recipients: '{email-recipients}'
269           email-prefix: '[{project}]'
270       - plot:
271           - title: '{01-plot-title}'
272             yaxis: '{01-plot-yaxis}'
273             group: '{01-plot-group}'
274             num-builds: '180'
275             keep-records: true
276             style: line
277             use-description: false
278             # yamllint disable-line rule:line-length
279             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
280             series:
281               - file: '{01-plot-data-file}'
282                 inclusion-flag: 'off'
283                 display-table: true
284                 format: csv
285           - title: '{02-plot-title}'
286             yaxis: '{02-plot-yaxis}'
287             group: '{02-plot-group}'
288             num-builds: '180'
289             keep-records: true
290             style: line
291             use-description: false
292             # yamllint disable-line rule:line-length
293             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
294             series:
295               - file: '{02-plot-data-file}'
296                 inclusion-flag: 'off'
297                 display-table: true
298                 format: csv
299           - title: '{03-plot-title}'
300             yaxis: '{03-plot-yaxis}'
301             group: '{03-plot-group}'
302             num-builds: '180'
303             keep-records: true
304             style: line
305             use-description: false
306             # yamllint disable-line rule:line-length
307             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
308             series:
309               - file: '{03-plot-data-file}'
310                 inclusion-flag: '{03-inclusion-flag}'
311                 exclude: '{03-exclude-value}'
312                 format: csv
313           - title: '{04-plot-title}'
314             yaxis: '{04-plot-yaxis}'
315             group: '{04-plot-group}'
316             num-builds: '180'
317             keep-records: true
318             style: line
319             use-description: false
320             # yamllint disable-line rule:line-length
321             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
322             series:
323               - file: '{04-plot-data-file}'
324                 inclusion-flag: '{04-inclusion-flag}'
325                 exclude: '{04-exclude-value}'
326                 format: csv
327           - title: '{05-plot-title}'
328             yaxis: '{05-plot-yaxis}'
329             group: '{05-plot-group}'
330             num-builds: '180'
331             keep-records: true
332             style: line
333             use-description: false
334             # yamllint disable-line rule:line-length
335             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
336             series:
337               - file: '{05-plot-data-file}'
338                 inclusion-flag: '{05-inclusion-flag}'
339                 exclude: '{05-exclude-value}'
340                 format: csv
341           - title: '{06-plot-title}'
342             yaxis: '{06-plot-yaxis}'
343             group: '{06-plot-group}'
344             num-builds: '180'
345             keep-records: true
346             style: line
347             use-description: false
348             # yamllint disable-line rule:line-length
349             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
350             series:
351               - file: '{06-plot-data-file}'
352                 inclusion-flag: '{06-inclusion-flag}'
353                 exclude: '{06-exclude-value}'
354                 format: csv
355           - title: '{07-plot-title}'
356             yaxis: '{07-plot-yaxis}'
357             group: '{07-plot-group}'
358             num-builds: '180'
359             keep-records: true
360             style: line
361             use-description: false
362             # yamllint disable-line rule:line-length
363             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
364             series:
365               - file: '{07-plot-data-file}'
366                 inclusion-flag: '{07-inclusion-flag}'
367                 exclude: '{07-exclude-value}'
368                 format: csv
369           - title: '{08-plot-title}'
370             yaxis: '{08-plot-yaxis}'
371             group: '{08-plot-group}'
372             num-builds: '180'
373             keep-records: true
374             style: line
375             use-description: false
376             # yamllint disable-line rule:line-length
377             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
378             series:
379               - file: '{08-plot-data-file}'
380                 inclusion-flag: '{08-inclusion-flag}'
381                 exclude: '{08-exclude-value}'
382                 format: csv
383           - title: '{09-plot-title}'
384             yaxis: '{09-plot-yaxis}'
385             group: '{09-plot-group}'
386             num-builds: '180'
387             keep-records: true
388             style: line
389             use-description: false
390             # yamllint disable-line rule:line-length
391             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
392             series:
393               - file: '{09-plot-data-file}'
394                 inclusion-flag: '{09-inclusion-flag}'
395                 exclude: '{09-exclude-value}'
396                 format: csv
397           - title: '{10-plot-title}'
398             yaxis: '{10-plot-yaxis}'
399             group: '{10-plot-group}'
400             num-builds: '180'
401             keep-records: true
402             style: line
403             use-description: false
404             # yamllint disable-line rule:line-length
405             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
406             series:
407               - file: '{10-plot-data-file}'
408                 inclusion-flag: '{10-inclusion-flag}'
409                 exclude: '{10-exclude-value}'
410                 format: csv
411       - integration-csit-publish:
412           robot_other_files: ''
413           robot-pass-threshold: 100.0
414           robot-unstable-threshold: 0.0
415       - lf-stack-delete:
416           openstack-cloud: '{openstack-cloud}'
417       - lf-infra-publish
418
419 - job-template:
420     name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}'
421     id: inttest-csit-1node
422     <<: *inttest_csit_common
423     # yamllint disable-line rule:key-duplicates
424     <<: *inttest_csit_1node
425
426 - job-template:
427     name: '{prefix}{project}-csit-1node-{functionality}-{install}-{stream}'
428     id: inttest-csit-1node-custom
429     <<: *inttest_csit_common
430     # yamllint disable-line rule:key-duplicates
431     <<: *inttest_csit_1node
432
433     parameters:
434       - integration-csit-parameters:
435           archive-artifacts: '{archive-artifacts}'
436           branch: '{branch}'
437           os-cloud: '{os-cloud}'
438           # CSIT
439           bundle-url: '{bundle-url}'
440           repo-url: '{repo-url}'
441           robot-options: '{robot-options}'
442           # Controller
443           controller-scope: '{scope}'
444           debug-map: '{debug-map}'
445           install-features: '{install-features}'
446           use-features-boot: 'True'
447       - integration-stack-2-type:
448           vm_0_count: 1
449           vm_0_flavor: '{odl_system_flavor}'
450           vm_0_image: '{odl_system_image}'
451           vm_1_count: '{tools_system_count}'
452           vm_1_flavor: '{tools_system_flavor}'
453           vm_1_image: '{tools_system_image}'
454       - integration-distribution-branch:
455           branch: '{branch}'
456       - integration-distribution-stream:
457           stream: '{stream}'
458       - integration-script-plan:
459           script-plan: '{project}.txt'
460       - integration-config-plan:
461           config-plan: '{project}.txt'
462       - integration-stream-test-plan:
463           stream-test-plan: '{project}-{functionality}-{stream}.txt'
464       - integration-test-plan:
465           test-plan: '{testplan}'
466       - integration-test-suites:
467           test-suites: '{test-suites}'
468       - integration-patch-refspec:
469           branch: 'master'
470       - integration-jdk-version:
471           jdkversion: '{jre}'
472       - distribution-karaf-version:
473           karaf-version: '{karaf-version}'
474
475
476 - job-template:
477     name: '{prefix}{project}-csit-verify-3node-{functionality}'
478     id: inttest-csit-verify-3node
479     <<: *inttest_csit_common
480
481     #####################
482     # Default variables #
483     #####################
484
485     openstack-cloud: vex
486     openstack-heat-template: csit-2-instance-type.yaml
487     openstack-heat-template-dir: openstack-hot
488
489     odl_system_flavor: 'odl-highcpu-4'
490     odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956'
491     tools_system_count: 1
492     tools_system_flavor: 'odl-highcpu-2'
493     tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20181029-223449.514'
494
495     #####################
496     # Job Configuration #
497     #####################
498
499     parameters:
500       - integration-csit-parameters:
501           archive-artifacts: '{archive-artifacts}'
502           branch: '{branch}'
503           os-cloud: '{os-cloud}'
504           # CSIT
505           bundle-url: '{bundle-url}'
506           repo-url: '{repo-url}'
507           robot-options: '{robot-options}'
508           # Controller
509           controller-scope: only
510           debug-map: '{debug-map}'
511           install-features: 'odl-jolokia,{install-features}'
512           use-features-boot: 'True'
513       - integration-stack-2-type:
514           vm_0_count: 3
515           vm_0_flavor: '{odl_system_flavor}'
516           vm_0_image: '{odl_system_image}'
517           vm_1_count: '{tools_system_count}'
518           vm_1_flavor: '{tools_system_flavor}'
519           vm_1_image: '{tools_system_image}'
520       - integration-distribution-branch:
521           branch: '{verify-branch}'
522       - integration-distribution-stream:
523           stream: '{verify-stream}'
524       - integration-script-plan:
525           script-plan: '{project}.txt'
526       - integration-config-plan:
527           config-plan: '{project}.txt'
528       - integration-stream-test-plan:
529           stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
530       - integration-test-plan:
531           test-plan: '{project}-{functionality}.txt'
532       - integration-test-suites:
533           test-suites: '{test-suites}'
534       - integration-jdk-version:
535           jdkversion: '{verify-jdkversion}'
536       - distribution-karaf-version:
537           karaf-version: '{verify-karaf-version}'
538
539     scm:
540       - integration-gerrit-scm:
541           basedir: 'test'
542           refspec: '$GERRIT_REFSPEC'
543           branch: 'master'
544
545     triggers:
546       - integration-trigger-patch-submitted:
547           gerrit-server-name: '{gerrit-server-name}'
548           project: 'integration/test'
549           branch: 'master'
550           files: 'csit/suites/{project}/**'
551
552     builders:
553       - lf-infra-pre-build
554       - integration-stack-2-type:
555           openstack-cloud: '{openstack-cloud}'
556           openstack-heat-template: '{openstack-heat-template}'
557           openstack-heat-template-dir: '{openstack-heat-template-dir}'
558       - integration-install-robotframework
559       - inject:
560           properties-file: 'env.properties'
561       - integration-get-slave-addresses
562       - inject:
563           properties-file: 'slave_addresses.txt'
564       - integration-detect-variables
565       - integration-install-common-functions
566       - integration-configure-clustering
567       - integration-start-cluster-run-test
568       - integration-cleanup-tmp
569
570     publishers:
571       - email-notification:
572           email-recipients: '{email-recipients}'
573           email-prefix: '[{project}]'
574       - integration-csit-publish:
575           robot_other_files: ''
576           robot-pass-threshold: 100.0
577           robot-unstable-threshold: 0.0
578       - lf-stack-delete:
579           openstack-cloud: '{openstack-cloud}'
580       - lf-infra-publish
581
582
583 ######################
584 # inttest-csit-3node #
585 ######################
586
587 - inttest_csit_3node: &inttest_csit_3node
588     name: inttest-csit-3node
589
590     #####################
591     # Default variables #
592     #####################
593
594     openstack-cloud: vex
595     openstack-heat-template: csit-2-instance-type.yaml
596     openstack-heat-template-dir: openstack-hot
597
598     odl_system_flavor: 'odl-highcpu-4'
599     odl_system_image: 'ZZCI - CentOS 7 - builder - x86_64 - 20181010-215635.956'
600     tools_system_count: 1
601     tools_system_flavor: 'odl-highcpu-2'
602     tools_system_image: 'ZZCI - Ubuntu 16.04 - mininet-ovs-25 - 20181029-223449.514'
603
604     #####################
605     # Job configuration #
606     #####################
607
608     parameters:
609       - integration-csit-parameters:
610           archive-artifacts: '{archive-artifacts}'
611           branch: '{branch}'
612           os-cloud: '{os-cloud}'
613           # CSIT
614           bundle-url: '{bundle-url}'
615           repo-url: '{repo-url}'
616           robot-options: '{robot-options}'
617           # Controller
618           controller-scope: '{scope}'
619           debug-map: '{debug-map}'
620           install-features: 'odl-jolokia,{install-features}'
621           use-features-boot: 'True'
622       - integration-stack-2-type:
623           vm_0_count: 3
624           vm_0_flavor: '{odl_system_flavor}'
625           vm_0_image: '{odl_system_image}'
626           vm_1_count: '{tools_system_count}'
627           vm_1_flavor: '{tools_system_flavor}'
628           vm_1_image: '{tools_system_image}'
629       - integration-distribution-branch:
630           branch: '{branch}'
631       - integration-distribution-stream:
632           stream: '{stream}'
633       - integration-script-plan:
634           script-plan: '{project}.txt'
635       - integration-config-plan:
636           config-plan: '{project}.txt'
637       - integration-stream-test-plan:
638           stream-test-plan: '{project}-{functionality}-{stream}.txt'
639       - integration-test-plan:
640           test-plan: '{project}-{functionality}.txt'
641       - integration-test-suites:
642           test-suites: '{test-suites}'
643       - integration-patch-refspec:
644           branch: 'master'
645       - integration-jdk-version:
646           jdkversion: '{jre}'
647       - distribution-karaf-version:
648           karaf-version: '{karaf-version}'
649
650     scm:
651       - integration-gerrit-scm:
652           basedir: 'test'
653           refspec: '$PATCHREFSPEC'
654           branch: 'master'
655
656     triggers:
657       # we need this for not SR projects
658       - integration-csit-trigger:
659           jobs: '{trigger-jobs}'
660
661     builders:
662       - lf-infra-pre-build
663       - integration-stack-2-type:
664           openstack-cloud: '{openstack-cloud}'
665           openstack-heat-template: '{openstack-heat-template}'
666           openstack-heat-template-dir: '{openstack-heat-template-dir}'
667       - integration-install-robotframework
668       - inject:
669           properties-file: 'env.properties'
670       - integration-get-slave-addresses
671       - inject:
672           properties-file: 'slave_addresses.txt'
673       - integration-detect-variables
674       - integration-install-common-functions
675       - integration-configure-clustering
676       - integration-start-cluster-run-test
677       - integration-cleanup-tmp
678
679     publishers:
680       - email-notification:
681           email-recipients: '{email-recipients}'
682           email-prefix: '[{project}]'
683       - plot:
684           - title: '{01-plot-title}'
685             yaxis: '{01-plot-yaxis}'
686             group: '{01-plot-group}'
687             num-builds: '180'
688             keep-records: true
689             style: line
690             use-description: false
691             # yamllint disable-line rule:line-length
692             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
693             series:
694               - file: '{01-plot-data-file}'
695                 inclusion-flag: 'off'
696                 display-table: true
697                 format: csv
698           - title: '{02-plot-title}'
699             yaxis: '{02-plot-yaxis}'
700             group: '{02-plot-group}'
701             num-builds: '180'
702             keep-records: true
703             style: line
704             use-description: false
705             # yamllint disable-line rule:line-length
706             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
707             series:
708               - file: '{02-plot-data-file}'
709                 inclusion-flag: 'off'
710                 display-table: true
711                 format: csv
712           - title: '{03-plot-title}'
713             yaxis: '{03-plot-yaxis}'
714             group: '{03-plot-group}'
715             num-builds: '180'
716             keep-records: true
717             style: line
718             use-description: false
719             # yamllint disable-line rule:line-length
720             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
721             series:
722               - file: '{03-plot-data-file}'
723                 inclusion-flag: '{03-inclusion-flag}'
724                 exclude: '{03-exclude-value}'
725                 format: csv
726           - title: '{04-plot-title}'
727             yaxis: '{04-plot-yaxis}'
728             group: '{04-plot-group}'
729             num-builds: '180'
730             keep-records: true
731             style: line
732             use-description: false
733             # yamllint disable-line rule:line-length
734             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
735             series:
736               - file: '{04-plot-data-file}'
737                 inclusion-flag: '{04-inclusion-flag}'
738                 exclude: '{04-exclude-value}'
739                 format: csv
740           - title: '{05-plot-title}'
741             yaxis: '{05-plot-yaxis}'
742             group: '{05-plot-group}'
743             num-builds: '180'
744             keep-records: true
745             style: line
746             use-description: false
747             # yamllint disable-line rule:line-length
748             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
749             series:
750               - file: '{05-plot-data-file}'
751                 inclusion-flag: '{05-inclusion-flag}'
752                 exclude: '{05-exclude-value}'
753                 format: csv
754           - title: '{06-plot-title}'
755             yaxis: '{06-plot-yaxis}'
756             group: '{06-plot-group}'
757             num-builds: '180'
758             keep-records: true
759             style: line
760             use-description: false
761             # yamllint disable-line rule:line-length
762             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
763             series:
764               - file: '{06-plot-data-file}'
765                 inclusion-flag: '{06-inclusion-flag}'
766                 exclude: '{06-exclude-value}'
767                 format: csv
768           - title: '{07-plot-title}'
769             yaxis: '{07-plot-yaxis}'
770             group: '{07-plot-group}'
771             num-builds: '180'
772             keep-records: true
773             style: line
774             use-description: false
775             # yamllint disable-line rule:line-length
776             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
777             series:
778               - file: '{07-plot-data-file}'
779                 inclusion-flag: '{07-inclusion-flag}'
780                 exclude: '{07-exclude-value}'
781                 format: csv
782           - title: '{08-plot-title}'
783             yaxis: '{08-plot-yaxis}'
784             group: '{08-plot-group}'
785             num-builds: '180'
786             keep-records: true
787             style: line
788             use-description: false
789             # yamllint disable-line rule:line-length
790             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
791             series:
792               - file: '{08-plot-data-file}'
793                 inclusion-flag: '{08-inclusion-flag}'
794                 exclude: '{08-exclude-value}'
795                 format: csv
796           - title: '{09-plot-title}'
797             yaxis: '{09-plot-yaxis}'
798             group: '{09-plot-group}'
799             num-builds: '180'
800             keep-records: true
801             style: line
802             use-description: false
803             # yamllint disable-line rule:line-length
804             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
805             series:
806               - file: '{09-plot-data-file}'
807                 inclusion-flag: '{09-inclusion-flag}'
808                 exclude: '{09-exclude-value}'
809                 format: csv
810           - title: '{10-plot-title}'
811             yaxis: '{10-plot-yaxis}'
812             group: '{10-plot-group}'
813             num-builds: '180'
814             keep-records: true
815             style: line
816             use-description: false
817             # yamllint disable-line rule:line-length
818             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
819             series:
820               - file: '{10-plot-data-file}'
821                 inclusion-flag: '{10-inclusion-flag}'
822                 exclude: '{10-exclude-value}'
823                 format: csv
824       - integration-csit-publish:
825           robot_other_files: ''
826           robot-pass-threshold: 100.0
827           robot-unstable-threshold: 0.0
828       - lf-stack-delete:
829           openstack-cloud: '{openstack-cloud}'
830       - lf-infra-publish
831
832 - job-template:
833     name: '{prefix}{project}-csit-3node-{functionality}-{install}-{stream}'
834     id: inttest-csit-3node
835     <<: *inttest_csit_common
836     # yamllint disable-line rule:key-duplicates
837     <<: *inttest_csit_3node
838
839 - job-template:
840     name: '{prefix}{project}-csit-3node-{functionality}-{install}-{stream}'
841     id: inttest-csit-3node-custom
842     <<: *inttest_csit_common
843     # yamllint disable-line rule:key-duplicates
844     <<: *inttest_csit_3node
845
846     parameters:
847       - integration-csit-parameters:
848           archive-artifacts: '{archive-artifacts}'
849           branch: '{branch}'
850           os-cloud: '{os-cloud}'
851           # CSIT
852           bundle-url: '{bundle-url}'
853           repo-url: '{repo-url}'
854           robot-options: '{robot-options}'
855           # Controller
856           controller-scope: '{scope}'
857           debug-map: '{debug-map}'
858           install-features: 'odl-jolokia,{install-features}'
859           use-features-boot: 'True'
860       - integration-stack-2-type:
861           vm_0_count: 3
862           vm_0_flavor: '{odl_system_flavor}'
863           vm_0_image: '{odl_system_image}'
864           vm_1_count: '{tools_system_count}'
865           vm_1_flavor: '{tools_system_flavor}'
866           vm_1_image: '{tools_system_image}'
867       - integration-distribution-branch:
868           branch: '{branch}'
869       - integration-distribution-stream:
870           stream: '{stream}'
871       - integration-script-plan:
872           script-plan: '{project}.txt'
873       - integration-config-plan:
874           config-plan: '{project}.txt'
875       - integration-stream-test-plan:
876           stream-test-plan: '{project}-{functionality}-{stream}.txt'
877       - integration-test-plan:
878           test-plan: '{testplan}'
879       - integration-test-suites:
880           test-suites: '{test-suites}'
881       - integration-patch-refspec:
882           branch: 'master'
883       - integration-jdk-version:
884           jdkversion: '{jre}'
885       - distribution-karaf-version:
886           karaf-version: '{karaf-version}'
887
888
889 - job-template:
890     name: '{prefix}{project}-csit-3node-docker-{functionality}-{install}-{stream}'
891     id: inttest-csit-3node-docker
892     <<: *inttest_csit_common
893
894     #####################
895     # Default variables #
896     #####################
897
898     # TODO: Add default variables here
899
900     #####################
901     # Job Configuration #
902     #####################
903
904     parameters:
905       - integration-csit-parameters:
906           archive-artifacts: '{archive-artifacts}'
907           branch: '{branch}'
908           os-cloud: '{os-cloud}'
909           # CSIT
910           bundle-url: '{bundle-url}'
911           repo-url: '{repo-url}'
912           robot-options: '{robot-options}'
913           # Controller
914           controller-scope: '{scope}'
915           debug-map: '{debug-map}'
916           install-features: 'odl-jolokia,{install-features}'
917           use-features-boot: 'True'
918       - integration-distribution-branch:
919           branch: '{branch}'
920       - integration-distribution-stream:
921           stream: '{stream}'
922       - integration-script-plan:
923           script-plan: '{project}.txt'
924       - integration-config-plan:
925           config-plan: '{project}.txt'
926       - integration-stream-test-plan:
927           stream-test-plan: '{project}-{functionality}-{stream}.txt'
928       - integration-test-plan:
929           test-plan: '{project}-{functionality}.txt'
930       - integration-patch-refspec:
931           branch: 'master'
932       - integration-jdk-version:
933           jdkversion: '{jre}'
934       - distribution-karaf-version:
935           karaf-version: '{karaf-version}'
936
937     scm:
938       - integration-gerrit-scm:
939           basedir: 'test'
940           refspec: '$PATCHREFSPEC'
941           branch: 'master'
942
943     builders:
944       - lf-infra-pre-build
945       - integration-infra-stack:
946           stack-template: '{stack-template}'
947           vm_0_count: '3'
948           vm_0_flavor: '{odl_system_flavor}'
949           vm_0_image: '{odl_system_image}'
950           vm_1_count: '{docker_system_count}'
951           vm_1_flavor: '{docker_system_flavor}'
952           vm_1_image: '{docker_system_image}'
953       - integration-install-robotframework
954       - inject:
955           properties-file: 'env.properties'
956       - integration-get-slave-addresses
957       - inject:
958           properties-file: 'slave_addresses.txt'
959       - integration-detect-variables
960       - integration-install-common-functions
961       - integration-configure-clustering
962       - integration-start-cluster-run-test
963       - integration-cleanup-tmp
964
965     publishers:
966       - email-notification:
967           email-recipients: '{email-recipients}'
968           email-prefix: '[{project}]'
969       - plot:
970           - title: '{01-plot-title}'
971             yaxis: '{01-plot-yaxis}'
972             group: '{01-plot-group}'
973             num-builds: '5400'
974             keep-records: true
975             style: line
976             use-description: false
977             # yamllint disable-line rule:line-length
978             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
979             series:
980               - file: '{01-plot-data-file}'
981                 inclusion-flag: 'off'
982                 display-table: true
983                 format: csv
984           - title: '{02-plot-title}'
985             yaxis: '{02-plot-yaxis}'
986             group: '{02-plot-group}'
987             num-builds: '5400'
988             keep-records: true
989             style: line
990             use-description: false
991             # yamllint disable-line rule:line-length
992             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
993             series:
994               - file: '{02-plot-data-file}'
995                 inclusion-flag: 'off'
996                 display-table: true
997                 format: csv
998       - integration-csit-publish:
999           robot_other_files: ''
1000           robot-pass-threshold: 100.0
1001           robot-unstable-threshold: 0.0
1002       - lf-infra-publish
1003
1004
1005 #################################
1006 # inttest-csit-hwvtep-openstack #
1007 #################################
1008
1009 - inttest_csit_hwvtep_openstack: &inttest_csit_hwvtep_openstack
1010     name: inttest-csit-hwvtep-openstack
1011
1012     #####################
1013     # Default variables #
1014     #####################
1015
1016     # TODO: Add default variables here
1017
1018     #####################
1019     # Job configuration #
1020     #####################
1021
1022     parameters:
1023       - integration-csit-parameters:
1024           archive-artifacts: '{archive-artifacts}'
1025           branch: '{branch}'
1026           os-cloud: '{os-cloud}'
1027           # CSIT
1028           bundle-url: '{bundle-url}'
1029           repo-url: '{repo-url}'
1030           robot-options: '{robot-options}'
1031           # Controller
1032           controller-scope: ''
1033           debug-map: '{debug-map}'
1034           install-features: '{install-features}'
1035           use-features-boot: '{use-features-boot}'
1036       - integration-distribution-branch:
1037           branch: '{branch}'
1038       - integration-distribution-stream:
1039           stream: '{stream}'
1040       - integration-script-plan:
1041           script-plan: '{project}.txt'
1042       - integration-config-plan:
1043           config-plan: '{project}.txt'
1044       - integration-test-plan:
1045           test-plan: '{project}-{functionality}.txt'
1046       - integration-test-suites:
1047           test-suites: '{test-suites}'
1048       - integration-patch-refspec:
1049           branch: 'master'
1050       - integration-jdk-version:
1051           jdkversion: '{jre}'
1052       - distribution-karaf-version:
1053           karaf-version: '{karaf-version}'
1054       - string:
1055           name: OPENSTACK_BRANCH
1056           default: '{openstack-branch}'
1057           description: 'Openstack version to use with devstack'
1058       - string:
1059           name: DEVSTACK_HASH
1060           default: '{devstack-hash}'
1061           description: 'devstack hash to checkout'
1062       - string:
1063           name: ODL_ML2_DRIVER_REPO
1064           default: '{odl-ml2-driver-repo}'
1065           description: 'URL to fetch networking-odl driver'
1066       - string:
1067           name: ODL_ML2_BRANCH
1068           default: '{odl-ml2-branch}'
1069           description: 'Version of networking-odl to checkout from the repo'
1070       - string:
1071           name: ODL_ML2_DRIVER_VERSION
1072           default: '{odl-ml2-driver-version}'
1073           description: 'Mode of networking-odl (v1 or v2)'
1074       - string:
1075           name: ODL_ML2_PORT_BINDING
1076           default: '{odl-ml2-port-binding}'
1077           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1078           network-topology)'
1079       - string:
1080           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1081           default: '{devstack-kubernetes-plugin-repo}'
1082           description: 'URL to fetch kubernetes devstack plugin'
1083       - string:
1084           name: DEVSTACK_LBAAS_PLUGIN_REPO
1085           default: '{devstack-lbaas-plugin-repo}'
1086           description: 'URL to fetch neutron-lbaas devstack plugin'
1087       - string:
1088           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1089           default: '{devstack-networking-sfc-plugin-repo}'
1090           description: 'URL to fetch neutron-lbaas devstack plugin'
1091       - string:
1092           name: IPSEC_VXLAN_TUNNELS_ENABLED
1093           default: '{ipsec-vxlan-tunnels-enabled}'
1094           description: 'Enable ipsec over vxlan support for all controllers and computes'
1095       - string:
1096           name: PUBLIC_BRIDGE
1097           default: '{public-bridge}'
1098           description: 'Specifies public bridge for provider and external networking'
1099       - string:
1100           name: ENABLE_HAPROXY_FOR_NEUTRON
1101           default: '{enable-haproxy}'
1102           description: 'Enable HAProxy for using neutron interface as HA'
1103       - string:
1104           name: ENABLE_OS_SERVICES
1105           default: '{enable-openstack-services}'
1106           description: 'comma separated list of services to enable on controller nodes'
1107       - string:
1108           name: ENABLE_OS_COMPUTE_SERVICES
1109           default: '{enable-openstack-compute-services}'
1110           description: 'comma separated list of services to enable on compute nodes'
1111       - string:
1112           name: ENABLE_OS_NETWORK_SERVICES
1113           default: '{enable-openstack-network-services}'
1114           description: 'comma seperated list of network services to enable'
1115       - string:
1116           name: ENABLE_OS_PLUGINS
1117           default: '{enable-openstack-plugins}'
1118           description: 'comma seperated list of plugins to enable'
1119       - string:
1120           name: DISABLE_OS_SERVICES
1121           default: '{disable-openstack-services}'
1122           description: 'comma seperated list of services to enable'
1123       - string:
1124           name: TENANT_NETWORK_TYPE
1125           default: '{tenant-network-type}'
1126           description: 'Tenant Network Type supported by the implementation'
1127       - string:
1128           name: SECURITY_GROUP_MODE
1129           default: '{security-group-mode}'
1130           description: 'Security Group Mode to be used in netvirt aclservice config'
1131       - string:
1132           name: ENABLE_ITM_DIRECT_TUNNELS
1133           default: '{enable-itm-direct-tunnels}'
1134           description: 'Tunnel Configuration mode to be used in genius ifm config'
1135       - string:
1136           name: PUBLIC_PHYSICAL_NETWORK
1137           default: '{public-physical-network}'
1138           description: 'provider physical network used for flat/vlan networks'
1139       - string:
1140           name: ENABLE_NETWORKING_L2GW
1141           default: '{enable-networking-l2gw}'
1142           description: 'Enable networking L2gw'
1143       - string:
1144           name: NETWORKING_L2GW_DRIVER
1145           default: '{networking-l2gw-repo}'
1146           description: 'URL to fetch networking-l2gw driver'
1147       - string:
1148           name: CREATE_INITIAL_NETWORKS
1149           default: '{create-initial-networks}'
1150           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1151       - string:
1152           name: LBAAS_SERVICE_PROVIDER
1153           default: '{lbaas-service-provider}'
1154           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1155           neutron-lbaas'
1156       - string:
1157           name: ODL_SFC_DRIVER
1158           default: '{odl-sfc-driver}'
1159           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1160       - string:
1161           name: ODL_SNAT_MODE
1162           default: '{odl-snat-mode}'
1163           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1164       - string:
1165           name: OVS_INSTALL
1166           default: '{ovs-install}'
1167           description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
1168           repo url to pull from.'
1169
1170     scm:
1171       - integration-gerrit-scm:
1172           basedir: 'test'
1173           refspec: '$PATCHREFSPEC'
1174           branch: 'master'
1175
1176     triggers:
1177       - timed: '{schedule}'
1178
1179     builders:
1180       - lf-infra-pre-build
1181       - integration-infra-stack-4-type:
1182           stack-template: '{stack-template}'
1183           vm_0_count: '{odl_system_count}'
1184           vm_0_flavor: '{odl_system_flavor}'
1185           vm_0_image: '{odl_system_image}'
1186           vm_1_count: '{openstack_system_count}'
1187           vm_1_flavor: '{openstack_system_flavor}'
1188           vm_1_image: '{openstack_system_image}'
1189           vm_2_count: '{openstack_system2_count}'
1190           vm_2_flavor: '{openstack_system2_flavor}'
1191           vm_2_image: '{openstack_system2_image}'
1192           vm_3_count: '{tools_system_count}'
1193           vm_3_flavor: '{tools_system_flavor}'
1194           vm_3_image: '{tools_system_image}'
1195       - integration-install-robotframework
1196       - inject:
1197           properties-file: 'env.properties'
1198       - integration-get-slave-addresses
1199       - inject:
1200           properties-file: 'slave_addresses.txt'
1201       - integration-detect-variables
1202       - integration-install-common-functions
1203       - integration-deploy-controller-run-test
1204       - integration-deploy-openstack-run-test
1205       - integration-cleanup-tmp
1206
1207     publishers:
1208       - email-notification:
1209           email-recipients: '{email-recipients}'
1210           email-prefix: '[{project}]'
1211       - integration-csit-collect-netvirt-logs
1212       - integration-csit-publish:
1213           robot_other_files:
1214             - tempest_results.html
1215           robot-pass-threshold: 100.0
1216           robot-unstable-threshold: 0.0
1217       - lf-infra-publish
1218
1219 - job-template:
1220     # yamllint disable-line rule:line-length
1221     name: '{prefix}{project}-csit-hwvtep-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
1222     id: inttest-csit-hwvtep-openstack
1223     <<: *inttest_csit_common
1224     # yamllint disable-line rule:key-duplicates
1225     <<: *inttest_csit_hwvtep_openstack
1226
1227 - job-template:
1228     # yamllint disable-line rule:line-length
1229     name: '{prefix}{project}-csit-hwvtep-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
1230     id: inttest-csit-hwvtep-openstack-custom
1231     <<: *inttest_csit_common
1232     # yamllint disable-line rule:key-duplicates
1233     <<: *inttest_csit_hwvtep_openstack
1234
1235     parameters:
1236       - integration-csit-parameters:
1237           archive-artifacts: '{archive-artifacts}'
1238           branch: '{branch}'
1239           os-cloud: '{os-cloud}'
1240           # CSIT
1241           bundle-url: '{bundle-url}'
1242           repo-url: '{repo-url}'
1243           robot-options: '{robot-options}'
1244           # Controller
1245           controller-scope: ''
1246           debug-map: '{debug-map}'
1247           install-features: '{install-features}'
1248           use-features-boot: '{use-features-boot}'
1249       - integration-distribution-branch:
1250           branch: '{branch}'
1251       - integration-distribution-stream:
1252           stream: '{stream}'
1253       - integration-script-plan:
1254           script-plan: '{project}.txt'
1255       - integration-config-plan:
1256           config-plan: '{project}.txt'
1257       - integration-test-plan:
1258           test-plan: '{testplan}'
1259       - integration-test-suites:
1260           test-suites: '{test-suites}'
1261       - integration-patch-refspec:
1262           branch: 'master'
1263       - integration-jdk-version:
1264           jdkversion: '{jre}'
1265       - distribution-karaf-version:
1266           karaf-version: '{karaf-version}'
1267       - string:
1268           name: OPENSTACK_BRANCH
1269           default: '{openstack-branch}'
1270           description: 'Openstack version to use with devstack'
1271       - string:
1272           name: DEVSTACK_HASH
1273           default: '{devstack-hash}'
1274           description: 'devstack hash to checkout'
1275       - string:
1276           name: ODL_ML2_DRIVER_REPO
1277           default: '{odl-ml2-driver-repo}'
1278           description: 'URL to fetch networking-odl driver'
1279       - string:
1280           name: ODL_ML2_BRANCH
1281           default: '{odl-ml2-branch}'
1282           description: 'Version of networking-odl to checkout from the repo'
1283       - string:
1284           name: ODL_ML2_DRIVER_VERSION
1285           default: '{odl-ml2-driver-version}'
1286           description: 'Mode of networking-odl (v1 or v2)'
1287       - string:
1288           name: ODL_ML2_PORT_BINDING
1289           default: '{odl-ml2-port-binding}'
1290           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1291           network-topology)'
1292       - string:
1293           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1294           default: '{devstack-kubernetes-plugin-repo}'
1295           description: 'URL to fetch kubernetes devstack plugin'
1296       - string:
1297           name: DEVSTACK_LBAAS_PLUGIN_REPO
1298           default: '{devstack-lbaas-plugin-repo}'
1299           description: 'URL to fetch neutron-lbaas devstack plugin'
1300       - string:
1301           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1302           default: '{devstack-networking-sfc-plugin-repo}'
1303           description: 'URL to fetch neutron-lbaas devstack plugin'
1304       - string:
1305           name: IPSEC_VXLAN_TUNNELS_ENABLED
1306           default: '{ipsec-vxlan-tunnels-enabled}'
1307           description: 'Enable ipsec over vxlan support for all controllers and computes'
1308       - string:
1309           name: PUBLIC_BRIDGE
1310           default: '{public-bridge}'
1311           description: 'Specifies public bridge for provider and external networking'
1312       - string:
1313           name: ENABLE_HAPROXY_FOR_NEUTRON
1314           default: '{enable-haproxy}'
1315           description: 'Enable HAProxy for using neutron interface as HA'
1316       - string:
1317           name: ENABLE_OS_SERVICES
1318           default: '{enable-openstack-services}'
1319           description: 'comma separated list of services to enable on controller nodes'
1320       - string:
1321           name: ENABLE_OS_COMPUTE_SERVICES
1322           default: '{enable-openstack-compute-services}'
1323           description: 'comma separated list of services to enable on compute nodes'
1324       - string:
1325           name: ENABLE_OS_NETWORK_SERVICES
1326           default: '{enable-openstack-network-services}'
1327           description: 'comma seperated list of network services to enable'
1328       - string:
1329           name: ENABLE_OS_PLUGINS
1330           default: '{enable-openstack-plugins}'
1331           description: 'comma seperated list of plugins to enable'
1332       - string:
1333           name: DISABLE_OS_SERVICES
1334           default: '{disable-openstack-services}'
1335           description: 'comma seperated list of services to enable'
1336       - string:
1337           name: TENANT_NETWORK_TYPE
1338           default: '{tenant-network-type}'
1339           description: 'Tenant Network Type supported by the implementation'
1340       - string:
1341           name: SECURITY_GROUP_MODE
1342           default: '{security-group-mode}'
1343           description: 'Security Group Mode to be used in netvirt aclservice config'
1344       - string:
1345           name: ENABLE_ITM_DIRECT_TUNNELS
1346           default: '{enable-itm-direct-tunnels}'
1347           description: 'Tunnel Configuration mode to be used in genius ifm config'
1348       - string:
1349           name: PUBLIC_PHYSICAL_NETWORK
1350           default: '{public-physical-network}'
1351           description: 'provider physical network used for flat/vlan networks'
1352       - string:
1353           name: ENABLE_NETWORKING_L2GW
1354           default: '{enable-networking-l2gw}'
1355           description: 'Enable networking L2gw'
1356       - string:
1357           name: NETWORKING_L2GW_DRIVER
1358           default: '{networking-l2gw-repo}'
1359           description: 'URL to fetch networking-l2gw driver'
1360       - string:
1361           name: CREATE_INITIAL_NETWORKS
1362           default: '{create-initial-networks}'
1363           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1364       - string:
1365           name: LBAAS_SERVICE_PROVIDER
1366           default: '{lbaas-service-provider}'
1367           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1368           neutron-lbaas'
1369       - string:
1370           name: ODL_SFC_DRIVER
1371           default: '{odl-sfc-driver}'
1372           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1373       - string:
1374           name: ODL_SNAT_MODE
1375           default: '{odl-snat-mode}'
1376           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1377       - string:
1378           name: OVS_INSTALL
1379           default: '{ovs-install}'
1380           description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
1381           repo url to pull from.'
1382
1383
1384 ##########################
1385 # inttest-csit-openstack #
1386 ##########################
1387
1388 - inttest_csit_openstack: &inttest_csit_openstack
1389     name: inttest-csit-openstack
1390
1391     #####################
1392     # Default variables #
1393     #####################
1394
1395     # TODO: Add default variables here
1396
1397     #####################
1398     # Job configuration #
1399     #####################
1400
1401     parameters:
1402       - integration-csit-parameters:
1403           archive-artifacts: '{archive-artifacts}'
1404           branch: '{branch}'
1405           os-cloud: '{os-cloud}'
1406           # CSIT
1407           bundle-url: '{bundle-url}'
1408           repo-url: '{repo-url}'
1409           robot-options: '{robot-options}'
1410           # Controller
1411           controller-scope: ''
1412           debug-map: '{debug-map}'
1413           install-features: '{install-features}'
1414           use-features-boot: '{use-features-boot}'
1415       - integration-distribution-branch:
1416           branch: '{branch}'
1417       - integration-distribution-stream:
1418           stream: '{stream}'
1419       - integration-script-plan:
1420           script-plan: '{project}.txt'
1421       - integration-config-plan:
1422           config-plan: '{project}.txt'
1423       - integration-test-plan:
1424           test-plan: '{project}-{functionality}.txt'
1425       - integration-test-suites:
1426           test-suites: '{test-suites}'
1427       - integration-patch-refspec:
1428           branch: 'master'
1429       - integration-jdk-version:
1430           jdkversion: '{jre}'
1431       - distribution-karaf-version:
1432           karaf-version: '{karaf-version}'
1433       - string:
1434           name: OPENSTACK_BRANCH
1435           default: '{openstack-branch}'
1436           description: 'Openstack version to use with devstack'
1437       - string:
1438           name: DEVSTACK_HASH
1439           default: '{devstack-hash}'
1440           description: 'devstack hash to checkout'
1441       - string:
1442           name: ODL_ML2_DRIVER_REPO
1443           default: '{odl-ml2-driver-repo}'
1444           description: 'URL to fetch networking-odl driver'
1445       - string:
1446           name: ODL_ML2_BRANCH
1447           default: '{odl-ml2-branch}'
1448           description: 'Version of networking-odl to checkout from the repo'
1449       - string:
1450           name: ODL_ML2_DRIVER_VERSION
1451           default: '{odl-ml2-driver-version}'
1452           description: 'Mode of networking-odl (v1 or v2)'
1453       - string:
1454           name: ODL_ML2_PORT_BINDING
1455           default: '{odl-ml2-port-binding}'
1456           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1457           network-topology)'
1458       - string:
1459           name: ENABLE_GRE_TYPE_DRIVERS
1460           default: '{enable-gre-type-driver}'
1461           description: 'Enable gre tunnel'
1462       - string:
1463           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1464           default: '{devstack-kubernetes-plugin-repo}'
1465           description: 'URL to fetch kubernetes devstack plugin'
1466       - string:
1467           name: DEVSTACK_LBAAS_PLUGIN_REPO
1468           default: '{devstack-lbaas-plugin-repo}'
1469           description: 'URL to fetch neutron-lbaas devstack plugin'
1470       - string:
1471           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1472           default: '{devstack-networking-sfc-plugin-repo}'
1473           description: 'URL to fetch neutron-lbaas devstack plugin'
1474       - string:
1475           name: IPSEC_VXLAN_TUNNELS_ENABLED
1476           default: '{ipsec-vxlan-tunnels-enabled}'
1477           description: 'Enable ipsec over vxlan support for all controllers and computes'
1478       - string:
1479           name: PUBLIC_BRIDGE
1480           default: '{public-bridge}'
1481           description: 'Specifies public bridge for provider and external networking'
1482       - string:
1483           name: ENABLE_HAPROXY_FOR_NEUTRON
1484           default: '{enable-haproxy}'
1485           description: 'Enable HAProxy for using neutron interface as HA'
1486       - string:
1487           name: ENABLE_OS_SERVICES
1488           default: '{enable-openstack-services}'
1489           description: 'comma seperated list of services to enable'
1490       - string:
1491           name: ENABLE_OS_COMPUTE_SERVICES
1492           default: '{enable-openstack-compute-services}'
1493           description: 'comma separated list of services to enable on compute nodes'
1494       - string:
1495           name: ENABLE_OS_NETWORK_SERVICES
1496           default: '{enable-openstack-network-services}'
1497           description: 'comma seperated list of network services to enable'
1498       - string:
1499           name: ENABLE_OS_PLUGINS
1500           default: '{enable-openstack-plugins}'
1501           description: 'comma seperated list of plugins to enable'
1502       - string:
1503           name: DISABLE_OS_SERVICES
1504           default: '{disable-openstack-services}'
1505           description: 'comma seperated list of services to enable'
1506       - string:
1507           name: TENANT_NETWORK_TYPE
1508           default: '{tenant-network-type}'
1509           description: 'Tenant Network Type supported by the implementation'
1510       - string:
1511           name: SECURITY_GROUP_MODE
1512           default: '{security-group-mode}'
1513           description: 'Security Group Mode to be used in netvirt aclservice config'
1514       - string:
1515           name: ENABLE_ITM_DIRECT_TUNNELS
1516           default: '{enable-itm-direct-tunnels}'
1517           description: 'Tunnel Configuration mode to be used in genius ifm config'
1518       - string:
1519           name: PUBLIC_PHYSICAL_NETWORK
1520           default: '{public-physical-network}'
1521           description: 'provider physical network used for flat/vlan networks'
1522       - string:
1523           name: ENABLE_NETWORKING_L2GW
1524           default: '{enable-networking-l2gw}'
1525           description: 'Enable networking L2gw'
1526       - string:
1527           name: NETWORKING_L2GW_DRIVER
1528           default: '{networking-l2gw-repo}'
1529           description: 'URL to fetch networking-l2gw driver'
1530       - string:
1531           name: CREATE_INITIAL_NETWORKS
1532           default: '{create-initial-networks}'
1533           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1534       - string:
1535           name: LBAAS_SERVICE_PROVIDER
1536           default: '{lbaas-service-provider}'
1537           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1538           neutron-lbaas'
1539       - string:
1540           name: ODL_SFC_DRIVER
1541           default: '{odl-sfc-driver}'
1542           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1543       - string:
1544           name: ODL_SNAT_MODE
1545           default: '{odl-snat-mode}'
1546           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1547       - string:
1548           name: OVS_INSTALL
1549           default: '{ovs-install}'
1550           description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
1551           repo url to pull from.'
1552
1553     scm:
1554       - integration-gerrit-scm:
1555           basedir: 'test'
1556           refspec: '$PATCHREFSPEC'
1557           branch: 'master'
1558
1559     triggers:
1560       - timed: '{schedule}'
1561
1562     builders:
1563       - lf-infra-pre-build
1564       - integration-infra-stack-4-type:
1565           stack-template: '{stack-template}'
1566           vm_0_count: '{odl_system_count}'
1567           vm_0_flavor: '{odl_system_flavor}'
1568           vm_0_image: '{odl_system_image}'
1569           vm_1_count: '{openstack_system_count}'
1570           vm_1_flavor: '{openstack_system_flavor}'
1571           vm_1_image: '{openstack_system_image}'
1572           vm_2_count: '{openstack_system2_count}'
1573           vm_2_flavor: '{openstack_system2_flavor}'
1574           vm_2_image: '{openstack_system2_image}'
1575           vm_3_count: '{tools_system_count}'
1576           vm_3_flavor: '{tools_system_flavor}'
1577           vm_3_image: '{tools_system_image}'
1578       - integration-install-robotframework
1579       - inject:
1580           properties-file: 'env.properties'
1581       - integration-get-slave-addresses
1582       - inject:
1583           properties-file: 'slave_addresses.txt'
1584       - integration-detect-variables
1585       - integration-install-common-functions
1586       - integration-deploy-controller-run-test
1587       - integration-deploy-openstack-run-test
1588       - integration-cleanup-tmp
1589
1590     publishers:
1591       - email-notification:
1592           email-recipients: '{email-recipients}'
1593           email-prefix: '[{project}]'
1594       - integration-csit-collect-netvirt-logs
1595       - integration-csit-publish:
1596           robot_other_files:
1597             - tempest_results.html
1598           robot-pass-threshold: 100.0
1599           robot-unstable-threshold: 0.0
1600       - lf-infra-publish
1601
1602 - job-template:
1603     # yamllint disable-line rule:line-length
1604     name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
1605     id: inttest-csit-openstack
1606     <<: *inttest_csit_common
1607     # yamllint disable-line rule:key-duplicates
1608     <<: *inttest_csit_openstack
1609
1610 - job-template:
1611     # yamllint disable-line rule:line-length
1612     name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
1613     id: inttest-csit-openstack-custom
1614     <<: *inttest_csit_common
1615     # yamllint disable-line rule:key-duplicates
1616     <<: *inttest_csit_openstack
1617
1618     parameters:
1619       - integration-csit-parameters:
1620           archive-artifacts: '{archive-artifacts}'
1621           branch: '{branch}'
1622           os-cloud: '{os-cloud}'
1623           # CSIT
1624           bundle-url: '{bundle-url}'
1625           repo-url: '{repo-url}'
1626           robot-options: '{robot-options}'
1627           # Controller
1628           controller-scope: ''
1629           debug-map: '{debug-map}'
1630           install-features: '{install-features}'
1631           use-features-boot: '{use-features-boot}'
1632       - integration-distribution-branch:
1633           branch: '{branch}'
1634       - integration-distribution-stream:
1635           stream: '{stream}'
1636       - integration-script-plan:
1637           script-plan: '{project}.txt'
1638       - integration-config-plan:
1639           config-plan: '{project}.txt'
1640       - integration-test-plan:
1641           test-plan: '{testplan}'
1642       - integration-test-suites:
1643           test-suites: '{test-suites}'
1644       - integration-patch-refspec:
1645           branch: 'master'
1646       - integration-jdk-version:
1647           jdkversion: '{jre}'
1648       - distribution-karaf-version:
1649           karaf-version: '{karaf-version}'
1650       - string:
1651           name: OPENSTACK_BRANCH
1652           default: '{openstack-branch}'
1653           description: 'Openstack version to use with devstack'
1654       - string:
1655           name: DEVSTACK_HASH
1656           default: '{devstack-hash}'
1657           description: 'devstack hash to checkout'
1658       - string:
1659           name: ODL_ML2_DRIVER_REPO
1660           default: '{odl-ml2-driver-repo}'
1661           description: 'URL to fetch networking-odl driver'
1662       - string:
1663           name: ODL_ML2_BRANCH
1664           default: '{odl-ml2-branch}'
1665           description: 'Version of networking-odl to checkout from the repo'
1666       - string:
1667           name: ODL_ML2_DRIVER_VERSION
1668           default: '{odl-ml2-driver-version}'
1669           description: 'Mode of networking-odl (v1 or v2)'
1670       - string:
1671           name: ODL_ML2_PORT_BINDING
1672           default: '{odl-ml2-port-binding}'
1673           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1674           network-topology)'
1675       - string:
1676           name: ENABLE_GRE_TYPE_DRIVERS
1677           default: '{enable-gre-type-driver}'
1678           description: 'Enable gre tunnel'
1679       - string:
1680           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1681           default: '{devstack-kubernetes-plugin-repo}'
1682           description: 'URL to fetch kubernetes devstack plugin'
1683       - string:
1684           name: DEVSTACK_LBAAS_PLUGIN_REPO
1685           default: '{devstack-lbaas-plugin-repo}'
1686           description: 'URL to fetch neutron-lbaas devstack plugin'
1687       - string:
1688           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1689           default: '{devstack-networking-sfc-plugin-repo}'
1690           description: 'URL to fetch neutron-lbaas devstack plugin'
1691       - string:
1692           name: IPSEC_VXLAN_TUNNELS_ENABLED
1693           default: '{ipsec-vxlan-tunnels-enabled}'
1694           description: 'Enable ipsec over vxlan support for all controllers and computes'
1695       - string:
1696           name: PUBLIC_BRIDGE
1697           default: '{public-bridge}'
1698           description: 'Specifies public bridge for provider and external networking'
1699       - string:
1700           name: ENABLE_HAPROXY_FOR_NEUTRON
1701           default: '{enable-haproxy}'
1702           description: 'Enable HAProxy for using neutron interface as HA'
1703       - string:
1704           name: ENABLE_OS_SERVICES
1705           default: '{enable-openstack-services}'
1706           description: 'comma seperated list of services to enable'
1707       - string:
1708           name: ENABLE_OS_COMPUTE_SERVICES
1709           default: '{enable-openstack-compute-services}'
1710           description: 'comma separated list of services to enable on compute nodes'
1711       - string:
1712           name: ENABLE_OS_NETWORK_SERVICES
1713           default: '{enable-openstack-network-services}'
1714           description: 'comma seperated list of network services to enable'
1715       - string:
1716           name: ENABLE_OS_PLUGINS
1717           default: '{enable-openstack-plugins}'
1718           description: 'comma seperated list of plugins to enable'
1719       - string:
1720           name: DISABLE_OS_SERVICES
1721           default: '{disable-openstack-services}'
1722           description: 'comma seperated list of services to enable'
1723       - string:
1724           name: TENANT_NETWORK_TYPE
1725           default: '{tenant-network-type}'
1726           description: 'Tenant Network Type supported by the implementation'
1727       - string:
1728           name: SECURITY_GROUP_MODE
1729           default: '{security-group-mode}'
1730           description: 'Security Group Mode to be used in netvirt aclservice config'
1731       - string:
1732           name: ENABLE_ITM_DIRECT_TUNNELS
1733           default: '{enable-itm-direct-tunnels}'
1734           description: 'Tunnel Configuration mode to be used in genius ifm config'
1735       - string:
1736           name: PUBLIC_PHYSICAL_NETWORK
1737           default: '{public-physical-network}'
1738           description: 'provider physical network used for flat/vlan networks'
1739       - string:
1740           name: ENABLE_NETWORKING_L2GW
1741           default: '{enable-networking-l2gw}'
1742           description: 'Enable networking L2gw'
1743       - string:
1744           name: NETWORKING_L2GW_DRIVER
1745           default: '{networking-l2gw-repo}'
1746           description: 'URL to fetch networking-l2gw driver'
1747       - string:
1748           name: CREATE_INITIAL_NETWORKS
1749           default: '{create-initial-networks}'
1750           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1751       - string:
1752           name: LBAAS_SERVICE_PROVIDER
1753           default: '{lbaas-service-provider}'
1754           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1755           neutron-lbaas'
1756       - string:
1757           name: ODL_SFC_DRIVER
1758           default: '{odl-sfc-driver}'
1759           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1760       - string:
1761           name: ODL_SNAT_MODE
1762           default: '{odl-snat-mode}'
1763           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1764       - string:
1765           name: OVS_INSTALL
1766           default: '{ovs-install}'
1767           description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
1768           repo url to pull from.'
1769
1770 # Template: {project}-patch-test-{stream}
1771 # Goal: Build a patch and run project specific system test on a distribution containing the change
1772 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1773 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1774
1775 - job-template:
1776     name: '{prefix}{project}-patch-test-{feature}-{stream}'
1777     id: inttest-patch-test
1778     <<: *inttest_csit_common
1779
1780     build-timeout: 720
1781
1782     parameters:
1783       - opendaylight-infra-parameters:
1784           os-cloud: '{os-cloud}'
1785           project: '{project}'
1786           branch: '{branch}'
1787           refspec: 'refs/heads/{branch}'
1788           artifacts: '{archive-artifacts}'
1789       - integration-distribution-branch:
1790           branch: '{branch}'
1791       - distribution-karaf-version:
1792           karaf-version: '{karaf-version}'
1793       - integration-distribution-git-url:
1794           git-url: '{git-url}'
1795       - string:
1796           name: feature
1797           default: 'all'
1798           description: 'Specific feature test for patch'
1799       - maven-exec:
1800           maven-version: mvn35
1801
1802     scm:
1803       - integration-gerrit-scm:
1804           basedir: '{project}'
1805           refspec: '$GERRIT_REFSPEC'
1806           branch: '{branch}'
1807       - integration-distribution-scm:
1808           branch: '{branch}'
1809
1810     triggers:
1811       - gerrit:
1812           server-name: '{gerrit-server-name}'
1813           trigger-on:
1814             - comment-added-contains-event:
1815                 comment-contains-value: 'test-{project}-all'
1816             - comment-added-contains-event:
1817                 comment-contains-value: 'test-{project}-{feature}'
1818           projects:
1819             - project-compare-type: 'ANT'
1820               project-pattern: '{project}'
1821               branches:
1822                 - branch-compare-type: 'ANT'
1823                   branch-pattern: '**/{branch}'
1824           skip-vote:
1825             successful: true
1826             failed: true
1827             unstable: true
1828             notbuilt: true
1829
1830     builders:
1831       - integration-rebase-gerrit-patch
1832       - wipe-org-opendaylight-repo
1833       - maven-target:
1834           maven-version: mvn35
1835           pom: '{project}/pom.xml'
1836           goals: |
1837               clean install dependency:tree
1838               -Pq
1839               -Dgitid.skip=false
1840               -Dmaven.gitcommitid.skip=false
1841               -DgenerateReports=false
1842               -Dstream={stream}
1843               {opendaylight-infra-mvn-opts}
1844           # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
1845           java-opts:
1846             - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
1847           settings: integration-settings
1848           settings-type: cfp
1849           global-settings: global-settings
1850           global-settings-type: cfp
1851       - maven-target:
1852           maven-version: mvn35
1853           pom: distribution/pom.xml
1854           goals: |
1855               clean install dependency:tree
1856               -Pq
1857               -Dgitid.skip=false
1858               -Dmaven.gitcommitid.skip=false
1859               {opendaylight-infra-mvn-opts}
1860           # {opendaylight-infra-parallel-mvn-opts} is bad when there are multiple big features in SFT.
1861           java-opts:
1862             - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
1863           settings: integration-settings
1864           settings-type: cfp
1865           global-settings: global-settings
1866           global-settings-type: cfp
1867       - integration-upload-distribution:
1868           dist-pom: distribution/pom.xml
1869       - trigger-builds:
1870           - project: '{csit-list}'
1871             block: true
1872             predefined-parameters: |
1873               BUNDLE_URL=$BUNDLE_URL
1874               GERRIT_BRANCH=$GERRIT_BRANCH
1875               GERRIT_PROJECT=$GERRIT_PROJECT
1876               GERRIT_REFSPEC=$GERRIT_REFSPEC
1877               KARAF_VERSION=$KARAF_VERSION
1878
1879     publishers:
1880       - email-notification:
1881           email-recipients: '{email-recipients}'
1882           email-prefix: '[{project}]'
1883
1884
1885 #####################
1886 # inttest-csit-apex #
1887 #####################
1888
1889 - inttest_csit_apex: &inttest_csit_apex
1890     name: inttest-csit-apex
1891
1892     #####################
1893     # Default variables #
1894     #####################
1895
1896     # TODO: Add default variables here
1897
1898     #####################
1899     # Job configuration #
1900     #####################
1901
1902     parameters:
1903       - integration-csit-parameters:
1904           archive-artifacts: '{archive-artifacts}'
1905           branch: '{branch}'
1906           os-cloud: '{os-cloud}'
1907           # CSIT
1908           bundle-url: '{bundle-url}'
1909           repo-url: '{repo-url}'
1910           robot-options: '{robot-options}'
1911           # Controller
1912           controller-scope: ''
1913           debug-map: '{debug-map}'
1914           install-features: '{install-features}'
1915           use-features-boot: '{use-features-boot}'
1916       - integration-distribution-branch:
1917           branch: '{branch}'
1918       - integration-distribution-stream:
1919           stream: '{stream}'
1920       - integration-test-plan:
1921           test-plan: '{project}-{functionality}.txt'
1922       - integration-test-suites:
1923           test-suites: '{test-suites}'
1924       - integration-patch-refspec:
1925           branch: 'master'
1926       - integration-jdk-version:
1927           jdkversion: '{jre}'
1928       - distribution-karaf-version:
1929           karaf-version: '{karaf-version}'
1930       - string:
1931           name: OPENSTACK_BRANCH
1932           default: '{openstack-branch}'
1933           description: 'Openstack version to use with devstack'
1934       - string:
1935           name: IPSEC_VXLAN_TUNNELS_ENABLED
1936           default: '{ipsec-vxlan-tunnels-enabled}'
1937           description: 'Enable ipsec over vxlan support for all controllers and computes'
1938       - string:
1939           name: PUBLIC_BRIDGE
1940           default: '{public-bridge}'
1941           description: 'Specifies public bridge for provider and external networking'
1942       - string:
1943           name: SECURITY_GROUP_MODE
1944           default: '{security-group-mode}'
1945           description: 'Security Group Mode to be used in netvirt aclservice config'
1946       - string:
1947           name: ENABLE_ITM_DIRECT_TUNNELS
1948           default: '{enable-itm-direct-tunnels}'
1949           description: 'Tunnel Configuration mode to be used in genius ifm config'
1950       - string:
1951           name: PUBLIC_PHYSICAL_NETWORK
1952           default: '{public-physical-network}'
1953           description: 'provider physical network used for flat/vlan networks'
1954       - string:
1955           name: ODL_SNAT_MODE
1956           default: '{odl-snat-mode}'
1957           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1958
1959     scm:
1960       - integration-gerrit-scm:
1961           basedir: 'test'
1962           refspec: '$PATCHREFSPEC'
1963           branch: 'master'
1964
1965     triggers:
1966       - timed: '{schedule}'
1967
1968     builders:
1969       - lf-infra-pre-build
1970       - integration-apex-stack-3-type:
1971           stack-template: '{stack-template}'
1972           vm_0_count: '{apex_controller_count}'
1973           vm_0_flavor: '{apex_controller_flavor}'
1974           vm_0_image: '{apex_controller_image}'
1975           vm_1_count: '1'
1976           vm_1_flavor: '{apex_compute_0_flavor}'
1977           vm_1_image: '{apex_compute_0_image}'
1978           vm_2_count: '1'
1979           vm_2_flavor: '{apex_compute_1_flavor}'
1980           vm_2_image: '{apex_compute_1_image}'
1981       - integration-install-robotframework
1982       - integration-detect-variables
1983       - integration-install-common-functions
1984       - inject:
1985           properties-file: 'env.properties'
1986       - integration-get-apex-addresses
1987       - inject:
1988           properties-file: 'slave_addresses.txt'
1989       - integration-apex-run-tests
1990       - integration-cleanup-tmp
1991
1992     publishers:
1993       - email-notification:
1994           email-recipients: '{email-recipients}'
1995           email-prefix: '[{project}]'
1996       - integration-csit-publish:
1997           robot_other_files:
1998             - tempest_results.html
1999           robot-pass-threshold: 100.0
2000           robot-unstable-threshold: 0.0
2001       - lf-infra-publish
2002
2003 - job-template:
2004     # yamllint disable-line rule:line-length
2005     name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-apex-{openstack}-{functionality}-{stream}'
2006     id: inttest-csit-apex
2007     <<: *inttest_csit_common
2008     # yamllint disable-line rule:key-duplicates
2009     <<: *inttest_csit_apex
2010
2011 - job-template:
2012     # yamllint disable-line rule:line-length
2013     name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-apex-{openstack}-{functionality}-{stream}'
2014     id: inttest-csit-apex-custom
2015     <<: *inttest_csit_common
2016     # yamllint disable-line rule:key-duplicates
2017     <<: *inttest_csit_apex
2018
2019     parameters:
2020       - integration-csit-parameters:
2021           archive-artifacts: '{archive-artifacts}'
2022           branch: '{branch}'
2023           os-cloud: '{os-cloud}'
2024           # CSIT
2025           bundle-url: '{bundle-url}'
2026           repo-url: '{repo-url}'
2027           robot-options: '{robot-options}'
2028           # Controller
2029           controller-scope: ''
2030           debug-map: '{debug-map}'
2031           install-features: '{install-features}'
2032           use-features-boot: '{use-features-boot}'
2033       - integration-distribution-branch:
2034           branch: '{branch}'
2035       - integration-distribution-stream:
2036           stream: '{stream}'
2037       - integration-test-plan:
2038           test-plan: '{testplan}'
2039       - integration-test-suites:
2040           test-suites: '{test-suites}'
2041       - integration-patch-refspec:
2042           branch: 'master'
2043       - integration-jdk-version:
2044           jdkversion: '{jre}'
2045       - distribution-karaf-version:
2046           karaf-version: '{karaf-version}'
2047       - string:
2048           name: OPENSTACK_BRANCH
2049           default: '{openstack-branch}'
2050           description: 'Openstack version to use with devstack'
2051       - string:
2052           name: IPSEC_VXLAN_TUNNELS_ENABLED
2053           default: '{ipsec-vxlan-tunnels-enabled}'
2054           description: 'Enable ipsec over vxlan support for all controllers and computes'
2055       - string:
2056           name: PUBLIC_BRIDGE
2057           default: '{public-bridge}'
2058           description: 'Specifies public bridge for provider and external networking'
2059       - string:
2060           name: SECURITY_GROUP_MODE
2061           default: '{security-group-mode}'
2062           description: 'Security Group Mode to be used in netvirt aclservice config'
2063       - string:
2064           name: ENABLE_ITM_DIRECT_TUNNELS
2065           default: '{enable-itm-direct-tunnels}'
2066           description: 'Tunnel Configuration mode to be used in genius ifm config'
2067       - string:
2068           name: PUBLIC_PHYSICAL_NETWORK
2069           default: '{public-physical-network}'
2070           description: 'provider physical network used for flat/vlan networks'
2071       - string:
2072           name: ODL_SNAT_MODE
2073           default: '{odl-snat-mode}'
2074           description: 'The SNAT mode to be configured - options are conntrack/controller.'