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