a17507327ca66bbdbf6e62d83516bc031805bef8
[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-1node-periodic-{functionality}-{install}-{stream}
7 # {project}-csit-3node-docker-{functionality}-{install}-{stream}
8 # {project}-csit-3node-{functionality}-{install}-{stream}
9 # {project}-csit-3node-periodic-{functionality}-{install}-{stream}
10 # {project}-csit-hwvtep-{topology}-openstack-{openstack}-{functionality}-{stream}
11 # {project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}
12 # {project}-csit-verify-1node-{functionality}
13 # {project}-csit-verify-3node-{functionality}
14 # {project}-patch-test-{feature}-{stream}
15 #
16 # Parameters:
17 # FIXME: Distinguish variables, macros and arguments, then update.
18 #
19 # opendaylight-infra-parameters: main project integration/test ($PROJECT)
20 # jre: (openjdk7 or openjdk8) Java runtime environment to use when launching ODL
21 # integration-distribution-branch: distribution branch ($DISTROBRANCH)
22 # integration-controller-bundle-url: distribution URL ($BUNDLE_URL)
23 # integration-controller-scope: only or all features ($CONTROLLERSCOPE)
24 # integration-controller-features: features under test ($CONTROLLER FEATURES)
25 # integration-test-options: robot options ($TESTOPTIONS)
26 # integration-stream-test-plan: stream specific robot test plan ($STREAMTESTPLAN)
27 # integration-test-plan: fallback robot test plan ($TESTPLAN)
28 # integration-patch-refspec: test branch ($PATCHREFSPEC)
29 # integration-use-features-boot: bool to toggle use of featuresBoot ($USEFEATURESBOOT)
30
31
32 # New templates
33
34 - job-template:
35     name: '{project}-csit-verify-1node-{functionality}'
36     disabled: false
37
38     project-type: freestyle
39     node: centos7-robot-2c-8g
40
41     properties:
42       - opendaylight-infra-properties:
43           build-days-to-keep: '{build-days-to-keep}'
44
45     parameters:
46       - opendaylight-infra-parameters:
47           os-cloud: '{os-cloud}'
48           project: 'integration/test'
49           branch: '{branch}'
50           refspec: 'refs/heads/{branch}'
51           artifacts: '{archive-artifacts}'
52       - integration-distribution-branch:
53           branch: '{verify-branch}'
54       - integration-distribution-stream:
55           stream: '{verify-stream}'
56       - integration-bundle-url:
57           bundle-url: '{bundle-url}'
58       - integration-controller-scope:
59           controller-scope: 'only'
60       - integration-controller-features:
61           controller-features: '{install-features}'
62       - integration-test-options:
63           test-options: '{robot-options}'
64       - integration-stream-test-plan:
65           stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
66       - integration-test-plan:
67           test-plan: '{project}-{functionality}.txt'
68       - integration-jdk-version:
69           jdkversion: '{verify-jdkversion}'
70       - distribution-karaf-version:
71           karaf-version: '{verify-karaf-version}'
72       - integration-use-features-boot:
73           use-features-boot: 'True'
74     scm:
75       - integration-gerrit-scm:
76           basedir: 'test'
77           refspec: '$GERRIT_REFSPEC'
78           branch: 'master'
79
80     wrappers:
81       - opendaylight-infra-wrappers:
82           build-timeout: '{build-timeout}'
83
84     triggers:
85       - integration-trigger-patch-submitted:
86           gerrit-server-name: '{gerrit-server-name}'
87           project: 'integration/test'
88           branch: 'master'
89           files: 'csit/suites/{project}/**'
90
91     builders:
92       - integration-infra-stack:
93           stack-template: '{stack-template}'
94           vm_0_count: '1'
95           vm_0_flavor: '{odl_system_flavor}'
96           vm_0_image: '{odl_system_image}'
97           vm_1_count: '{tools_system_count}'
98           vm_1_flavor: '{tools_system_flavor}'
99           vm_1_image: '{tools_system_image}'
100       - integration-install-robotframework
101       - inject:
102           properties-file: 'env.properties'
103       - integration-get-slave-addresses
104       - inject:
105           properties-file: 'slave_addresses.txt'
106       - integration-detect-variables
107       - integration-deploy-controller-run-test
108       - integration-cleanup-tmp
109
110     publishers:
111       - integration-robot:
112           unstable-if: 0.0
113           pass-if: 100.0
114       - email-notification:
115           email-recipients: '{email-recipients}'
116           email-prefix: '[{project}]'
117       - integration-csit-archive-build
118       - integration-csit-run-postscript
119       - lf-infra-publish
120
121 - job-template:
122     name: '{project}-csit-1node-{functionality}-{install}-{stream}'
123     # Keep synchronized with *-csit4-*-carbon please.
124     disabled: false
125
126     project-type: freestyle
127     node: centos7-robot-2c-8g
128
129     properties:
130       - opendaylight-infra-properties:
131           build-days-to-keep: '{build-days-to-keep}'
132
133     parameters:
134       - opendaylight-infra-parameters:
135           os-cloud: '{os-cloud}'
136           project: 'integration/test'
137           branch: '{branch}'
138           refspec: 'refs/heads/{branch}'
139           artifacts: '{archive-artifacts}'
140       - integration-distribution-branch:
141           branch: '{branch}'
142       - integration-distribution-stream:
143           stream: '{stream}'
144       - integration-bundle-url:
145           bundle-url: '{bundle-url}'
146       - integration-controller-scope:
147           controller-scope: '{scope}'
148       - integration-controller-features:
149           controller-features: '{install-features}'
150       - integration-test-options:
151           test-options: '{robot-options}'
152       - integration-stream-test-plan:
153           stream-test-plan: '{project}-{functionality}-{stream}.txt'
154       - integration-test-plan:
155           test-plan: '{project}-{functionality}.txt'
156       - integration-test-suites:
157           test-suites: '{test-suites}'
158       - integration-patch-refspec:
159           branch: 'master'
160       - integration-jdk-version:
161           jdkversion: '{jre}'
162       - distribution-karaf-version:
163           karaf-version: '{karaf-version}'
164       - integration-use-features-boot:
165           use-features-boot: 'True'
166
167     scm:
168       - integration-gerrit-scm:
169           basedir: 'test'
170           refspec: '$PATCHREFSPEC'
171           branch: 'master'
172
173     triggers:
174       # we need this for not SR projects
175       - integration-csit-trigger:
176           jobs: '{trigger-jobs}'
177
178     wrappers:
179       - opendaylight-infra-wrappers:
180           build-timeout: '{build-timeout}'
181
182     builders:
183       - integration-infra-stack:
184           stack-template: '{stack-template}'
185           vm_0_count: '1'
186           vm_0_flavor: '{odl_system_flavor}'
187           vm_0_image: '{odl_system_image}'
188           vm_1_count: '{tools_system_count}'
189           vm_1_flavor: '{tools_system_flavor}'
190           vm_1_image: '{tools_system_image}'
191       - integration-install-robotframework
192       - inject:
193           properties-file: 'env.properties'
194       - integration-get-slave-addresses
195       - inject:
196           properties-file: 'slave_addresses.txt'
197       - integration-detect-variables
198       - integration-deploy-controller-run-test
199       - integration-cleanup-tmp
200
201     publishers:
202       - integration-robot:
203           unstable-if: 0.0
204           pass-if: 100.0
205       - email-notification:
206           email-recipients: '{email-recipients}'
207           email-prefix: '[{project}]'
208       - plot:
209           - title: '{01-plot-title}'
210             yaxis: '{01-plot-yaxis}'
211             group: '{01-plot-group}'
212             num-builds: '5400'
213             keep-records: true
214             style: line
215             use-description: false
216             # yamllint disable-line rule:line-length
217             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
218             series:
219               - file: '{01-plot-data-file}'
220                 inclusion-flag: 'off'
221                 display-table: true
222                 format: csv
223           - title: '{02-plot-title}'
224             yaxis: '{02-plot-yaxis}'
225             group: '{02-plot-group}'
226             num-builds: '5400'
227             keep-records: true
228             style: line
229             use-description: false
230             # yamllint disable-line rule:line-length
231             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
232             series:
233               - file: '{02-plot-data-file}'
234                 inclusion-flag: 'off'
235                 display-table: true
236                 format: csv
237       - integration-csit-archive-build
238       - integration-csit-run-postscript
239       - lf-infra-publish
240
241 - job-template:
242     name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
243     disabled: false
244
245     project-type: freestyle
246     node: centos7-robot-2c-8g
247
248     properties:
249       - opendaylight-infra-properties:
250           build-days-to-keep: '{build-days-to-keep}'
251
252     parameters:
253       - opendaylight-infra-parameters:
254           os-cloud: '{os-cloud}'
255           project: 'integration/test'
256           branch: '{branch}'
257           refspec: 'refs/heads/{branch}'
258           artifacts: '{archive-artifacts}'
259       - integration-distribution-branch:
260           branch: '{branch}'
261       - integration-distribution-stream:
262           stream: '{stream}'
263       - integration-bundle-url:
264           bundle-url: '{bundle-url}'
265       - integration-controller-scope:
266           controller-scope: '{scope}'
267       - integration-controller-features:
268           controller-features: '{install-features}'
269       - integration-test-options:
270           test-options: '{robot-options}'
271       - integration-stream-test-plan:
272           stream-test-plan: '{project}-{functionality}-{stream}.txt'
273       - integration-test-plan:
274           test-plan: '{project}-{functionality}.txt'
275       - integration-test-suites:
276           test-suites: '{test-suites}'
277       - integration-patch-refspec:
278           branch: 'master'
279       - integration-jdk-version:
280           jdkversion: '{jre}'
281       - distribution-karaf-version:
282           karaf-version: '{karaf-version}'
283       - integration-use-features-boot:
284           use-features-boot: 'True'
285
286     scm:
287       - integration-gerrit-scm:
288           basedir: 'test'
289           refspec: '$PATCHREFSPEC'
290           branch: 'master'
291
292     wrappers:
293       - opendaylight-infra-wrappers:
294           build-timeout: '{build-timeout}'
295
296     builders:
297       - integration-infra-stack:
298           stack-template: '{stack-template}'
299           vm_0_count: '1'
300           vm_0_flavor: '{odl_system_flavor}'
301           vm_0_image: '{odl_system_image}'
302           vm_1_count: '{tools_system_count}'
303           vm_1_flavor: '{tools_system_flavor}'
304           vm_1_image: '{tools_system_image}'
305       - integration-install-robotframework
306       - inject:
307           properties-file: 'env.properties'
308       - integration-get-slave-addresses
309       - inject:
310           properties-file: 'slave_addresses.txt'
311       - integration-detect-variables
312       - integration-deploy-controller-run-test
313       - integration-cleanup-tmp
314
315     publishers:
316       - integration-robot:
317           unstable-if: 0.0
318           pass-if: 100.0
319       - email-notification:
320           email-recipients: '{email-recipients}'
321           email-prefix: '[{project}]'
322       - plot:
323           - title: '{01-plot-title}'
324             yaxis: '{01-plot-yaxis}'
325             group: '{01-plot-group}'
326             num-builds: '180'
327             keep-records: true
328             style: line
329             use-description: false
330             # yamllint disable-line rule:line-length
331             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
332             series:
333               - file: '{01-plot-data-file}'
334                 inclusion-flag: 'off'
335                 display-table: true
336                 format: csv
337           - title: '{02-plot-title}'
338             yaxis: '{02-plot-yaxis}'
339             group: '{02-plot-group}'
340             num-builds: '180'
341             keep-records: true
342             style: line
343             use-description: false
344             # yamllint disable-line rule:line-length
345             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
346             series:
347               - file: '{02-plot-data-file}'
348                 inclusion-flag: 'off'
349                 display-table: true
350                 format: csv
351           - title: '{03-plot-title}'
352             yaxis: '{03-plot-yaxis}'
353             group: '{03-plot-group}'
354             num-builds: '180'
355             keep-records: true
356             style: line
357             use-description: false
358             # yamllint disable-line rule:line-length
359             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
360             series:
361               - file: '{03-plot-data-file}'
362                 inclusion-flag: '{03-inclusion-flag}'
363                 exclude: '{03-exclude-value}'
364                 format: csv
365           - title: '{04-plot-title}'
366             yaxis: '{04-plot-yaxis}'
367             group: '{04-plot-group}'
368             num-builds: '180'
369             keep-records: true
370             style: line
371             use-description: false
372             # yamllint disable-line rule:line-length
373             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
374             series:
375               - file: '{04-plot-data-file}'
376                 inclusion-flag: '{04-inclusion-flag}'
377                 exclude: '{04-exclude-value}'
378                 format: csv
379           - title: '{05-plot-title}'
380             yaxis: '{05-plot-yaxis}'
381             group: '{05-plot-group}'
382             num-builds: '180'
383             keep-records: true
384             style: line
385             use-description: false
386             # yamllint disable-line rule:line-length
387             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
388             series:
389               - file: '{05-plot-data-file}'
390                 inclusion-flag: '{05-inclusion-flag}'
391                 exclude: '{05-exclude-value}'
392                 format: csv
393           - title: '{06-plot-title}'
394             yaxis: '{06-plot-yaxis}'
395             group: '{06-plot-group}'
396             num-builds: '180'
397             keep-records: true
398             style: line
399             use-description: false
400             # yamllint disable-line rule:line-length
401             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
402             series:
403               - file: '{06-plot-data-file}'
404                 inclusion-flag: '{06-inclusion-flag}'
405                 exclude: '{06-exclude-value}'
406                 format: csv
407           - title: '{07-plot-title}'
408             yaxis: '{07-plot-yaxis}'
409             group: '{07-plot-group}'
410             num-builds: '180'
411             keep-records: true
412             style: line
413             use-description: false
414             # yamllint disable-line rule:line-length
415             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
416             series:
417               - file: '{07-plot-data-file}'
418                 inclusion-flag: '{07-inclusion-flag}'
419                 exclude: '{07-exclude-value}'
420                 format: csv
421           - title: '{08-plot-title}'
422             yaxis: '{08-plot-yaxis}'
423             group: '{08-plot-group}'
424             num-builds: '180'
425             keep-records: true
426             style: line
427             use-description: false
428             # yamllint disable-line rule:line-length
429             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
430             series:
431               - file: '{08-plot-data-file}'
432                 inclusion-flag: '{08-inclusion-flag}'
433                 exclude: '{08-exclude-value}'
434                 format: csv
435           - title: '{09-plot-title}'
436             yaxis: '{09-plot-yaxis}'
437             group: '{09-plot-group}'
438             num-builds: '180'
439             keep-records: true
440             style: line
441             use-description: false
442             # yamllint disable-line rule:line-length
443             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
444             series:
445               - file: '{09-plot-data-file}'
446                 inclusion-flag: '{09-inclusion-flag}'
447                 exclude: '{09-exclude-value}'
448                 format: csv
449           - title: '{10-plot-title}'
450             yaxis: '{10-plot-yaxis}'
451             group: '{10-plot-group}'
452             num-builds: '180'
453             keep-records: true
454             style: line
455             use-description: false
456             # yamllint disable-line rule:line-length
457             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
458             series:
459               - file: '{10-plot-data-file}'
460                 inclusion-flag: '{10-inclusion-flag}'
461                 exclude: '{10-exclude-value}'
462                 format: csv
463       - integration-csit-archive-build
464       - integration-csit-run-postscript
465       - lf-infra-publish
466
467 - job-template:
468     name: '{project}-csit-verify-3node-{functionality}'
469     disabled: false
470
471     project-type: freestyle
472     node: centos7-robot-2c-8g
473
474     properties:
475       - opendaylight-infra-properties:
476           build-days-to-keep: '{build-days-to-keep}'
477
478     parameters:
479       - opendaylight-infra-parameters:
480           os-cloud: '{os-cloud}'
481           project: 'integration/test'
482           branch: '{branch}'
483           refspec: 'refs/heads/{branch}'
484           artifacts: '{archive-artifacts}'
485       - integration-distribution-branch:
486           branch: '{verify-branch}'
487       - integration-distribution-stream:
488           stream: '{verify-stream}'
489       - integration-bundle-url:
490           bundle-url: '{bundle-url}'
491       - integration-controller-scope:
492           controller-scope: 'only'
493       - integration-controller-features:
494           controller-features: 'odl-jolokia,{install-features}'
495       - integration-test-options:
496           test-options: '{robot-options}'
497       - integration-stream-test-plan:
498           stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
499       - integration-test-plan:
500           test-plan: '{project}-{functionality}.txt'
501       - integration-test-suites:
502           test-suites: '{test-suites}'
503       - integration-jdk-version:
504           jdkversion: '{verify-jdkversion}'
505       - distribution-karaf-version:
506           karaf-version: '{verify-karaf-version}'
507       - integration-use-features-boot:
508           use-features-boot: 'True'
509
510     scm:
511       - integration-gerrit-scm:
512           basedir: 'test'
513           refspec: '$GERRIT_REFSPEC'
514           branch: 'master'
515
516     wrappers:
517       - opendaylight-infra-wrappers:
518           build-timeout: '{build-timeout}'
519
520     triggers:
521       - integration-trigger-patch-submitted:
522           gerrit-server-name: '{gerrit-server-name}'
523           project: 'integration/test'
524           branch: 'master'
525           files: 'csit/suites/{project}/**'
526
527     builders:
528       - integration-infra-stack:
529           stack-template: '{stack-template}'
530           vm_0_count: '3'
531           vm_0_flavor: '{odl_system_flavor}'
532           vm_0_image: '{odl_system_image}'
533           vm_1_count: '{tools_system_count}'
534           vm_1_flavor: '{tools_system_flavor}'
535           vm_1_image: '{tools_system_image}'
536       - integration-install-robotframework
537       - inject:
538           properties-file: 'env.properties'
539       - integration-get-slave-addresses
540       - inject:
541           properties-file: 'slave_addresses.txt'
542       - integration-detect-variables
543       - integration-configure-clustering
544       - integration-start-cluster-run-test
545       - integration-cleanup-tmp
546
547     publishers:
548       - integration-robot:
549           unstable-if: 0.0
550           pass-if: 100.0
551       - email-notification:
552           email-recipients: '{email-recipients}'
553           email-prefix: '[{project}]'
554       - integration-csit-archive-build
555       - integration-csit-run-postscript
556       - lf-infra-publish
557
558 - job-template:
559     name: '{project}-csit-3node-{functionality}-{install}-{stream}'
560     disabled: false
561
562     project-type: freestyle
563     node: centos7-robot-2c-8g
564
565     properties:
566       - opendaylight-infra-properties:
567           build-days-to-keep: '{build-days-to-keep}'
568
569     parameters:
570       - opendaylight-infra-parameters:
571           os-cloud: '{os-cloud}'
572           project: 'integration/test'
573           branch: '{branch}'
574           refspec: 'refs/heads/{branch}'
575           artifacts: '{archive-artifacts}'
576       - integration-distribution-branch:
577           branch: '{branch}'
578       - integration-distribution-stream:
579           stream: '{stream}'
580       - integration-bundle-url:
581           bundle-url: '{bundle-url}'
582       - integration-controller-scope:
583           controller-scope: '{scope}'
584       - integration-controller-features:
585           controller-features: 'odl-jolokia,{install-features}'
586       - integration-test-options:
587           test-options: '{robot-options}'
588       - integration-stream-test-plan:
589           stream-test-plan: '{project}-{functionality}-{stream}.txt'
590       - integration-test-plan:
591           test-plan: '{project}-{functionality}.txt'
592       - integration-test-suites:
593           test-suites: '{test-suites}'
594       - integration-patch-refspec:
595           branch: 'master'
596       - integration-jdk-version:
597           jdkversion: '{jre}'
598       - distribution-karaf-version:
599           karaf-version: '{karaf-version}'
600       - integration-use-features-boot:
601           use-features-boot: 'True'
602
603     scm:
604       - integration-gerrit-scm:
605           basedir: 'test'
606           refspec: '$PATCHREFSPEC'
607           branch: 'master'
608
609     wrappers:
610       - opendaylight-infra-wrappers:
611           build-timeout: '{build-timeout}'
612
613     builders:
614       - integration-infra-stack:
615           stack-template: '{stack-template}'
616           vm_0_count: '3'
617           vm_0_flavor: '{odl_system_flavor}'
618           vm_0_image: '{odl_system_image}'
619           vm_1_count: '{tools_system_count}'
620           vm_1_flavor: '{tools_system_flavor}'
621           vm_1_image: '{tools_system_image}'
622       - integration-install-robotframework
623       - inject:
624           properties-file: 'env.properties'
625       - integration-get-slave-addresses
626       - inject:
627           properties-file: 'slave_addresses.txt'
628       - integration-detect-variables
629       - integration-configure-clustering
630       - integration-start-cluster-run-test
631       - integration-cleanup-tmp
632
633     publishers:
634       - integration-robot:
635           unstable-if: 0.0
636           pass-if: 100.0
637       - email-notification:
638           email-recipients: '{email-recipients}'
639           email-prefix: '[{project}]'
640       - plot:
641           - title: '{01-plot-title}'
642             yaxis: '{01-plot-yaxis}'
643             group: '{01-plot-group}'
644             num-builds: '5400'
645             keep-records: true
646             style: line
647             use-description: false
648             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
649             series:
650               - file: '{01-plot-data-file}'
651                 inclusion-flag: 'off'
652                 display-table: true
653                 format: csv
654           - title: '{02-plot-title}'
655             yaxis: '{02-plot-yaxis}'
656             group: '{02-plot-group}'
657             num-builds: '5400'
658             keep-records: true
659             style: line
660             use-description: false
661             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
662             series:
663               - file: '{02-plot-data-file}'
664                 inclusion-flag: 'off'
665                 display-table: true
666                 format: csv
667       - integration-csit-archive-build
668       - integration-csit-run-postscript
669       - lf-infra-publish
670
671 - job-template:
672     name: '{project}-csit-3node-docker-{functionality}-{install}-{stream}'
673     disabled: false
674
675     project-type: freestyle
676     node: centos7-robot-2c-8g
677
678     properties:
679       - opendaylight-infra-properties:
680           build-days-to-keep: '{build-days-to-keep}'
681
682     parameters:
683       - opendaylight-infra-parameters:
684           os-cloud: '{os-cloud}'
685           project: 'integration/test'
686           branch: '{branch}'
687           refspec: 'refs/heads/{branch}'
688           artifacts: '{archive-artifacts}'
689       - integration-distribution-branch:
690           branch: '{branch}'
691       - integration-distribution-stream:
692           stream: '{stream}'
693       - integration-bundle-url:
694           bundle-url: '{bundle-url}'
695       - integration-controller-scope:
696           controller-scope: '{scope}'
697       - integration-controller-features:
698           controller-features: 'odl-jolokia,{install-features}'
699       - integration-test-options:
700           test-options: '{robot-options}'
701       - integration-stream-test-plan:
702           stream-test-plan: '{project}-{functionality}-{stream}.txt'
703       - integration-test-plan:
704           test-plan: '{project}-{functionality}.txt'
705       - integration-patch-refspec:
706           branch: 'master'
707       - integration-jdk-version:
708           jdkversion: '{jre}'
709       - distribution-karaf-version:
710           karaf-version: '{karaf-version}'
711       - integration-use-features-boot:
712           use-features-boot: 'True'
713
714     scm:
715       - integration-gerrit-scm:
716           basedir: 'test'
717           refspec: '$PATCHREFSPEC'
718           branch: 'master'
719
720     wrappers:
721       - opendaylight-infra-wrappers:
722           build-timeout: '{build-timeout}'
723
724     builders:
725       - integration-infra-stack:
726           stack-template: '{stack-template}'
727           vm_0_count: '3'
728           vm_0_flavor: '{odl_system_flavor}'
729           vm_0_image: '{odl_system_image}'
730           vm_1_count: '{docker_system_count}'
731           vm_1_flavor: '{docker_system_flavor}'
732           vm_1_image: '{docker_system_image}'
733       - integration-install-robotframework
734       - inject:
735           properties-file: 'env.properties'
736       - integration-get-slave-addresses
737       - inject:
738           properties-file: 'slave_addresses.txt'
739       - integration-detect-variables
740       - integration-configure-clustering
741       - integration-start-cluster-run-test
742       - integration-cleanup-tmp
743
744     publishers:
745       - integration-robot:
746           unstable-if: 0.0
747           pass-if: 100.0
748       - email-notification:
749           email-recipients: '{email-recipients}'
750           email-prefix: '[{project}]'
751       - plot:
752           - title: '{01-plot-title}'
753             yaxis: '{01-plot-yaxis}'
754             group: '{01-plot-group}'
755             num-builds: '5400'
756             keep-records: true
757             style: line
758             use-description: false
759             # yamllint disable-line rule:line-length
760             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
761             series:
762               - file: '{01-plot-data-file}'
763                 inclusion-flag: 'off'
764                 display-table: true
765                 format: csv
766           - title: '{02-plot-title}'
767             yaxis: '{02-plot-yaxis}'
768             group: '{02-plot-group}'
769             num-builds: '5400'
770             keep-records: true
771             style: line
772             use-description: false
773             # yamllint disable-line rule:line-length
774             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
775             series:
776               - file: '{02-plot-data-file}'
777                 inclusion-flag: 'off'
778                 display-table: true
779                 format: csv
780       - integration-csit-archive-build
781       - integration-csit-run-postscript
782       - lf-infra-publish
783
784 - job-template:
785     name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
786     disabled: false
787
788     project-type: freestyle
789     node: centos7-robot-2c-8g
790
791     properties:
792       - opendaylight-infra-properties:
793           build-days-to-keep: '{build-days-to-keep}'
794
795     parameters:
796       - opendaylight-infra-parameters:
797           os-cloud: '{os-cloud}'
798           project: 'integration/test'
799           branch: '{branch}'
800           refspec: 'refs/heads/{branch}'
801           artifacts: '{archive-artifacts}'
802       - integration-distribution-branch:
803           branch: '{branch}'
804       - integration-distribution-stream:
805           stream: '{stream}'
806       - integration-bundle-url:
807           bundle-url: '{bundle-url}'
808       - integration-controller-scope:
809           controller-scope: '{scope}'
810       - integration-controller-features:
811           controller-features: 'odl-jolokia,{install-features}'
812       - integration-test-options:
813           test-options: '{robot-options}'
814       - integration-stream-test-plan:
815           stream-test-plan: '{project}-{functionality}-{stream}.txt'
816       - integration-test-plan:
817           test-plan: '{project}-{functionality}.txt'
818       - integration-test-suites:
819           test-suites: '{test-suites}'
820       - integration-patch-refspec:
821           branch: 'master'
822       - integration-jdk-version:
823           jdkversion: '{jre}'
824       - distribution-karaf-version:
825           karaf-version: '{karaf-version}'
826       - integration-use-features-boot:
827           use-features-boot: 'True'
828
829     scm:
830       - integration-gerrit-scm:
831           basedir: 'test'
832           refspec: '$PATCHREFSPEC'
833           branch: 'master'
834
835     wrappers:
836       - opendaylight-infra-wrappers:
837           build-timeout: '{build-timeout}'
838
839     builders:
840       - integration-infra-stack:
841           stack-template: '{stack-template}'
842           vm_0_count: '3'
843           vm_0_flavor: '{odl_system_flavor}'
844           vm_0_image: '{odl_system_image}'
845           vm_1_count: '{tools_system_count}'
846           vm_1_flavor: '{tools_system_flavor}'
847           vm_1_image: '{tools_system_image}'
848       - integration-install-robotframework
849       - inject:
850           properties-file: 'env.properties'
851       - integration-get-slave-addresses
852       - inject:
853           properties-file: 'slave_addresses.txt'
854       - integration-detect-variables
855       - integration-configure-clustering
856       - integration-start-cluster-run-test
857       - integration-cleanup-tmp
858
859     publishers:
860       - integration-robot:
861           unstable-if: 0.0
862           pass-if: 100.0
863       - email-notification:
864           email-recipients: '{email-recipients}'
865           email-prefix: '[{project}]'
866       - plot:
867           - title: '{01-plot-title}'
868             yaxis: '{01-plot-yaxis}'
869             group: '{01-plot-group}'
870             num-builds: '180'
871             keep-records: true
872             style: line
873             use-description: false
874             # yamllint disable-line rule:line-length
875             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
876             series:
877               - file: '{01-plot-data-file}'
878                 inclusion-flag: 'off'
879                 display-table: true
880                 format: csv
881           - title: '{02-plot-title}'
882             yaxis: '{02-plot-yaxis}'
883             group: '{02-plot-group}'
884             num-builds: '180'
885             keep-records: true
886             style: line
887             use-description: false
888             # yamllint disable-line rule:line-length
889             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
890             series:
891               - file: '{02-plot-data-file}'
892                 inclusion-flag: 'off'
893                 display-table: true
894                 format: csv
895           - title: '{03-plot-title}'
896             yaxis: '{03-plot-yaxis}'
897             group: '{03-plot-group}'
898             num-builds: '180'
899             keep-records: true
900             style: line
901             use-description: false
902             # yamllint disable-line rule:line-length
903             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
904             series:
905               - file: '{03-plot-data-file}'
906                 inclusion-flag: '{03-inclusion-flag}'
907                 exclude: '{03-exclude-value}'
908                 format: csv
909           - title: '{04-plot-title}'
910             yaxis: '{04-plot-yaxis}'
911             group: '{04-plot-group}'
912             num-builds: '180'
913             keep-records: true
914             style: line
915             use-description: false
916             # yamllint disable-line rule:line-length
917             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
918             series:
919               - file: '{04-plot-data-file}'
920                 inclusion-flag: '{04-inclusion-flag}'
921                 exclude: '{04-exclude-value}'
922                 format: csv
923           - title: '{05-plot-title}'
924             yaxis: '{05-plot-yaxis}'
925             group: '{05-plot-group}'
926             num-builds: '180'
927             keep-records: true
928             style: line
929             use-description: false
930             # yamllint disable-line rule:line-length
931             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
932             series:
933               - file: '{05-plot-data-file}'
934                 inclusion-flag: '{05-inclusion-flag}'
935                 exclude: '{05-exclude-value}'
936                 format: csv
937           - title: '{06-plot-title}'
938             yaxis: '{06-plot-yaxis}'
939             group: '{06-plot-group}'
940             num-builds: '180'
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-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
946             series:
947               - file: '{06-plot-data-file}'
948                 inclusion-flag: '{06-inclusion-flag}'
949                 exclude: '{06-exclude-value}'
950                 format: csv
951           - title: '{07-plot-title}'
952             yaxis: '{07-plot-yaxis}'
953             group: '{07-plot-group}'
954             num-builds: '180'
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-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
960             series:
961               - file: '{07-plot-data-file}'
962                 inclusion-flag: '{07-inclusion-flag}'
963                 exclude: '{07-exclude-value}'
964                 format: csv
965           - title: '{08-plot-title}'
966             yaxis: '{08-plot-yaxis}'
967             group: '{08-plot-group}'
968             num-builds: '180'
969             keep-records: true
970             style: line
971             use-description: false
972             # yamllint disable-line rule:line-length
973             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
974             series:
975               - file: '{08-plot-data-file}'
976                 inclusion-flag: '{08-inclusion-flag}'
977                 exclude: '{08-exclude-value}'
978                 format: csv
979           - title: '{09-plot-title}'
980             yaxis: '{09-plot-yaxis}'
981             group: '{09-plot-group}'
982             num-builds: '180'
983             keep-records: true
984             style: line
985             use-description: false
986             # yamllint disable-line rule:line-length
987             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
988             series:
989               - file: '{09-plot-data-file}'
990                 inclusion-flag: '{09-inclusion-flag}'
991                 exclude: '{09-exclude-value}'
992                 format: csv
993           - title: '{10-plot-title}'
994             yaxis: '{10-plot-yaxis}'
995             group: '{10-plot-group}'
996             num-builds: '180'
997             keep-records: true
998             style: line
999             use-description: false
1000             # yamllint disable-line rule:line-length
1001             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
1002             series:
1003               - file: '{10-plot-data-file}'
1004                 inclusion-flag: '{10-inclusion-flag}'
1005                 exclude: '{10-exclude-value}'
1006                 format: csv
1007       - integration-csit-archive-build
1008       - integration-csit-run-postscript
1009       - lf-infra-publish
1010
1011 - job-template:
1012     name: '{project}-csit-hwvtep-{topology}-openstack-{openstack}-{functionality}-{stream}'
1013     disabled: false
1014
1015     project-type: freestyle
1016     node: centos7-robot-2c-8g
1017     concurrent: true
1018
1019     properties:
1020       - opendaylight-infra-properties:
1021           build-days-to-keep: '{build-days-to-keep}'
1022
1023     parameters:
1024       - opendaylight-infra-parameters:
1025           os-cloud: '{os-cloud}'
1026           project: 'integration/test'
1027           branch: '{branch}'
1028           refspec: 'refs/heads/{branch}'
1029           artifacts: '{archive-artifacts}'
1030       - integration-distribution-branch:
1031           branch: '{branch}'
1032       - integration-distribution-stream:
1033           stream: '{stream}'
1034       - integration-bundle-url:
1035           bundle-url: '{bundle-url}'
1036       - integration-controller-features:
1037           controller-features: '{install-features}'
1038       - integration-controller-debug-map:
1039           controller-debug-map: '{debug-map}'
1040       - integration-test-options:
1041           test-options: '{robot-options}'
1042       - integration-test-plan:
1043           test-plan: '{testplan}'
1044       - integration-test-suites:
1045           test-suites: '{test-suites}'
1046       - integration-patch-refspec:
1047           branch: 'master'
1048       - integration-jdk-version:
1049           jdkversion: '{jre}'
1050       - distribution-karaf-version:
1051           karaf-version: '{karaf-version}'
1052       - integration-use-features-boot:
1053           use-features-boot: '{use-features-boot}'
1054       - string:
1055           name: OPENSTACK_BRANCH
1056           default: '{openstack-branch}'
1057           description: 'Openstack version to use with devstack'
1058       - string:
1059           name: DEVSTACK_HASH
1060           default: '{devstack-hash}'
1061           description: 'devstack hash to checkout'
1062       - string:
1063           name: ODL_ML2_DRIVER_REPO
1064           default: '{odl-ml2-driver-repo}'
1065           description: 'URL to fetch networking-odl driver'
1066       - string:
1067           name: ODL_ML2_BRANCH
1068           default: '{odl-ml2-branch}'
1069           description: 'Version of networking-odl to checkout from the repo'
1070       - string:
1071           name: ODL_ML2_DRIVER_VERSION
1072           default: '{odl-ml2-driver-version}'
1073           description: 'Mode of networking-odl (v1 or v2)'
1074       - string:
1075           name: ODL_ML2_PORT_BINDING
1076           default: '{odl-ml2-port-binding}'
1077           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1078           network-topology)'
1079       - string:
1080           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1081           default: '{devstack-kubernetes-plugin-repo}'
1082           description: 'URL to fetch kubernetes devstack plugin'
1083       - string:
1084           name: DEVSTACK_LBAAS_PLUGIN_REPO
1085           default: '{devstack-lbaas-plugin-repo}'
1086           description: 'URL to fetch neutron-lbaas devstack plugin'
1087       - string:
1088           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1089           default: '{devstack-networking-sfc-plugin-repo}'
1090           description: 'URL to fetch neutron-lbaas devstack plugin'
1091       - string:
1092           name: ODL_ENABLE_L3_FWD
1093           default: '{odl-enable-l3}'
1094           description: 'Enable L3 FWD in ODL for createing br-ex'
1095       - string:
1096           name: IPSEC_VXLAN_TUNNELS_ENABLED
1097           default: '{ipsec-vxlan-tunnels-enabled}'
1098           description: 'Enable ipsec over vxlan support for all controllers and computes'
1099       - string:
1100           name: PUBLIC_BRIDGE
1101           default: '{public-bridge}'
1102           description: 'Specifies public bridge for provider and external networking'
1103       - string:
1104           name: ENABLE_HAPROXY_FOR_NEUTRON
1105           default: '{enable-haproxy}'
1106           description: 'Enable HAProxy for using neutron interface as HA'
1107       - string:
1108           name: ENABLE_OS_SERVICES
1109           default: '{enable-openstack-services}'
1110           description: 'comma separated list of services to enable on controller nodes'
1111       - string:
1112           name: ENABLE_OS_COMPUTE_SERVICES
1113           default: '{enable-openstack-compute-services}'
1114           description: 'comma separated list of services to enable on compute nodes'
1115       - string:
1116           name: ENABLE_OS_PLUGINS
1117           default: '{enable-openstack-plugins}'
1118           description: 'comma seperated list of plugins to enable'
1119       - string:
1120           name: DISABLE_OS_SERVICES
1121           default: '{disable-openstack-services}'
1122           description: 'comma seperated list of services to enable'
1123       - string:
1124           name: TENANT_NETWORK_TYPE
1125           default: '{tenant-network-type}'
1126           description: 'Tenant Network Type supported by the implementation'
1127       - string:
1128           name: SECURITY_GROUP_MODE
1129           default: '{security-group-mode}'
1130           description: 'Security Group Mode to be used in netvirt aclservice config'
1131       - string:
1132           name: PUBLIC_PHYSICAL_NETWORK
1133           default: '{public-physical-network}'
1134           description: 'provider physical network used for flat/vlan networks'
1135       - string:
1136           name: ENABLE_NETWORKING_L2GW
1137           default: '{enable-networking-l2gw}'
1138           description: 'Enable networking L2gw'
1139       - string:
1140           name: NETWORKING_L2GW_DRIVER
1141           default: '{networking-l2gw-repo}'
1142           description: 'URL to fetch networking-l2gw driver'
1143       - string:
1144           name: CREATE_INITIAL_NETWORKS
1145           default: '{create-initial-networks}'
1146           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1147       - string:
1148           name: LBAAS_SERVICE_PROVIDER
1149           default: '{lbaas-service-provider}'
1150           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1151           neutron-lbaas'
1152       - string:
1153           name: ODL_SFC_DRIVER
1154           default: '{odl-sfc-driver}'
1155           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1156       - string:
1157           name: ODL_SNAT_MODE
1158           default: '{odl-snat-mode}'
1159           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1160     scm:
1161       - integration-gerrit-scm:
1162           basedir: 'test'
1163           refspec: '$PATCHREFSPEC'
1164           branch: 'master'
1165
1166     wrappers:
1167       - opendaylight-infra-wrappers:
1168           build-timeout: '{build-timeout}'
1169
1170     triggers:
1171       - timed: '{schedule}'
1172
1173     builders:
1174       - integration-infra-stack-4-type:
1175           stack-template: '{stack-template}'
1176           vm_0_count: '{odl_system_count}'
1177           vm_0_flavor: '{odl_system_flavor}'
1178           vm_0_image: '{odl_system_image}'
1179           vm_1_count: '{openstack_system_count}'
1180           vm_1_flavor: '{openstack_system_flavor}'
1181           vm_1_image: '{openstack_system_image}'
1182           vm_2_count: '{openstack_system2_count}'
1183           vm_2_flavor: '{openstack_system2_flavor}'
1184           vm_2_image: '{openstack_system2_image}'
1185           vm_3_count: '{tools_system_count}'
1186           vm_3_flavor: '{tools_system_flavor}'
1187           vm_3_image: '{tools_system_image}'
1188       - integration-install-robotframework
1189       - inject:
1190           properties-file: 'env.properties'
1191       - integration-get-slave-addresses
1192       - inject:
1193           properties-file: 'slave_addresses.txt'
1194       - integration-detect-variables
1195       - integration-deploy-controller-run-test
1196       - integration-deploy-openstack-run-test
1197       - integration-cleanup-tmp
1198
1199     publishers:
1200       - integration-robot-tempest:
1201           unstable-if: 0.0
1202           pass-if: 100.0
1203       - email-notification:
1204           email-recipients: '{email-recipients}'
1205           email-prefix: '[{project}]'
1206       - integration-csit-archive-build
1207       - integration-csit-run-postscript
1208       - lf-infra-publish
1209
1210 - job-template:
1211     name: '{project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}'
1212     disabled: false
1213
1214     project-type: freestyle
1215     node: centos7-robot-2c-8g
1216     concurrent: true
1217
1218     properties:
1219       - opendaylight-infra-properties:
1220           build-days-to-keep: '{build-days-to-keep}'
1221
1222     parameters:
1223       - opendaylight-infra-parameters:
1224           os-cloud: '{os-cloud}'
1225           project: 'integration/test'
1226           branch: '{branch}'
1227           refspec: 'refs/heads/{branch}'
1228           artifacts: '{archive-artifacts}'
1229       - integration-distribution-branch:
1230           branch: '{branch}'
1231       - integration-distribution-stream:
1232           stream: '{stream}'
1233       - integration-bundle-url:
1234           bundle-url: '{bundle-url}'
1235       - integration-controller-features:
1236           controller-features: '{install-features}'
1237       - integration-controller-debug-map:
1238           controller-debug-map: '{debug-map}'
1239       - integration-test-options:
1240           test-options: '{robot-options}'
1241       - integration-test-plan:
1242           test-plan: '{testplan}'
1243       - integration-test-suites:
1244           test-suites: '{test-suites}'
1245       - integration-patch-refspec:
1246           branch: 'master'
1247       - integration-jdk-version:
1248           jdkversion: '{jre}'
1249       - distribution-karaf-version:
1250           karaf-version: '{karaf-version}'
1251       - integration-use-features-boot:
1252           use-features-boot: '{use-features-boot}'
1253       - string:
1254           name: OPENSTACK_BRANCH
1255           default: '{openstack-branch}'
1256           description: 'Openstack version to use with devstack'
1257       - string:
1258           name: DEVSTACK_HASH
1259           default: '{devstack-hash}'
1260           description: 'devstack hash to checkout'
1261       - string:
1262           name: ODL_ML2_DRIVER_REPO
1263           default: '{odl-ml2-driver-repo}'
1264           description: 'URL to fetch networking-odl driver'
1265       - string:
1266           name: ODL_ML2_BRANCH
1267           default: '{odl-ml2-branch}'
1268           description: 'Version of networking-odl to checkout from the repo'
1269       - string:
1270           name: ODL_ML2_DRIVER_VERSION
1271           default: '{odl-ml2-driver-version}'
1272           description: 'Mode of networking-odl (v1 or v2)'
1273       - string:
1274           name: ODL_ML2_PORT_BINDING
1275           default: '{odl-ml2-port-binding}'
1276           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1277           network-topology)'
1278       - string:
1279           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1280           default: '{devstack-kubernetes-plugin-repo}'
1281           description: 'URL to fetch kubernetes devstack plugin'
1282       - string:
1283           name: DEVSTACK_LBAAS_PLUGIN_REPO
1284           default: '{devstack-lbaas-plugin-repo}'
1285           description: 'URL to fetch neutron-lbaas devstack plugin'
1286       - string:
1287           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1288           default: '{devstack-networking-sfc-plugin-repo}'
1289           description: 'URL to fetch neutron-lbaas devstack plugin'
1290       - string:
1291           name: ODL_ENABLE_L3_FWD
1292           default: '{odl-enable-l3}'
1293           description: 'Enable L3 FWD in ODL for createing br-ex'
1294       - string:
1295           name: IPSEC_VXLAN_TUNNELS_ENABLED
1296           default: '{ipsec-vxlan-tunnels-enabled}'
1297           description: 'Enable ipsec over vxlan support for all controllers and computes'
1298       - string:
1299           name: PUBLIC_BRIDGE
1300           default: '{public-bridge}'
1301           description: 'Specifies public bridge for provider and external networking'
1302       - string:
1303           name: ENABLE_HAPROXY_FOR_NEUTRON
1304           default: '{enable-haproxy}'
1305           description: 'Enable HAProxy for using neutron interface as HA'
1306       - string:
1307           name: ENABLE_OS_SERVICES
1308           default: '{enable-openstack-services}'
1309           description: 'comma seperated list of services to enable'
1310       - string:
1311           name: ENABLE_OS_COMPUTE_SERVICES
1312           default: '{enable-openstack-compute-services}'
1313           description: 'comma separated list of services to enable on compute nodes'
1314       - string:
1315           name: ENABLE_OS_PLUGINS
1316           default: '{enable-openstack-plugins}'
1317           description: 'comma seperated list of plugins to enable'
1318       - string:
1319           name: DISABLE_OS_SERVICES
1320           default: '{disable-openstack-services}'
1321           description: 'comma seperated list of services to enable'
1322       - string:
1323           name: TENANT_NETWORK_TYPE
1324           default: '{tenant-network-type}'
1325           description: 'Tenant Network Type supported by the implementation'
1326       - string:
1327           name: SECURITY_GROUP_MODE
1328           default: '{security-group-mode}'
1329           description: 'Security Group Mode to be used in netvirt aclservice config'
1330       - string:
1331           name: PUBLIC_PHYSICAL_NETWORK
1332           default: '{public-physical-network}'
1333           description: 'provider physical network used for flat/vlan networks'
1334       - string:
1335           name: ENABLE_NETWORKING_L2GW
1336           default: '{enable-networking-l2gw}'
1337           description: 'Enable networking L2gw'
1338       - string:
1339           name: NETWORKING_L2GW_DRIVER
1340           default: '{networking-l2gw-repo}'
1341           description: 'URL to fetch networking-l2gw driver'
1342       - string:
1343           name: CREATE_INITIAL_NETWORKS
1344           default: '{create-initial-networks}'
1345           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1346       - string:
1347           name: LBAAS_SERVICE_PROVIDER
1348           default: '{lbaas-service-provider}'
1349           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1350           neutron-lbaas'
1351       - string:
1352           name: NUM_OPENSTACK_SITES
1353           default: '{num-openstack-sites}'
1354           description: 'Number of openstack sites'
1355       - string:
1356           name: ODL_SFC_DRIVER
1357           default: '{odl-sfc-driver}'
1358           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1359       - string:
1360           name: ODL_SNAT_MODE
1361           default: '{odl-snat-mode}'
1362           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1363
1364     scm:
1365       - integration-gerrit-scm:
1366           basedir: 'test'
1367           refspec: '$PATCHREFSPEC'
1368           branch: 'master'
1369
1370     wrappers:
1371       - opendaylight-infra-wrappers:
1372           build-timeout: '{build-timeout}'
1373
1374     triggers:
1375       - timed: '{schedule}'
1376
1377     builders:
1378       - integration-infra-stack-3-type:
1379           stack-template: '{stack-template}'
1380           vm_0_count: '{odl_system_count}'
1381           vm_0_flavor: '{odl_system_flavor}'
1382           vm_0_image: '{odl_system_image}'
1383           vm_1_count: '{openstack_system_count}'
1384           vm_1_flavor: '{openstack_system_flavor}'
1385           vm_1_image: '{openstack_system_image}'
1386           vm_2_count: '{openstack_system2_count}'
1387           vm_2_flavor: '{openstack_system2_flavor}'
1388           vm_2_image: '{openstack_system2_image}'
1389       - integration-install-robotframework
1390       - inject:
1391           properties-file: 'env.properties'
1392       - integration-get-slave-addresses
1393       - inject:
1394           properties-file: 'slave_addresses.txt'
1395       - integration-detect-variables
1396       - integration-deploy-controller-run-test
1397       - integration-deploy-openstack-run-test
1398       - integration-cleanup-tmp
1399
1400     publishers:
1401       - integration-robot-tempest:
1402           unstable-if: 0.0
1403           pass-if: 100.0
1404       - email-notification:
1405           email-recipients: '{email-recipients}'
1406           email-prefix: '[{project}]'
1407       - integration-csit-archive-build
1408       - integration-csit-run-postscript
1409       - lf-infra-publish
1410
1411 # Template: {project}-patch-test-{stream}
1412 # Goal: Build a patch and run project specific system test on a distribution containing the change
1413 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1414 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1415
1416 - job-template:
1417     name: '{project}-patch-test-{feature}-{stream}'
1418
1419     project-type: freestyle
1420     node: centos7-builder-2c-8g
1421     concurrent: true
1422     jdk: '{jdk}'
1423
1424     properties:
1425       - opendaylight-infra-properties:
1426           build-days-to-keep: '{build-days-to-keep}'
1427
1428     parameters:
1429       - opendaylight-infra-parameters:
1430           os-cloud: '{os-cloud}'
1431           project: '{project}'
1432           branch: '{branch}'
1433           refspec: 'refs/heads/{branch}'
1434           artifacts: '{archive-artifacts}'
1435       - integration-distribution-branch:
1436           branch: '{branch}'
1437       - distribution-karaf-version:
1438           karaf-version: '{karaf-version}'
1439       - integration-distribution-git-url:
1440           git-url: '{git-url}'
1441       - string:
1442           name: feature
1443           default: 'all'
1444           description: 'Specific feature test for patch'
1445       - maven-exec:
1446           maven-version: mvn33
1447
1448     scm:
1449       - integration-gerrit-scm:
1450           basedir: '{project}'
1451           refspec: '$GERRIT_REFSPEC'
1452           branch: '{branch}'
1453       - integration-distribution-scm:
1454           branch: '{branch}'
1455
1456     wrappers:
1457       - opendaylight-infra-wrappers:
1458           build-timeout: '{build-timeout}'
1459
1460     triggers:
1461       - gerrit:
1462           server-name: '{gerrit-server-name}'
1463           trigger-on:
1464             - comment-added-contains-event:
1465                 comment-contains-value: 'test-{project}-all'
1466             - comment-added-contains-event:
1467                 comment-contains-value: 'test-{project}-{feature}'
1468           projects:
1469             - project-compare-type: 'ANT'
1470               project-pattern: '{project}'
1471               branches:
1472                 - branch-compare-type: 'ANT'
1473                   branch-pattern: '**/{branch}'
1474           skip-vote:
1475             successful: true
1476             failed: true
1477             unstable: true
1478             notbuilt: true
1479
1480     builders:
1481       - integration-rebase-gerrit-patch
1482       - wipe-org-opendaylight-repo
1483       - maven-target:
1484           maven-version: mvn33
1485           pom: '{project}/pom.xml'
1486           goals: |
1487               clean install dependency:tree
1488               -Pq
1489               -Dgitid.skip=false
1490               -DgenerateReports=false
1491               -Dstream={stream}
1492               {opendaylight-infra-mvn-opts}
1493           # TODO: {opendaylight-infra-parallel-mvn-opts}?
1494           java-opts:
1495             - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
1496           settings: integration-settings
1497           settings-type: cfp
1498           global-settings: global-settings
1499           global-settings-type: cfp
1500       - maven-target:
1501           maven-version: mvn33
1502           pom: distribution/pom.xml
1503           goals: |
1504               clean install dependency:tree
1505               -Pq
1506               -Dgitid.skip=false
1507               {opendaylight-infra-parallel-mvn-opts}
1508           java-opts:
1509             - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
1510           settings: integration-settings
1511           settings-type: cfp
1512           global-settings: global-settings
1513           global-settings-type: cfp
1514       - integration-upload-distribution:
1515           dist-pom: distribution/pom.xml
1516       - trigger-builds:
1517           - project: '{csit-list}'
1518             block: true
1519             predefined-parameters: |
1520               BUNDLE_URL=$BUNDLE_URL
1521               KARAF_VERSION=$KARAF_VERSION
1522
1523     publishers:
1524       - email-notification:
1525           email-recipients: '{email-recipients}'
1526           email-prefix: '[{project}]'