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