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