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