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