blob: dbae6e419999b3a82a1f740e8bc3ec128866d9f6 [file] [log] [blame]
Chandan Kumara564cf32017-11-16 16:09:38 +05301- job:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +02002 name: neutron-tempest-plugin
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +01003 parent: devstack-tempest
4 abstract: true
5 description: |
Doug Hellmann12685c62018-08-29 17:37:50 -04006 Perform setup common to all Neutron tempest tests
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +01007 roles:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +00008 - zuul: openstack/devstack
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +01009 required-projects:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +000010 - openstack/devstack-gate
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010011 - openstack/neutron
12 - openstack/neutron-tempest-plugin
13 - openstack/tempest
14 vars:
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010015 tempest_concurrency: 4
16 tox_envlist: all
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000017 network_api_extensions_common: &api_extensions_master
18 - address-scope
19 - agent
20 - allowed-address-pairs
21 - auto-allocated-topology
22 - availability_zone
23 - binding
24 - default-subnetpools
25 - dhcp_agent_scheduler
26 - dns-domain-ports
27 - dns-integration
28 - empty-string-filtering
Slawek Kaplonski003fcae2019-05-26 22:38:35 +020029 - expose-port-forwarding-in-fip
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000030 - ext-gw-mode
31 - external-net
32 - extra_dhcp_opt
33 - extraroute
34 - filter-validation
35 - fip-port-details
36 - flavors
Slawek Kaplonski003fcae2019-05-26 22:38:35 +020037 - floating-ip-port-forwarding
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000038 - floatingip-pools
39 - ip-substring-filtering
40 - l3-flavors
41 - l3-ha
42 - l3_agent_scheduler
43 - logging
44 - metering
45 - multi-provider
46 - net-mtu
47 - net-mtu-writable
48 - network-ip-availability
49 - network_availability_zone
Kailun Qineaaf9782018-12-20 04:45:01 +080050 - network-segment-range
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000051 - pagination
Lajos Katona2f904652018-08-23 14:04:56 +020052 - port-resource-request
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000053 - port-mac-address-regenerate
54 - port-security
55 - port-security-groups-filtering
56 - project-id
57 - provider
58 - qos
59 - qos-bw-minimum-ingress
60 - qos-fip
61 - quotas
62 - quota_details
63 - rbac-policies
Doug Wiegley5b85ad82019-02-06 13:51:03 -070064 - rbac-security-groups
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000065 - router
66 - router_availability_zone
67 - security-group
68 - segment
69 - service-type
70 - sorting
71 - standard-attr-description
72 - standard-attr-revisions
73 - standard-attr-segment
74 - standard-attr-tag
75 - standard-attr-timestamp
76 - subnet_allocation
Ryan Tidwellb7238bd2019-05-30 10:35:09 -050077 - subnetpool-prefix-ops
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000078 - trunk
79 - trunk-details
80 - uplink-status-propagation
81 network_api_extensions_tempest:
82 - dvr
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010083 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +010084 USE_PYTHON3: true
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000085 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010086 devstack_plugins:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +000087 neutron: https://opendev.org/openstack/neutron.git
88 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
Slawek Kaplonski52b1b952019-04-01 08:42:04 +020089 tempest_plugins:
90 - neutron-tempest-plugin
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010091 devstack_services:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +020092 tls-proxy: false
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010093 tempest: true
94 neutron-dns: true
95 neutron-qos: true
96 neutron-segments: true
97 neutron-trunk: true
Hongbin Lu5da73332018-07-27 22:34:59 +000098 neutron-uplink-status-propagation: true
Kailun Qineaaf9782018-12-20 04:45:01 +080099 neutron-network-segment-range: true
Slawek Kaplonski003fcae2019-05-26 22:38:35 +0200100 neutron-port-forwarding: true
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100101 devstack_local_conf:
102 post-config:
103 $NEUTRON_CONF:
104 QUOTAS:
105 quota_router: 100
106 quota_floatingip: 500
107 quota_security_group: 100
108 quota_security_group_rule: 1000
109 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
110 # devstack-tempest job will be switched to use lib/neutron instead of
111 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -0400112 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100113 ml2:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200114 type_drivers: flat,geneve,vlan,gre,local,vxlan
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100115 ml2_type_vlan:
116 network_vlan_ranges: foo:1:10
117 ml2_type_vxlan:
118 vni_ranges: 1:2000
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200119 ml2_type_gre:
120 tunnel_id_ranges: 1:1000
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100121 $NEUTRON_L3_CONF:
122 agent:
123 availability_zone: nova
124 $NEUTRON_DHCP_CONF:
125 agent:
126 availability_zone: nova
Doug Hellmann12685c62018-08-29 17:37:50 -0400127 /etc/neutron/api-paste.ini:
128 composite:neutronapi_v2_0:
129 use: call:neutron.auth:pipeline_factory
130 noauth: cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0
131 keystone: cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100132 test-config:
133 $TEMPEST_CONFIG:
134 neutron_plugin_options:
135 provider_vlans: foo,
136 agent_availability_zone: nova
137 image_is_advanced: true
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200138 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
Lajos Katona2f904652018-08-23 14:04:56 +0200139 provider_net_base_segm_id: 1
Hongbin Lue2089622018-08-14 15:32:46 +0000140 irrelevant-files: &tempest-irrelevant-files
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100141 - ^(test-|)requirements.txt$
142 - ^releasenotes/.*$
143 - ^doc/.*$
144 - ^setup.cfg$
145 - ^.*\.rst$
146 - ^neutron/locale/.*$
147 - ^neutron/tests/unit/.*$
148 - ^tools/.*$
149 - ^tox.ini$
150
151- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530152 name: neutron-tempest-plugin-api
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200153 parent: neutron-tempest-plugin
154 vars:
155 tempest_test_regex: ^neutron_tempest_plugin\.api
156 devstack_services:
157 neutron-log: true
158 devstack_local_conf:
159 post-config:
160 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
161 # devstack-tempest job will be switched to use lib/neutron instead of
162 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -0400163 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200164 AGENT:
165 tunnel_types: gre,vxlan
166 network_log:
167 local_output_log_base: /tmp/test_log.log
Chandan Kumara564cf32017-11-16 16:09:38 +0530168
169- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000170 name: neutron-tempest-plugin-api-queens
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100171 nodeset: openstack-single-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000172 parent: neutron-tempest-plugin-api
173 override-checkout: stable/queens
174 vars:
175 branch_override: stable/queens
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000176 # TODO(slaweq): find a way to put this list of extensions in
177 # neutron repository and keep it different per branch,
178 # then it could be removed from here
179 network_api_extensions_common: &api_extensions_queens
180 - address-scope
181 - agent
182 - allowed-address-pairs
183 - auto-allocated-topology
184 - availability_zone
185 - binding
186 - default-subnetpools
187 - dhcp_agent_scheduler
188 - dns-domain-ports
189 - dns-integration
190 - ext-gw-mode
191 - external-net
192 - extra_dhcp_opt
193 - extraroute
194 - flavors
195 - ip-substring-filtering
196 - l3-flavors
197 - l3-ha
198 - l3_agent_scheduler
199 - logging
200 - metering
201 - multi-provider
202 - net-mtu
203 - net-mtu-writable
204 - network-ip-availability
205 - network_availability_zone
206 - pagination
207 - port-security
208 - project-id
209 - provider
210 - qos
211 - qos-fip
212 - quotas
213 - quota_details
214 - rbac-policies
215 - router
216 - router_availability_zone
217 - security-group
218 - segment
219 - service-type
220 - sorting
221 - standard-attr-description
222 - standard-attr-revisions
223 - standard-attr-timestamp
224 - standard-attr-tag
225 - subnet_allocation
226 - trunk
227 - trunk-details
228 network_api_extensions_tempest:
229 - dvr
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200230 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100231 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000232 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200233 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200234
235- job:
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200236 name: neutron-tempest-plugin-api-stein
237 parent: neutron-tempest-plugin-api
238 override-checkout: stable/stein
239 vars:
240 branch_override: stable/stein
241 # TODO(slaweq): find a way to put this list of extensions in
242 # neutron repository and keep it different per branch,
243 # then it could be removed from here
244 network_api_extensions_common: &api_extensions_stein
245 - address-scope
246 - agent
247 - allowed-address-pairs
248 - auto-allocated-topology
249 - availability_zone
250 - binding
251 - default-subnetpools
252 - dhcp_agent_scheduler
253 - dns-domain-ports
254 - dns-integration
255 - empty-string-filtering
Slawek Kaplonski003fcae2019-05-26 22:38:35 +0200256 - expose-port-forwarding-in-fip
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200257 - ext-gw-mode
258 - external-net
259 - extra_dhcp_opt
260 - extraroute
261 - filter-validation
262 - fip-port-details
263 - flavors
264 - floatingip-pools
Slawek Kaplonski003fcae2019-05-26 22:38:35 +0200265 - floating-ip-port-forwarding
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200266 - ip-substring-filtering
267 - l3-flavors
268 - l3-ha
269 - l3_agent_scheduler
270 - logging
271 - metering
272 - multi-provider
273 - net-mtu
274 - net-mtu-writable
275 - network-ip-availability
276 - network_availability_zone
277 - network-segment-range
278 - pagination
279 - port-resource-request
280 - port-mac-address-regenerate
281 - port-security
282 - port-security-groups-filtering
283 - project-id
284 - provider
285 - qos
286 - qos-bw-minimum-ingress
287 - qos-fip
288 - quotas
289 - quota_details
290 - rbac-policies
291 - rbac-security-groups
292 - router
293 - router_availability_zone
294 - security-group
295 - segment
296 - service-type
297 - sorting
298 - standard-attr-description
299 - standard-attr-revisions
300 - standard-attr-segment
301 - standard-attr-tag
302 - standard-attr-timestamp
303 - subnet_allocation
304 - trunk
305 - trunk-details
306 - uplink-status-propagation
307 network_api_extensions_tempest:
308 - dvr
309 devstack_localrc:
310 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
311
312- job:
Hongbin Lub600bea2018-08-23 02:49:48 +0000313 name: neutron-tempest-plugin-api-rocky
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100314 nodeset: openstack-single-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000315 parent: neutron-tempest-plugin-api
316 override-checkout: stable/rocky
317 vars:
318 branch_override: stable/rocky
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000319 # TODO(slaweq): find a way to put this list of extensions in
320 # neutron repository and keep it different per branch,
321 # then it could be removed from here
322 network_api_extensions_common: &api_extensions_rocky
323 - address-scope
324 - agent
325 - allowed-address-pairs
326 - auto-allocated-topology
327 - availability_zone
328 - binding
329 - default-subnetpools
330 - dhcp_agent_scheduler
331 - dns-domain-ports
332 - dns-integration
333 - empty-string-filtering
Slawek Kaplonski003fcae2019-05-26 22:38:35 +0200334 - expose-port-forwarding-in-fip
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000335 - ext-gw-mode
336 - external-net
337 - extra_dhcp_opt
338 - extraroute
339 - fip-port-details
340 - flavors
Slawek Kaplonski003fcae2019-05-26 22:38:35 +0200341 - floating-ip-port-forwarding
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000342 - ip-substring-filtering
343 - l3-flavors
344 - l3-ha
345 - l3_agent_scheduler
346 - logging
347 - metering
348 - multi-provider
349 - net-mtu
350 - net-mtu-writable
351 - network-ip-availability
352 - network_availability_zone
353 - pagination
354 - port-mac-address-regenerate
355 - port-security
356 - port-security-groups-filtering
357 - project-id
358 - provider
359 - qos
360 - qos-fip
361 - quotas
362 - quota_details
363 - rbac-policies
364 - router
365 - router_availability_zone
366 - security-group
367 - segment
368 - service-type
369 - sorting
370 - standard-attr-description
371 - standard-attr-revisions
372 - standard-attr-segment
373 - standard-attr-timestamp
374 - standard-attr-tag
375 - subnet_allocation
376 - trunk
377 - trunk-details
378 network_api_extensions_tempest:
379 - dvr
Hongbin Lub600bea2018-08-23 02:49:48 +0000380 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100381 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000382 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200383 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Hongbin Lub600bea2018-08-23 02:49:48 +0000384
385- job:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200386 name: neutron-tempest-plugin-scenario
387 parent: neutron-tempest-plugin
388 abstract: true
389 description: |
Doug Hellmann12685c62018-08-29 17:37:50 -0400390 Perform setup common to all tempest scenario test jobs.
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200391 vars:
392 tempest_test_regex: ^neutron_tempest_plugin\.scenario
393 devstack_localrc:
Doug Hellmann12685c62018-08-29 17:37:50 -0400394 PHYSICAL_NETWORK: default
395 DOWNLOAD_DEFAULT_IMAGES: false
LIU Yulong1c95d622019-06-16 10:36:56 +0800396 IMAGE_URLS: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img,https://cloud-images.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img"
Slawek Kaplonskida17f002018-10-11 18:35:23 +0200397 DEFAULT_IMAGE_NAME: cirros-0.3.4-i386-disk
398 ADVANCED_IMAGE_NAME: ubuntu-16.04-server-cloudimg-amd64-disk1
399 ADVANCED_INSTANCE_TYPE: ds512M
400 ADVANCED_INSTANCE_USER: ubuntu
Doug Hellmann12685c62018-08-29 17:37:50 -0400401 BUILD_TIMEOUT: 784
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200402 devstack_services:
403 cinder: true
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000404
405- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530406 name: neutron-tempest-plugin-scenario-linuxbridge
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100407 parent: neutron-tempest-plugin-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530408 timeout: 10000
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100409 vars:
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000410 network_api_extensions: *api_extensions_master
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100411 devstack_localrc:
Doug Hellmann12685c62018-08-29 17:37:50 -0400412 Q_AGENT: linuxbridge
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000413 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100414 devstack_local_conf:
415 post-config:
416 $NEUTRON_CONF:
417 DEFAULT:
418 enable_dvr: false
419 AGENT:
420 debug_iptables_rules: true
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200421 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
422 # devstack-tempest job will be switched to use lib/neutron instead of
423 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -0400424 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200425 ml2:
426 type_drivers: flat,vlan,local,vxlan
427 test-config:
428 $TEMPEST_CONFIG:
429 neutron_plugin_options:
430 available_type_drivers: flat,vlan,local,vxlan
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800431 q_agent: linuxbridge
Chandan Kumara564cf32017-11-16 16:09:38 +0530432
433- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000434 name: neutron-tempest-plugin-scenario-linuxbridge-queens
435 parent: neutron-tempest-plugin-scenario-linuxbridge
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100436 nodeset: openstack-single-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000437 override-checkout: stable/queens
438 vars:
439 branch_override: stable/queens
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000440 network_api_extensions: *api_extensions_queens
Hongbin Lu965b03d2018-04-25 22:32:30 +0000441 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100442 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000443 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200444 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800445 devstack_local_conf:
446 test-config:
447 # NOTE: ignores linux bridge's trunk delete on bound port test
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000448 # for queens branch (as https://review.opendev.org/#/c/605589/
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800449 # fix will not apply for queens branch)
450 $TEMPEST_CONFIG:
451 neutron_plugin_options:
452 q_agent: None
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000453
454- job:
Hongbin Lub600bea2018-08-23 02:49:48 +0000455 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
456 parent: neutron-tempest-plugin-scenario-linuxbridge
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100457 nodeset: openstack-single-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000458 override-checkout: stable/rocky
459 vars:
460 branch_override: stable/rocky
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000461 network_api_extensions: *api_extensions_rocky
Hongbin Lub600bea2018-08-23 02:49:48 +0000462 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100463 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000464 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200465 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800466 devstack_local_conf:
467 test-config:
468 # NOTE: ignores linux bridge's trunk delete on bound port test
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000469 # for rocky branch (as https://review.opendev.org/#/c/605589/
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800470 # fix will not apply for rocky branch)
471 $TEMPEST_CONFIG:
472 neutron_plugin_options:
473 q_agent: None
Hongbin Lub600bea2018-08-23 02:49:48 +0000474
475- job:
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200476 name: neutron-tempest-plugin-scenario-linuxbridge-stein
477 parent: neutron-tempest-plugin-scenario-linuxbridge
478 override-checkout: stable/stein
479 vars:
480 branch_override: stable/stein
481 network_api_extensions: *api_extensions_stein
482 devstack_localrc:
483 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
484
485- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530486 name: neutron-tempest-plugin-dvr-multinode-scenario
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200487 parent: tempest-multinode-full
488 description: |
489 Perform setup for Neutron tempest tests in multinode with DVR scenario
490 roles:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000491 - zuul: openstack/devstack
Chandan Kumara564cf32017-11-16 16:09:38 +0530492 required-projects:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000493 - openstack/devstack-gate
Chandan Kumara564cf32017-11-16 16:09:38 +0530494 - openstack/neutron
495 - openstack/neutron-tempest-plugin
496 - openstack/tempest
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200497 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
Chandan Kumara564cf32017-11-16 16:09:38 +0530498 voting: false
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200499 vars:
500 tempest_concurrency: 4
501 tox_envlist: all
502 tempest_test_regex: ^neutron_tempest_plugin\.scenario
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000503 network_api_extensions_common: *api_extensions_master
504 network_api_extensions_dvr:
505 - dvr
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200506 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100507 USE_PYTHON3: true
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000508 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200509 PHYSICAL_NETWORK: default
510 DOWNLOAD_DEFAULT_IMAGES: false
LIU Yulong1c95d622019-06-16 10:36:56 +0800511 IMAGE_URLS: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img,https://cloud-images.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img"
Slawek Kaplonskida17f002018-10-11 18:35:23 +0200512 DEFAULT_IMAGE_NAME: cirros-0.3.4-i386-disk
513 ADVANCED_IMAGE_NAME: ubuntu-16.04-server-cloudimg-amd64-disk1
514 ADVANCED_INSTANCE_TYPE: ds512M
515 ADVANCED_INSTANCE_USER: ubuntu
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200516 BUILD_TIMEOUT: 784
517 devstack_plugins:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000518 neutron: https://opendev.org/openstack/neutron.git
519 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200520 tempest_plugins:
521 - neutron-tempest-plugin
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200522 devstack_services:
523 tls-proxy: false
524 tempest: true
525 neutron-dns: true
526 neutron-qos: true
527 neutron-segments: true
528 neutron-trunk: true
529 neutron-log: true
Slawek Kaplonski13903aa2019-06-02 14:31:47 +0200530 neutron-port-forwarding: true
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200531 cinder: true
532 devstack_local_conf:
533 post-config:
534 $NEUTRON_CONF:
535 quotas:
536 quota_router: 100
537 quota_floatingip: 500
538 quota_security_group: 100
539 quota_security_group_rule: 1000
540 DEFAULT:
541 router_distributed: True
542 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
543 # devstack-tempest job will be switched to use lib/neutron instead of
544 # lib/neutron-legacy
545 "/$NEUTRON_CORE_PLUGIN_CONF":
546 ml2:
547 type_drivers: flat,geneve,vlan,gre,local,vxlan
548 mechanism_drivers: openvswitch,l2population
549 ml2_type_vlan:
550 network_vlan_ranges: foo:1:10
551 ml2_type_vxlan:
552 vni_ranges: 1:2000
553 ml2_type_gre:
554 tunnel_id_ranges: 1:1000
555 agent:
556 enable_distributed_routing: True
557 l2_population: True
558 tunnel_types: vxlan,gre
559 ovs:
560 tunnel_bridge: br-tun
561 bridge_mappings: public:br-ex
562 $NEUTRON_L3_CONF:
563 DEFAULT:
564 agent_mode: dvr_snat
565 agent:
566 availability_zone: nova
567 $NEUTRON_DHCP_CONF:
568 agent:
569 availability_zone: nova
570 "/etc/neutron/api-paste.ini":
571 "composite:neutronapi_v2_0":
572 use: "call:neutron.auth:pipeline_factory"
573 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
574 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
575 test-config:
576 $TEMPEST_CONFIG:
577 neutron_plugin_options:
578 provider_vlans: foo,
579 agent_availability_zone: nova
580 image_is_advanced: true
581 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
582 l3_agent_mode: dvr_snat
583 group-vars:
584 subnode:
585 devstack_services:
586 tls-proxy: false
587 q-agt: true
588 q-l3: true
589 q-meta: true
590 neutron-qos: true
591 neutron-trunk: true
592 neutron-log: true
Slawek Kaplonski13903aa2019-06-02 14:31:47 +0200593 neutron-port-forwarding: true
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200594 devstack_local_conf:
595 post-config:
596 $NEUTRON_CONF:
597 DEFAULT:
598 router_distributed: True
599 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
600 # devstack-tempest job will be switched to use lib/neutron instead of
601 # lib/neutron-legacy
602 "/$NEUTRON_CORE_PLUGIN_CONF":
603 agent:
604 enable_distributed_routing: True
605 l2_population: True
606 tunnel_types: vxlan,gre
607 ovs:
608 tunnel_bridge: br-tun
609 bridge_mappings: public:br-ex
610 $NEUTRON_L3_CONF:
611 DEFAULT:
612 agent_mode: dvr_snat
613 agent:
614 availability_zone: nova
615 irrelevant-files: *tempest-irrelevant-files
Chandan Kumara564cf32017-11-16 16:09:38 +0530616
Jens Harbott860b46a2017-11-15 21:23:15 +0000617- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000618 name: neutron-tempest-plugin-dvr-multinode-scenario-queens
619 parent: neutron-tempest-plugin-dvr-multinode-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100620 nodeset: openstack-two-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000621 override-checkout: stable/queens
622 vars:
623 branch_override: stable/queens
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100624 devstack_localrc:
625 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200626 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000627
628- job:
Hongbin Lub600bea2018-08-23 02:49:48 +0000629 name: neutron-tempest-plugin-dvr-multinode-scenario-rocky
630 parent: neutron-tempest-plugin-dvr-multinode-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100631 nodeset: openstack-two-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000632 override-checkout: stable/rocky
633 vars:
634 branch_override: stable/rocky
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100635 devstack_localrc:
636 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200637 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Hongbin Lub600bea2018-08-23 02:49:48 +0000638
639- job:
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200640 name: neutron-tempest-plugin-dvr-multinode-scenario-stein
641 parent: neutron-tempest-plugin-dvr-multinode-scenario
642 override-checkout: stable/stein
643 vars:
644 branch_override: stable/stein
645
646- job:
Jens Harbott860b46a2017-11-15 21:23:15 +0000647 name: neutron-tempest-plugin-designate-scenario
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100648 parent: neutron-tempest-plugin-scenario
Jens Harbott860b46a2017-11-15 21:23:15 +0000649 description: Neutron designate integration scenario
650 required-projects:
651 - openstack/designate
652 - openstack/designate-dashboard
653 - openstack/designate-tempest-plugin
Jens Harbott860b46a2017-11-15 21:23:15 +0000654 timeout: 3600
Jens Harbott860b46a2017-11-15 21:23:15 +0000655 vars:
656 devstack_localrc:
657 DESIGNATE_BACKEND_DRIVER: bind9
Slawek Kaplonskida17f002018-10-11 18:35:23 +0200658 DOWNLOAD_DEFAULT_IMAGES: false
659 IMAGE_URLS: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img,
660 # In this job advanced image is not needed, so it's name should be
661 # empty
662 ADVANCED_IMAGE_NAME: ""
Jens Harbott860b46a2017-11-15 21:23:15 +0000663 devstack_plugins:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000664 designate: https://opendev.org/openstack/designate.git
Jens Harbott860b46a2017-11-15 21:23:15 +0000665 devstack_services:
James E. Blair24195802018-01-24 16:46:38 -0800666 cinder: false
667 designate: true
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200668 tempest_plugins:
669 - designate-tempest-plugin
670 - neutron-tempest-plugin
James E. Blair24195802018-01-24 16:46:38 -0800671 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Hongbin Lue2089622018-08-14 15:32:46 +0000672 irrelevant-files: *tempest-irrelevant-files
Jens Harbott860b46a2017-11-15 21:23:15 +0000673
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000674- job:
675 name: neutron-tempest-plugin-designate-scenario-queens
676 parent: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100677 nodeset: openstack-single-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000678 override-checkout: stable/queens
679 vars:
680 branch_override: stable/queens
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100681 devstack_localrc:
682 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200683 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000684
Hongbin Lub600bea2018-08-23 02:49:48 +0000685- job:
686 name: neutron-tempest-plugin-designate-scenario-rocky
687 parent: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100688 nodeset: openstack-single-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000689 override-checkout: stable/rocky
690 vars:
691 branch_override: stable/rocky
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100692 devstack_localrc:
693 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200694 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
Hongbin Lub600bea2018-08-23 02:49:48 +0000695
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200696- job:
697 name: neutron-tempest-plugin-designate-scenario-stein
698 parent: neutron-tempest-plugin-designate-scenario
699 override-checkout: stable/stein
700 vars:
701 branch_override: stable/stein
702
Bernard Cafarelli1a987ec2019-04-16 16:42:10 +0200703- job:
704 name: neutron-tempest-plugin-sfc
705 parent: neutron-tempest-plugin
706 timeout: 10800
707 required-projects:
708 - openstack/devstack-gate
709 - openstack/networking-sfc
710 - openstack/neutron
711 - openstack/neutron-tempest-plugin
712 - openstack/tempest
713 vars:
714 tempest_test_regex: ^neutron_tempest_plugin\.sfc
715 tox_envlist: all-plugin
716 devstack_plugins:
717 networking-sfc: https://opendev.org/openstack/networking-sfc
718 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
719 network_api_extensions_sfc:
720 - flow_classifier
721 - sfc
722 devstack_localrc:
723 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
724 files:
725 - ^neutron_tempest_plugin/sfc/.*$
726
Slawek Kaplonski8dd49aa2019-04-16 14:47:07 +0200727- job:
728 name: neutron-tempest-plugin-bgpvpn-bagpipe
729 parent: neutron-tempest-plugin
730 required-projects:
731 - openstack/networking-bagpipe
732 - openstack/networking-bgpvpn
733 vars:
734 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
735 network_api_extensions: *api_extensions_master
736 network_api_extensions_bgpvpn:
737 - bgpvpn
738 - bgpvpn-routes-control
739 devstack_localrc:
740 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
741 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
742 BAGPIPE_BGP_PEERS: "-"
743 USE_PYTHON3: false
744 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
745 devstack_plugins:
746 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
747 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
748
Chandan Kumara564cf32017-11-16 16:09:38 +0530749- project-template:
750 name: neutron-tempest-plugin-jobs
751 check:
752 jobs:
753 - neutron-tempest-plugin-api
Jens Harbott860b46a2017-11-15 21:23:15 +0000754 - neutron-tempest-plugin-designate-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530755 - neutron-tempest-plugin-dvr-multinode-scenario
756 - neutron-tempest-plugin-scenario-linuxbridge
757 gate:
758 jobs:
759 - neutron-tempest-plugin-api
Sławek Kapłońskifbc4d612018-05-08 23:22:41 +0200760 - neutron-tempest-plugin-scenario-linuxbridge
Chandan Kumara564cf32017-11-16 16:09:38 +0530761
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000762- project-template:
Slawek Kaplonski0ec5acf2018-06-15 22:26:24 +0200763 name: neutron-tempest-plugin-jobs-queens
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000764 check:
765 jobs:
766 - neutron-tempest-plugin-api-queens
767 - neutron-tempest-plugin-designate-scenario-queens
768 - neutron-tempest-plugin-dvr-multinode-scenario-queens
769 - neutron-tempest-plugin-scenario-linuxbridge-queens
770 gate:
771 jobs:
772 - neutron-tempest-plugin-api-queens
773
Hongbin Lub600bea2018-08-23 02:49:48 +0000774- project-template:
775 name: neutron-tempest-plugin-jobs-rocky
776 check:
777 jobs:
778 - neutron-tempest-plugin-api-rocky
779 - neutron-tempest-plugin-designate-scenario-rocky
780 - neutron-tempest-plugin-dvr-multinode-scenario-rocky
781 - neutron-tempest-plugin-scenario-linuxbridge-rocky
782 gate:
783 jobs:
784 - neutron-tempest-plugin-api-rocky
785
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200786- project-template:
787 name: neutron-tempest-plugin-jobs-stein
788 check:
789 jobs:
790 - neutron-tempest-plugin-api-stein
791 - neutron-tempest-plugin-designate-scenario-stein
792 - neutron-tempest-plugin-dvr-multinode-scenario-stein
793 - neutron-tempest-plugin-scenario-linuxbridge-stein
794 gate:
795 jobs:
796 - neutron-tempest-plugin-api-stein
797
Chandan Kumara564cf32017-11-16 16:09:38 +0530798- project:
Chandan Kumara564cf32017-11-16 16:09:38 +0530799 templates:
Andreas Jaeger46a0ae22019-05-19 09:34:23 +0200800 - build-openstack-docs-pti
Chandan Kumara564cf32017-11-16 16:09:38 +0530801 - neutron-tempest-plugin-jobs
Slawek Kaplonski0ec5acf2018-06-15 22:26:24 +0200802 - neutron-tempest-plugin-jobs-queens
Hongbin Lub600bea2018-08-23 02:49:48 +0000803 - neutron-tempest-plugin-jobs-rocky
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200804 - neutron-tempest-plugin-jobs-stein
Doug Hellmann12685c62018-08-29 17:37:50 -0400805 - check-requirements
806 - tempest-plugin-jobs
Brian Haley2cbb10e2018-09-13 09:20:03 -0600807 - release-notes-jobs-python3
Bernard Cafarelli1a987ec2019-04-16 16:42:10 +0200808 check:
809 jobs:
810 - neutron-tempest-plugin-sfc
Slawek Kaplonskif40b4942019-05-29 08:53:33 +0200811 - neutron-tempest-plugin-bgpvpn-bagpipe
812 gate:
813 jobs:
814 - neutron-tempest-plugin-bgpvpn-bagpipe