blob: 32e565c34d01858015912285941ff0cbe518b43e [file] [log] [blame]
Chandan Kumara564cf32017-11-16 16:09:38 +05301- job:
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +01002 name: neutron-tempest-plugin-scenario
3 parent: devstack-tempest
4 abstract: true
5 description: |
6 Perform setup common to all tempest scenario test jobs.
7 roles:
8 - zuul: openstack-dev/devstack
9 required-projects:
10 - openstack-infra/devstack-gate
11 - openstack/neutron
12 - openstack/neutron-tempest-plugin
13 - openstack/tempest
14 vars:
15 tempest_test_regex: ^neutron_tempest_plugin\.scenario
16 tempest_concurrency: 4
17 tox_envlist: all
18 devstack_localrc:
19 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
20 PHYSICAL_NETWORK: default
21 DOWNLOAD_DEFAULT_IMAGES: false
22 IMAGE_URLS: "http://cloud-images.ubuntu.com/releases/16.04/release-20170113/ubuntu-16.04-server-cloudimg-amd64-disk1.img,"
23 DEFAULT_INSTANCE_TYPE: ds512M
24 DEFAULT_INSTANCE_USER: ubuntu
25 BUILD_TIMEOUT: 784
26 devstack_plugins:
27 neutron: git://git.openstack.org/openstack/neutron.git
28 neutron-tempest-plugin: git://git.openstack.org/openstack/neutron-tempest-plugin.git
29 devstack_services:
30 cinder: true
31 tempest: true
32 neutron-dns: true
33 neutron-qos: true
34 neutron-segments: true
35 neutron-trunk: true
36 devstack_local_conf:
37 post-config:
38 $NEUTRON_CONF:
39 QUOTAS:
40 quota_router: 100
41 quota_floatingip: 500
42 quota_security_group: 100
43 quota_security_group_rule: 1000
44 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
45 # devstack-tempest job will be switched to use lib/neutron instead of
46 # lib/neutron-legacy
47 "/$NEUTRON_CORE_PLUGIN_CONF":
48 ml2:
49 type_drivers: flat,vlan,local,vxlan
50 ml2_type_vlan:
51 network_vlan_ranges: foo:1:10
52 ml2_type_vxlan:
53 vni_ranges: 1:2000
54 $NEUTRON_L3_CONF:
55 agent:
56 availability_zone: nova
57 $NEUTRON_DHCP_CONF:
58 agent:
59 availability_zone: nova
60 "/etc/neutron/api-paste.ini":
61 "composite:neutronapi_v2_0":
62 use: "call:neutron.auth:pipeline_factory"
63 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
64 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
65 test-config:
66 $TEMPEST_CONFIG:
67 neutron_plugin_options:
68 provider_vlans: foo,
69 agent_availability_zone: nova
70 image_is_advanced: true
71 available_type_drivers: flat,vlan,local,vxlan
72 irrelevant-files:
73 - ^(test-|)requirements.txt$
74 - ^releasenotes/.*$
75 - ^doc/.*$
76 - ^setup.cfg$
77 - ^.*\.rst$
78 - ^neutron/locale/.*$
79 - ^neutron/tests/unit/.*$
80 - ^tools/.*$
81 - ^tox.ini$
82
83- job:
Chandan Kumara564cf32017-11-16 16:09:38 +053084 name: neutron-tempest-plugin-api
85 parent: legacy-dsvm-base
86 run: playbooks/neutron-tempest-plugin-api/run.yaml
87 post-run: playbooks/neutron-tempest-plugin-api/post.yaml
88 timeout: 10000
89 required-projects:
90 - openstack-infra/devstack-gate
91 - openstack/neutron
92 - openstack/neutron-tempest-plugin
93 - openstack/tempest
94 irrelevant-files:
95 - ^(test-|)requirements.txt$
96 - ^releasenotes/.*$
Ihar Hrachyshka5b6db5e2017-11-27 15:05:21 -080097 - ^doc/.*$
Chandan Kumara564cf32017-11-16 16:09:38 +053098 - ^setup.cfg$
Dongcan Yeda3fabd2018-02-12 14:37:17 +000099 - ^.*\.rst$
100 - ^neutron/locale/.*$
101 - ^neutron/tests/unit/.*$
102 - ^tools/.*$
103 - ^tox.ini$
Chandan Kumara564cf32017-11-16 16:09:38 +0530104
105- job:
106 name: neutron-tempest-plugin-scenario-linuxbridge
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100107 parent: neutron-tempest-plugin-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530108 timeout: 10000
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100109 vars:
110 devstack_localrc:
111 NETWORK_API_EXTENSIONS: "address-scope,agent,allowed-address-pairs,auto-allocated-topology,availability_zone,binding,default-subnetpools,dhcp_agent_scheduler,dns-integration,ext-gw-mode,external-net,extra_dhcp_opt,extraroute,flavors,ip-substring-filtering,l3-flavors,l3-ha,l3_agent_scheduler,logging,metering,multi-provider,net-mtu,net-mtu-writable,network-ip-availability,network_availability_zone,pagination,port-security,project-id,provider,qos,quotas,quota_details,rbac-policies,router,router_availability_zone,security-group,port-security-groups-filtering,segment,service-type,sorting,standard-attr-description,standard-attr-revisions,standard-attr-timestamp,standard-attr-tag,subnet_allocation,tag,tag-ext,trunk,trunk-details"
112 Q_AGENT: linuxbridge
113 devstack_local_conf:
114 post-config:
115 $NEUTRON_CONF:
116 DEFAULT:
117 enable_dvr: false
118 AGENT:
119 debug_iptables_rules: true
Chandan Kumara564cf32017-11-16 16:09:38 +0530120
121- job:
122 name: neutron-tempest-plugin-dvr-multinode-scenario
123 parent: legacy-dsvm-base-multinode
124 run: playbooks/neutron-tempest-plugin-dvr-multinode-scenario/run.yaml
125 post-run: playbooks/neutron-tempest-plugin-dvr-multinode-scenario/post.yaml
126 nodeset: legacy-ubuntu-xenial-2-node
127 timeout: 10800
128 required-projects:
129 - openstack-infra/devstack-gate
130 - openstack/neutron
131 - openstack/neutron-tempest-plugin
132 - openstack/tempest
133 irrelevant-files:
134 - ^(test-|)requirements.txt$
135 - ^releasenotes/.*$
Ihar Hrachyshka5b6db5e2017-11-27 15:05:21 -0800136 - ^doc/.*$
Chandan Kumara564cf32017-11-16 16:09:38 +0530137 - ^setup.cfg$
Dongcan Yeda3fabd2018-02-12 14:37:17 +0000138 - ^.*\.rst$
139 - ^neutron/locale/.*$
140 - ^neutron/tests/unit/.*$
141 - ^tools/.*$
142 - ^tox.ini$
Chandan Kumara564cf32017-11-16 16:09:38 +0530143 voting: false
144
Jens Harbott860b46a2017-11-15 21:23:15 +0000145- job:
146 name: neutron-tempest-plugin-designate-scenario
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100147 parent: neutron-tempest-plugin-scenario
Jens Harbott860b46a2017-11-15 21:23:15 +0000148 description: Neutron designate integration scenario
149 required-projects:
150 - openstack/designate
151 - openstack/designate-dashboard
152 - openstack/designate-tempest-plugin
Jens Harbott860b46a2017-11-15 21:23:15 +0000153 timeout: 3600
Jens Harbott860b46a2017-11-15 21:23:15 +0000154 vars:
155 devstack_localrc:
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100156 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin
157 /opt/stack/neutron-tempest-plugin"'
Jens Harbott860b46a2017-11-15 21:23:15 +0000158 DESIGNATE_BACKEND_DRIVER: bind9
159 devstack_plugins:
160 designate: git://git.openstack.org/openstack/designate.git
Jens Harbott860b46a2017-11-15 21:23:15 +0000161 devstack_services:
James E. Blair24195802018-01-24 16:46:38 -0800162 cinder: false
163 designate: true
James E. Blair24195802018-01-24 16:46:38 -0800164 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Jens Harbott860b46a2017-11-15 21:23:15 +0000165 irrelevant-files:
166 - ^(test-|)requirements.txt$
167 - ^releasenotes/.*$
168 - ^setup.cfg$
169 voting: false
170
Chandan Kumara564cf32017-11-16 16:09:38 +0530171- project-template:
172 name: neutron-tempest-plugin-jobs
173 check:
174 jobs:
175 - neutron-tempest-plugin-api
Jens Harbott860b46a2017-11-15 21:23:15 +0000176 - neutron-tempest-plugin-designate-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530177 - neutron-tempest-plugin-dvr-multinode-scenario
178 - neutron-tempest-plugin-scenario-linuxbridge
Chandan Kumar17f53802018-03-14 18:15:47 +0530179 - build-openstack-sphinx-docs
Chandan Kumara564cf32017-11-16 16:09:38 +0530180 gate:
181 jobs:
182 - neutron-tempest-plugin-api
Chandan Kumar17f53802018-03-14 18:15:47 +0530183 - build-openstack-sphinx-docs
Chandan Kumara564cf32017-11-16 16:09:38 +0530184
185- project:
Chandan Kumara564cf32017-11-16 16:09:38 +0530186 templates:
187 - neutron-tempest-plugin-jobs