+ name: OPENSTACK_BRANCH
+ default: '{openstack-branch}'
+ description: 'Openstack version to use with devstack'
+ - string:
+ name: DEVSTACK_HASH
+ default: '{devstack-hash}'
+ description: 'devstack hash to checkout'
+ - string:
+ name: ODL_ML2_DRIVER_REPO
+ default: '{odl-ml2-driver-repo}'
+ description: 'URL to fetch networking-odl driver'
+ - string:
+ name: ODL_ML2_BRANCH
+ default: '{odl-ml2-branch}'
+ description: 'Version of networking-odl to checkout from the repo'
+ - string:
+ name: ODL_ML2_DRIVER_VERSION
+ default: '{odl-ml2-driver-version}'
+ description: 'Mode of networking-odl (v1 or v2)'
+ - string:
+ name: ODL_ML2_PORT_BINDING
+ default: '{odl-ml2-port-binding}'
+ description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
+ network-topology)'
+ - string:
+ name: ENABLE_GRE_TYPE_DRIVERS
+ default: '{enable-gre-type-driver}'
+ description: 'Enable gre tunnel'
+ - string:
+ name: DEVSTACK_KUBERNETES_PLUGIN_REPO
+ default: '{devstack-kubernetes-plugin-repo}'
+ description: 'URL to fetch kubernetes devstack plugin'
+ - string:
+ name: DEVSTACK_LBAAS_PLUGIN_REPO
+ default: '{devstack-lbaas-plugin-repo}'
+ description: 'URL to fetch neutron-lbaas devstack plugin'
+ - string:
+ name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
+ default: '{devstack-networking-sfc-plugin-repo}'
+ description: 'URL to fetch neutron-lbaas devstack plugin'
+ - string:
+ name: IPSEC_VXLAN_TUNNELS_ENABLED
+ default: '{ipsec-vxlan-tunnels-enabled}'
+ description: 'Enable ipsec over vxlan support for all controllers and computes'
+ - string:
+ name: PUBLIC_BRIDGE
+ default: '{public-bridge}'
+ description: 'Specifies public bridge for provider and external networking'
+ - string:
+ name: ENABLE_HAPROXY_FOR_NEUTRON
+ default: '{enable-haproxy}'
+ description: 'Enable HAProxy for using neutron interface as HA'
+ - string:
+ name: ENABLE_OS_SERVICES
+ default: '{enable-openstack-services}'
+ description: 'comma seperated list of services to enable'
+ - string:
+ name: ENABLE_OS_COMPUTE_SERVICES
+ default: '{enable-openstack-compute-services}'
+ description: 'comma separated list of services to enable on compute nodes'
+ - string:
+ name: ENABLE_OS_NETWORK_SERVICES
+ default: '{enable-openstack-network-services}'
+ description: 'comma seperated list of network services to enable'
+ - string:
+ name: ENABLE_OS_PLUGINS
+ default: '{enable-openstack-plugins}'
+ description: 'comma seperated list of plugins to enable'
+ - string:
+ name: DISABLE_OS_SERVICES
+ default: '{disable-openstack-services}'
+ description: 'comma seperated list of services to enable'
+ - string:
+ name: TENANT_NETWORK_TYPE
+ default: '{tenant-network-type}'
+ description: 'Tenant Network Type supported by the implementation'
+ - string:
+ name: SECURITY_GROUP_MODE
+ default: '{security-group-mode}'
+ description: 'Security Group Mode to be used in netvirt aclservice config'
+ - string:
+ name: ENABLE_ITM_DIRECT_TUNNELS
+ default: '{enable-itm-direct-tunnels}'
+ description: 'Tunnel Configuration mode to be used in genius ifm config'
+ - string:
+ name: PUBLIC_PHYSICAL_NETWORK
+ default: '{public-physical-network}'
+ description: 'provider physical network used for flat/vlan networks'
+ - string:
+ name: ENABLE_NETWORKING_L2GW
+ default: '{enable-networking-l2gw}'
+ description: 'Enable networking L2gw'
+ - string:
+ name: NETWORKING_L2GW_DRIVER
+ default: '{networking-l2gw-repo}'
+ description: 'URL to fetch networking-l2gw driver'
+ - string:
+ name: CREATE_INITIAL_NETWORKS
+ default: '{create-initial-networks}'
+ description: 'Toggles the option of letting devstack create initial networks (True/False)'
+ - string:
+ name: LBAAS_SERVICE_PROVIDER
+ default: '{lbaas-service-provider}'
+ description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
+ neutron-lbaas'
+ - string:
+ name: ODL_SFC_DRIVER
+ default: '{odl-sfc-driver}'
+ description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
+ - string:
+ name: ODL_SNAT_MODE
+ default: '{odl-snat-mode}'
+ description: 'The SNAT mode to be configured - options are conntrack/controller.'
+ - string:
+ name: OVS_INSTALL
+ default: '{ovs-install}'
+ description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
+ repo url to pull from.'
+
+ scm:
+ - integration-gerrit-scm:
+ basedir: 'test'
+ refspec: '$PATCHREFSPEC'
+ branch: 'master'
+
+ wrappers:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - timed: '{schedule}'
+
+ builders:
+ - lf-infra-pre-build
+ - integration-infra-stack-4-type:
+ stack-template: '{stack-template}'
+ vm_0_count: '{odl_system_count}'
+ vm_0_flavor: '{odl_system_flavor}'
+ vm_0_image: '{odl_system_image}'
+ vm_1_count: '{openstack_system_count}'
+ vm_1_flavor: '{openstack_system_flavor}'
+ vm_1_image: '{openstack_system_image}'
+ vm_2_count: '{openstack_system2_count}'
+ vm_2_flavor: '{openstack_system2_flavor}'
+ vm_2_image: '{openstack_system2_image}'
+ vm_3_count: '{tools_system_count}'
+ vm_3_flavor: '{tools_system_flavor}'
+ vm_3_image: '{tools_system_image}'
+ - integration-install-robotframework
+ - inject:
+ properties-file: 'env.properties'
+ - integration-get-slave-addresses
+ - inject:
+ properties-file: 'slave_addresses.txt'
+ - integration-detect-variables
+ - integration-install-common-functions
+ - integration-deploy-controller-run-test
+ - integration-deploy-openstack-run-test
+ - integration-cleanup-tmp
+
+ publishers:
+ - integration-robot-tempest:
+ unstable-if: 0.0
+ pass-if: 100.0
+ - email-notification:
+ email-recipients: '{email-recipients}'
+ email-prefix: '[{project}]'
+ - integration-csit-collect-netvirt-logs
+ - integration-csit-archive-build
+ - integration-csit-run-postscript
+ - releng-openstack-stack-delete
+ - lf-infra-publish
+
+- job-template:
+ # yamllint disable-line rule:line-length
+ name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
+ id: inttest-csit-openstack
+ <<: *inttest_csit_openstack
+
+- job-template:
+ # yamllint disable-line rule:line-length
+ name: '{prefix}{project}-csit-{topology}-{os-cmb-cnt}cmb-{os-ctl-cnt}ctl-{os-cmp-cnt}cmp-openstack-{openstack}-{functionality}-{stream}'
+ id: inttest-csit-openstack-custom
+ <<: *inttest_csit_openstack
+
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: 'integration/test'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+ - integration-distribution-branch:
+ branch: '{branch}'
+ - integration-distribution-stream:
+ stream: '{stream}'
+ - integration-bundle-url:
+ bundle-url: '{bundle-url}'
+ - integration-repo-url:
+ repo-url: '{repo-url}'
+ - integration-controller-features:
+ controller-features: '{install-features}'
+ - integration-controller-debug-map:
+ controller-debug-map: '{debug-map}'
+ - integration-test-options:
+ test-options: '{robot-options}'
+ - integration-script-plan:
+ script-plan: '{project}.txt'
+ - integration-config-plan:
+ config-plan: '{project}.txt'
+ - integration-test-plan:
+ test-plan: '{testplan}'
+ - integration-test-suites:
+ test-suites: '{test-suites}'
+ - integration-patch-refspec:
+ branch: 'master'
+ - integration-jdk-version:
+ jdkversion: '{jre}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
+ - integration-use-features-boot:
+ use-features-boot: '{use-features-boot}'
+ - string:
+ name: OPENSTACK_BRANCH
+ default: '{openstack-branch}'
+ description: 'Openstack version to use with devstack'
+ - string:
+ name: DEVSTACK_HASH
+ default: '{devstack-hash}'
+ description: 'devstack hash to checkout'
+ - string:
+ name: ODL_ML2_DRIVER_REPO
+ default: '{odl-ml2-driver-repo}'
+ description: 'URL to fetch networking-odl driver'
+ - string:
+ name: ODL_ML2_BRANCH
+ default: '{odl-ml2-branch}'
+ description: 'Version of networking-odl to checkout from the repo'
+ - string:
+ name: ODL_ML2_DRIVER_VERSION
+ default: '{odl-ml2-driver-version}'
+ description: 'Mode of networking-odl (v1 or v2)'
+ - string:
+ name: ODL_ML2_PORT_BINDING
+ default: '{odl-ml2-port-binding}'
+ description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
+ network-topology)'
+ - string:
+ name: ENABLE_GRE_TYPE_DRIVERS
+ default: '{enable-gre-type-driver}'
+ description: 'Enable gre tunnel'
+ - string:
+ name: DEVSTACK_KUBERNETES_PLUGIN_REPO
+ default: '{devstack-kubernetes-plugin-repo}'
+ description: 'URL to fetch kubernetes devstack plugin'
+ - string:
+ name: DEVSTACK_LBAAS_PLUGIN_REPO
+ default: '{devstack-lbaas-plugin-repo}'
+ description: 'URL to fetch neutron-lbaas devstack plugin'
+ - string:
+ name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
+ default: '{devstack-networking-sfc-plugin-repo}'
+ description: 'URL to fetch neutron-lbaas devstack plugin'
+ - string:
+ name: IPSEC_VXLAN_TUNNELS_ENABLED
+ default: '{ipsec-vxlan-tunnels-enabled}'
+ description: 'Enable ipsec over vxlan support for all controllers and computes'
+ - string:
+ name: PUBLIC_BRIDGE
+ default: '{public-bridge}'
+ description: 'Specifies public bridge for provider and external networking'
+ - string:
+ name: ENABLE_HAPROXY_FOR_NEUTRON
+ default: '{enable-haproxy}'
+ description: 'Enable HAProxy for using neutron interface as HA'
+ - string:
+ name: ENABLE_OS_SERVICES
+ default: '{enable-openstack-services}'
+ description: 'comma seperated list of services to enable'
+ - string:
+ name: ENABLE_OS_COMPUTE_SERVICES
+ default: '{enable-openstack-compute-services}'
+ description: 'comma separated list of services to enable on compute nodes'
+ - string:
+ name: ENABLE_OS_NETWORK_SERVICES
+ default: '{enable-openstack-network-services}'
+ description: 'comma seperated list of network services to enable'
+ - string:
+ name: ENABLE_OS_PLUGINS
+ default: '{enable-openstack-plugins}'
+ description: 'comma seperated list of plugins to enable'
+ - string:
+ name: DISABLE_OS_SERVICES
+ default: '{disable-openstack-services}'
+ description: 'comma seperated list of services to enable'
+ - string:
+ name: TENANT_NETWORK_TYPE
+ default: '{tenant-network-type}'
+ description: 'Tenant Network Type supported by the implementation'
+ - string:
+ name: SECURITY_GROUP_MODE
+ default: '{security-group-mode}'
+ description: 'Security Group Mode to be used in netvirt aclservice config'
+ - string:
+ name: ENABLE_ITM_DIRECT_TUNNELS
+ default: '{enable-itm-direct-tunnels}'
+ description: 'Tunnel Configuration mode to be used in genius ifm config'
+ - string:
+ name: PUBLIC_PHYSICAL_NETWORK
+ default: '{public-physical-network}'
+ description: 'provider physical network used for flat/vlan networks'
+ - string:
+ name: ENABLE_NETWORKING_L2GW
+ default: '{enable-networking-l2gw}'
+ description: 'Enable networking L2gw'
+ - string:
+ name: NETWORKING_L2GW_DRIVER
+ default: '{networking-l2gw-repo}'
+ description: 'URL to fetch networking-l2gw driver'
+ - string:
+ name: CREATE_INITIAL_NETWORKS
+ default: '{create-initial-networks}'
+ description: 'Toggles the option of letting devstack create initial networks (True/False)'
+ - string:
+ name: LBAAS_SERVICE_PROVIDER
+ default: '{lbaas-service-provider}'
+ description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
+ neutron-lbaas'
+ - string:
+ name: ODL_SFC_DRIVER
+ default: '{odl-sfc-driver}'
+ description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
+ - string:
+ name: ODL_SNAT_MODE
+ default: '{odl-snat-mode}'
+ description: 'The SNAT mode to be configured - options are conntrack/controller.'
+ - string:
+ name: OVS_INSTALL
+ default: '{ovs-install}'
+ description: 'Install a custom OVS. It can be an OVS version to build (like v2.9.2 or v2.6.1-nsh) or a yum
+ repo url to pull from.'
+
+# Template: {project}-patch-test-{stream}
+# Goal: Build a patch and run project specific system test on a distribution containing the change
+# Operation: This job template builds a patch, creates a distribution containing the patch, and
+# triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
+
+- job-template:
+ name: '{prefix}{project}-patch-test-{feature}-{stream}'
+ id: inttest-patch-test
+
+ project-type: freestyle
+ node: centos7-builder-2c-8g
+ concurrent: true
+ jdk: '{java-version}'
+
+ properties:
+ - opendaylight-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
+
+ parameters:
+ - opendaylight-infra-parameters:
+ os-cloud: '{os-cloud}'
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+ - integration-distribution-branch:
+ branch: '{branch}'
+ - distribution-karaf-version:
+ karaf-version: '{karaf-version}'
+ - integration-distribution-git-url:
+ git-url: '{git-url}'
+ - string:
+ name: feature
+ default: 'all'
+ description: 'Specific feature test for patch'
+ - maven-exec:
+ maven-version: mvn35
+
+ scm:
+ - integration-gerrit-scm:
+ basedir: '{project}'
+ refspec: '$GERRIT_REFSPEC'
+ branch: '{branch}'
+ - integration-distribution-scm:
+ branch: '{branch}'
+
+ wrappers:
+ - opendaylight-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ - gerrit:
+ server-name: '{gerrit-server-name}'
+ trigger-on:
+ - comment-added-contains-event:
+ comment-contains-value: 'test-{project}-all'
+ - comment-added-contains-event:
+ comment-contains-value: 'test-{project}-{feature}'
+ projects:
+ - project-compare-type: 'ANT'