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