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