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