blob: f5343d2a231d6a81641fe89cf60c602903f92646 [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
29 - ext-gw-mode
30 - external-net
31 - extra_dhcp_opt
32 - extraroute
33 - filter-validation
34 - fip-port-details
35 - flavors
36 - floatingip-pools
37 - ip-substring-filtering
38 - l3-flavors
39 - l3-ha
40 - l3_agent_scheduler
41 - logging
42 - metering
43 - multi-provider
44 - net-mtu
45 - net-mtu-writable
46 - network-ip-availability
47 - network_availability_zone
Kailun Qineaaf9782018-12-20 04:45:01 +080048 - network-segment-range
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000049 - pagination
Lajos Katona2f904652018-08-23 14:04:56 +020050 - port-resource-request
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000051 - port-mac-address-regenerate
52 - port-security
53 - port-security-groups-filtering
54 - project-id
55 - provider
56 - qos
57 - qos-bw-minimum-ingress
58 - qos-fip
59 - quotas
60 - quota_details
61 - rbac-policies
Doug Wiegley5b85ad82019-02-06 13:51:03 -070062 - rbac-security-groups
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000063 - router
Matt Welchffe9be82019-07-02 13:24:29 +000064 - router-admin-state-down-before-update
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000065 - router_availability_zone
66 - security-group
67 - segment
68 - service-type
69 - sorting
70 - standard-attr-description
71 - standard-attr-revisions
72 - standard-attr-segment
73 - standard-attr-tag
74 - standard-attr-timestamp
75 - subnet_allocation
76 - trunk
77 - trunk-details
78 - uplink-status-propagation
79 network_api_extensions_tempest:
80 - dvr
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010081 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +010082 USE_PYTHON3: true
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000083 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010084 devstack_plugins:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +000085 neutron: https://opendev.org/openstack/neutron.git
86 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
Slawek Kaplonski52b1b952019-04-01 08:42:04 +020087 tempest_plugins:
88 - neutron-tempest-plugin
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010089 devstack_services:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +020090 tls-proxy: false
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010091 tempest: true
92 neutron-dns: true
93 neutron-qos: true
94 neutron-segments: true
95 neutron-trunk: true
Hongbin Lu5da73332018-07-27 22:34:59 +000096 neutron-uplink-status-propagation: true
Kailun Qineaaf9782018-12-20 04:45:01 +080097 neutron-network-segment-range: true
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010098 devstack_local_conf:
99 post-config:
100 $NEUTRON_CONF:
101 QUOTAS:
102 quota_router: 100
103 quota_floatingip: 500
104 quota_security_group: 100
105 quota_security_group_rule: 1000
106 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
107 # devstack-tempest job will be switched to use lib/neutron instead of
108 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -0400109 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100110 ml2:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200111 type_drivers: flat,geneve,vlan,gre,local,vxlan
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100112 ml2_type_vlan:
113 network_vlan_ranges: foo:1:10
114 ml2_type_vxlan:
115 vni_ranges: 1:2000
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200116 ml2_type_gre:
117 tunnel_id_ranges: 1:1000
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100118 $NEUTRON_L3_CONF:
119 agent:
120 availability_zone: nova
121 $NEUTRON_DHCP_CONF:
122 agent:
123 availability_zone: nova
Doug Hellmann12685c62018-08-29 17:37:50 -0400124 /etc/neutron/api-paste.ini:
125 composite:neutronapi_v2_0:
126 use: call:neutron.auth:pipeline_factory
127 noauth: cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0
128 keystone: cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100129 test-config:
130 $TEMPEST_CONFIG:
131 neutron_plugin_options:
132 provider_vlans: foo,
133 agent_availability_zone: nova
134 image_is_advanced: true
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200135 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
Lajos Katona2f904652018-08-23 14:04:56 +0200136 provider_net_base_segm_id: 1
Hongbin Lue2089622018-08-14 15:32:46 +0000137 irrelevant-files: &tempest-irrelevant-files
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100138 - ^(test-|)requirements.txt$
139 - ^releasenotes/.*$
140 - ^doc/.*$
141 - ^setup.cfg$
142 - ^.*\.rst$
143 - ^neutron/locale/.*$
144 - ^neutron/tests/unit/.*$
145 - ^tools/.*$
146 - ^tox.ini$
147
148- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530149 name: neutron-tempest-plugin-api
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200150 parent: neutron-tempest-plugin
151 vars:
152 tempest_test_regex: ^neutron_tempest_plugin\.api
153 devstack_services:
154 neutron-log: true
155 devstack_local_conf:
156 post-config:
157 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
158 # devstack-tempest job will be switched to use lib/neutron instead of
159 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -0400160 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200161 AGENT:
162 tunnel_types: gre,vxlan
163 network_log:
164 local_output_log_base: /tmp/test_log.log
Chandan Kumara564cf32017-11-16 16:09:38 +0530165
166- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000167 name: neutron-tempest-plugin-api-queens
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100168 nodeset: openstack-single-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000169 parent: neutron-tempest-plugin-api
170 override-checkout: stable/queens
171 vars:
172 branch_override: stable/queens
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000173 # TODO(slaweq): find a way to put this list of extensions in
174 # neutron repository and keep it different per branch,
175 # then it could be removed from here
176 network_api_extensions_common: &api_extensions_queens
177 - address-scope
178 - agent
179 - allowed-address-pairs
180 - auto-allocated-topology
181 - availability_zone
182 - binding
183 - default-subnetpools
184 - dhcp_agent_scheduler
185 - dns-domain-ports
186 - dns-integration
187 - ext-gw-mode
188 - external-net
189 - extra_dhcp_opt
190 - extraroute
191 - flavors
192 - ip-substring-filtering
193 - l3-flavors
194 - l3-ha
195 - l3_agent_scheduler
196 - logging
197 - metering
198 - multi-provider
199 - net-mtu
200 - net-mtu-writable
201 - network-ip-availability
202 - network_availability_zone
203 - pagination
204 - port-security
205 - project-id
206 - provider
207 - qos
208 - qos-fip
209 - quotas
210 - quota_details
211 - rbac-policies
212 - router
213 - router_availability_zone
214 - security-group
215 - segment
216 - service-type
217 - sorting
218 - standard-attr-description
219 - standard-attr-revisions
220 - standard-attr-timestamp
221 - standard-attr-tag
222 - subnet_allocation
223 - trunk
224 - trunk-details
225 network_api_extensions_tempest:
226 - dvr
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200227 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100228 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000229 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200230 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200231
232- job:
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200233 name: neutron-tempest-plugin-api-stein
234 parent: neutron-tempest-plugin-api
235 override-checkout: stable/stein
236 vars:
237 branch_override: stable/stein
238 # TODO(slaweq): find a way to put this list of extensions in
239 # neutron repository and keep it different per branch,
240 # then it could be removed from here
241 network_api_extensions_common: &api_extensions_stein
242 - address-scope
243 - agent
244 - allowed-address-pairs
245 - auto-allocated-topology
246 - availability_zone
247 - binding
248 - default-subnetpools
249 - dhcp_agent_scheduler
250 - dns-domain-ports
251 - dns-integration
252 - empty-string-filtering
253 - ext-gw-mode
254 - external-net
255 - extra_dhcp_opt
256 - extraroute
257 - filter-validation
258 - fip-port-details
259 - flavors
260 - floatingip-pools
261 - ip-substring-filtering
262 - l3-flavors
263 - l3-ha
264 - l3_agent_scheduler
265 - logging
266 - metering
267 - multi-provider
268 - net-mtu
269 - net-mtu-writable
270 - network-ip-availability
271 - network_availability_zone
272 - network-segment-range
273 - pagination
274 - port-resource-request
275 - port-mac-address-regenerate
276 - port-security
277 - port-security-groups-filtering
278 - project-id
279 - provider
280 - qos
281 - qos-bw-minimum-ingress
282 - qos-fip
283 - quotas
284 - quota_details
285 - rbac-policies
286 - rbac-security-groups
287 - router
288 - router_availability_zone
289 - security-group
290 - segment
291 - service-type
292 - sorting
293 - standard-attr-description
294 - standard-attr-revisions
295 - standard-attr-segment
296 - standard-attr-tag
297 - standard-attr-timestamp
298 - subnet_allocation
299 - trunk
300 - trunk-details
301 - uplink-status-propagation
302 network_api_extensions_tempest:
303 - dvr
304 devstack_localrc:
305 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
306
307- job:
Hongbin Lub600bea2018-08-23 02:49:48 +0000308 name: neutron-tempest-plugin-api-rocky
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100309 nodeset: openstack-single-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000310 parent: neutron-tempest-plugin-api
311 override-checkout: stable/rocky
312 vars:
313 branch_override: stable/rocky
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000314 # TODO(slaweq): find a way to put this list of extensions in
315 # neutron repository and keep it different per branch,
316 # then it could be removed from here
317 network_api_extensions_common: &api_extensions_rocky
318 - address-scope
319 - agent
320 - allowed-address-pairs
321 - auto-allocated-topology
322 - availability_zone
323 - binding
324 - default-subnetpools
325 - dhcp_agent_scheduler
326 - dns-domain-ports
327 - dns-integration
328 - empty-string-filtering
329 - ext-gw-mode
330 - external-net
331 - extra_dhcp_opt
332 - extraroute
333 - fip-port-details
334 - flavors
335 - ip-substring-filtering
336 - l3-flavors
337 - l3-ha
338 - l3_agent_scheduler
339 - logging
340 - metering
341 - multi-provider
342 - net-mtu
343 - net-mtu-writable
344 - network-ip-availability
345 - network_availability_zone
346 - pagination
347 - port-mac-address-regenerate
348 - port-security
349 - port-security-groups-filtering
350 - project-id
351 - provider
352 - qos
353 - qos-fip
354 - quotas
355 - quota_details
356 - rbac-policies
357 - router
358 - router_availability_zone
359 - security-group
360 - segment
361 - service-type
362 - sorting
363 - standard-attr-description
364 - standard-attr-revisions
365 - standard-attr-segment
366 - standard-attr-timestamp
367 - standard-attr-tag
368 - subnet_allocation
369 - trunk
370 - trunk-details
371 network_api_extensions_tempest:
372 - dvr
Hongbin Lub600bea2018-08-23 02:49:48 +0000373 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100374 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000375 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200376 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Hongbin Lub600bea2018-08-23 02:49:48 +0000377
378- job:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200379 name: neutron-tempest-plugin-scenario
380 parent: neutron-tempest-plugin
381 abstract: true
382 description: |
Doug Hellmann12685c62018-08-29 17:37:50 -0400383 Perform setup common to all tempest scenario test jobs.
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200384 vars:
385 tempest_test_regex: ^neutron_tempest_plugin\.scenario
386 devstack_localrc:
Doug Hellmann12685c62018-08-29 17:37:50 -0400387 PHYSICAL_NETWORK: default
388 DOWNLOAD_DEFAULT_IMAGES: false
Slawek Kaplonskida17f002018-10-11 18:35:23 +0200389 IMAGE_URLS: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img,http://cloud-images.ubuntu.com/releases/16.04/release-20180622/ubuntu-16.04-server-cloudimg-amd64-disk1.img"
390 DEFAULT_IMAGE_NAME: cirros-0.3.4-i386-disk
391 ADVANCED_IMAGE_NAME: ubuntu-16.04-server-cloudimg-amd64-disk1
392 ADVANCED_INSTANCE_TYPE: ds512M
393 ADVANCED_INSTANCE_USER: ubuntu
Doug Hellmann12685c62018-08-29 17:37:50 -0400394 BUILD_TIMEOUT: 784
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200395 devstack_services:
396 cinder: true
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000397
398- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530399 name: neutron-tempest-plugin-scenario-linuxbridge
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100400 parent: neutron-tempest-plugin-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530401 timeout: 10000
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100402 vars:
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000403 network_api_extensions: *api_extensions_master
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100404 devstack_localrc:
Doug Hellmann12685c62018-08-29 17:37:50 -0400405 Q_AGENT: linuxbridge
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000406 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100407 devstack_local_conf:
408 post-config:
409 $NEUTRON_CONF:
410 DEFAULT:
411 enable_dvr: false
412 AGENT:
413 debug_iptables_rules: true
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200414 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
415 # devstack-tempest job will be switched to use lib/neutron instead of
416 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -0400417 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200418 ml2:
419 type_drivers: flat,vlan,local,vxlan
420 test-config:
421 $TEMPEST_CONFIG:
422 neutron_plugin_options:
423 available_type_drivers: flat,vlan,local,vxlan
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800424 q_agent: linuxbridge
Chandan Kumara564cf32017-11-16 16:09:38 +0530425
426- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000427 name: neutron-tempest-plugin-scenario-linuxbridge-queens
428 parent: neutron-tempest-plugin-scenario-linuxbridge
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100429 nodeset: openstack-single-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000430 override-checkout: stable/queens
431 vars:
432 branch_override: stable/queens
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000433 network_api_extensions: *api_extensions_queens
Hongbin Lu965b03d2018-04-25 22:32:30 +0000434 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100435 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000436 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200437 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800438 devstack_local_conf:
439 test-config:
440 # NOTE: ignores linux bridge's trunk delete on bound port test
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000441 # for queens branch (as https://review.opendev.org/#/c/605589/
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800442 # fix will not apply for queens branch)
443 $TEMPEST_CONFIG:
444 neutron_plugin_options:
445 q_agent: None
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000446
447- job:
Hongbin Lub600bea2018-08-23 02:49:48 +0000448 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
449 parent: neutron-tempest-plugin-scenario-linuxbridge
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100450 nodeset: openstack-single-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000451 override-checkout: stable/rocky
452 vars:
453 branch_override: stable/rocky
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000454 network_api_extensions: *api_extensions_rocky
Hongbin Lub600bea2018-08-23 02:49:48 +0000455 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100456 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000457 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200458 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800459 devstack_local_conf:
460 test-config:
461 # NOTE: ignores linux bridge's trunk delete on bound port test
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000462 # for rocky branch (as https://review.opendev.org/#/c/605589/
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800463 # fix will not apply for rocky branch)
464 $TEMPEST_CONFIG:
465 neutron_plugin_options:
466 q_agent: None
Hongbin Lub600bea2018-08-23 02:49:48 +0000467
468- job:
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200469 name: neutron-tempest-plugin-scenario-linuxbridge-stein
470 parent: neutron-tempest-plugin-scenario-linuxbridge
471 override-checkout: stable/stein
472 vars:
473 branch_override: stable/stein
474 network_api_extensions: *api_extensions_stein
475 devstack_localrc:
476 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
477
478- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530479 name: neutron-tempest-plugin-dvr-multinode-scenario
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200480 parent: tempest-multinode-full
481 description: |
482 Perform setup for Neutron tempest tests in multinode with DVR scenario
483 roles:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000484 - zuul: openstack/devstack
Chandan Kumara564cf32017-11-16 16:09:38 +0530485 required-projects:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000486 - openstack/devstack-gate
Chandan Kumara564cf32017-11-16 16:09:38 +0530487 - openstack/neutron
488 - openstack/neutron-tempest-plugin
489 - openstack/tempest
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200490 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
Chandan Kumara564cf32017-11-16 16:09:38 +0530491 voting: false
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200492 vars:
493 tempest_concurrency: 4
494 tox_envlist: all
495 tempest_test_regex: ^neutron_tempest_plugin\.scenario
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000496 network_api_extensions_common: *api_extensions_master
497 network_api_extensions_dvr:
498 - dvr
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200499 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100500 USE_PYTHON3: true
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000501 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200502 PHYSICAL_NETWORK: default
503 DOWNLOAD_DEFAULT_IMAGES: false
Slawek Kaplonskida17f002018-10-11 18:35:23 +0200504 IMAGE_URLS: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img,http://cloud-images.ubuntu.com/releases/16.04/release-20180622/ubuntu-16.04-server-cloudimg-amd64-disk1.img"
505 DEFAULT_IMAGE_NAME: cirros-0.3.4-i386-disk
506 ADVANCED_IMAGE_NAME: ubuntu-16.04-server-cloudimg-amd64-disk1
507 ADVANCED_INSTANCE_TYPE: ds512M
508 ADVANCED_INSTANCE_USER: ubuntu
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200509 BUILD_TIMEOUT: 784
510 devstack_plugins:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000511 neutron: https://opendev.org/openstack/neutron.git
512 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200513 tempest_plugins:
514 - neutron-tempest-plugin
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200515 devstack_services:
516 tls-proxy: false
517 tempest: true
518 neutron-dns: true
519 neutron-qos: true
520 neutron-segments: true
521 neutron-trunk: true
522 neutron-log: true
523 cinder: true
524 devstack_local_conf:
525 post-config:
526 $NEUTRON_CONF:
527 quotas:
528 quota_router: 100
529 quota_floatingip: 500
530 quota_security_group: 100
531 quota_security_group_rule: 1000
532 DEFAULT:
533 router_distributed: True
534 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
535 # devstack-tempest job will be switched to use lib/neutron instead of
536 # lib/neutron-legacy
537 "/$NEUTRON_CORE_PLUGIN_CONF":
538 ml2:
539 type_drivers: flat,geneve,vlan,gre,local,vxlan
540 mechanism_drivers: openvswitch,l2population
541 ml2_type_vlan:
542 network_vlan_ranges: foo:1:10
543 ml2_type_vxlan:
544 vni_ranges: 1:2000
545 ml2_type_gre:
546 tunnel_id_ranges: 1:1000
547 agent:
548 enable_distributed_routing: True
549 l2_population: True
550 tunnel_types: vxlan,gre
551 ovs:
552 tunnel_bridge: br-tun
553 bridge_mappings: public:br-ex
554 $NEUTRON_L3_CONF:
555 DEFAULT:
556 agent_mode: dvr_snat
557 agent:
558 availability_zone: nova
559 $NEUTRON_DHCP_CONF:
560 agent:
561 availability_zone: nova
562 "/etc/neutron/api-paste.ini":
563 "composite:neutronapi_v2_0":
564 use: "call:neutron.auth:pipeline_factory"
565 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
566 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
567 test-config:
568 $TEMPEST_CONFIG:
569 neutron_plugin_options:
570 provider_vlans: foo,
571 agent_availability_zone: nova
572 image_is_advanced: true
573 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
574 l3_agent_mode: dvr_snat
575 group-vars:
576 subnode:
577 devstack_services:
578 tls-proxy: false
579 q-agt: true
580 q-l3: true
581 q-meta: true
582 neutron-qos: true
583 neutron-trunk: true
584 neutron-log: true
585 devstack_local_conf:
586 post-config:
587 $NEUTRON_CONF:
588 DEFAULT:
589 router_distributed: True
590 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
591 # devstack-tempest job will be switched to use lib/neutron instead of
592 # lib/neutron-legacy
593 "/$NEUTRON_CORE_PLUGIN_CONF":
594 agent:
595 enable_distributed_routing: True
596 l2_population: True
597 tunnel_types: vxlan,gre
598 ovs:
599 tunnel_bridge: br-tun
600 bridge_mappings: public:br-ex
601 $NEUTRON_L3_CONF:
602 DEFAULT:
603 agent_mode: dvr_snat
604 agent:
605 availability_zone: nova
606 irrelevant-files: *tempest-irrelevant-files
Chandan Kumara564cf32017-11-16 16:09:38 +0530607
Jens Harbott860b46a2017-11-15 21:23:15 +0000608- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000609 name: neutron-tempest-plugin-dvr-multinode-scenario-queens
610 parent: neutron-tempest-plugin-dvr-multinode-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100611 nodeset: openstack-two-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000612 override-checkout: stable/queens
613 vars:
614 branch_override: stable/queens
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100615 devstack_localrc:
616 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200617 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000618
619- job:
Hongbin Lub600bea2018-08-23 02:49:48 +0000620 name: neutron-tempest-plugin-dvr-multinode-scenario-rocky
621 parent: neutron-tempest-plugin-dvr-multinode-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100622 nodeset: openstack-two-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000623 override-checkout: stable/rocky
624 vars:
625 branch_override: stable/rocky
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100626 devstack_localrc:
627 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200628 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Hongbin Lub600bea2018-08-23 02:49:48 +0000629
630- job:
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200631 name: neutron-tempest-plugin-dvr-multinode-scenario-stein
632 parent: neutron-tempest-plugin-dvr-multinode-scenario
633 override-checkout: stable/stein
634 vars:
635 branch_override: stable/stein
636
637- job:
Jens Harbott860b46a2017-11-15 21:23:15 +0000638 name: neutron-tempest-plugin-designate-scenario
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100639 parent: neutron-tempest-plugin-scenario
Jens Harbott860b46a2017-11-15 21:23:15 +0000640 description: Neutron designate integration scenario
641 required-projects:
642 - openstack/designate
643 - openstack/designate-dashboard
644 - openstack/designate-tempest-plugin
Jens Harbott860b46a2017-11-15 21:23:15 +0000645 timeout: 3600
Jens Harbott860b46a2017-11-15 21:23:15 +0000646 vars:
647 devstack_localrc:
648 DESIGNATE_BACKEND_DRIVER: bind9
Slawek Kaplonskida17f002018-10-11 18:35:23 +0200649 DOWNLOAD_DEFAULT_IMAGES: false
650 IMAGE_URLS: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img,
651 # In this job advanced image is not needed, so it's name should be
652 # empty
653 ADVANCED_IMAGE_NAME: ""
Jens Harbott860b46a2017-11-15 21:23:15 +0000654 devstack_plugins:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000655 designate: https://opendev.org/openstack/designate.git
Jens Harbott860b46a2017-11-15 21:23:15 +0000656 devstack_services:
James E. Blair24195802018-01-24 16:46:38 -0800657 cinder: false
658 designate: true
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200659 tempest_plugins:
660 - designate-tempest-plugin
661 - neutron-tempest-plugin
James E. Blair24195802018-01-24 16:46:38 -0800662 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Hongbin Lue2089622018-08-14 15:32:46 +0000663 irrelevant-files: *tempest-irrelevant-files
Jens Harbott860b46a2017-11-15 21:23:15 +0000664
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000665- job:
666 name: neutron-tempest-plugin-designate-scenario-queens
667 parent: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100668 nodeset: openstack-single-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000669 override-checkout: stable/queens
670 vars:
671 branch_override: stable/queens
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100672 devstack_localrc:
673 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200674 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000675
Hongbin Lub600bea2018-08-23 02:49:48 +0000676- job:
677 name: neutron-tempest-plugin-designate-scenario-rocky
678 parent: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100679 nodeset: openstack-single-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000680 override-checkout: stable/rocky
681 vars:
682 branch_override: stable/rocky
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100683 devstack_localrc:
684 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200685 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
Hongbin Lub600bea2018-08-23 02:49:48 +0000686
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200687- job:
688 name: neutron-tempest-plugin-designate-scenario-stein
689 parent: neutron-tempest-plugin-designate-scenario
690 override-checkout: stable/stein
691 vars:
692 branch_override: stable/stein
693
Bernard Cafarelli1a987ec2019-04-16 16:42:10 +0200694- job:
695 name: neutron-tempest-plugin-sfc
696 parent: neutron-tempest-plugin
697 timeout: 10800
698 required-projects:
699 - openstack/devstack-gate
700 - openstack/networking-sfc
701 - openstack/neutron
702 - openstack/neutron-tempest-plugin
703 - openstack/tempest
704 vars:
705 tempest_test_regex: ^neutron_tempest_plugin\.sfc
706 tox_envlist: all-plugin
707 devstack_plugins:
708 networking-sfc: https://opendev.org/openstack/networking-sfc
709 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
710 network_api_extensions_sfc:
711 - flow_classifier
712 - sfc
713 devstack_localrc:
714 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
715 files:
716 - ^neutron_tempest_plugin/sfc/.*$
717
Chandan Kumara564cf32017-11-16 16:09:38 +0530718- project-template:
719 name: neutron-tempest-plugin-jobs
720 check:
721 jobs:
722 - neutron-tempest-plugin-api
Jens Harbott860b46a2017-11-15 21:23:15 +0000723 - neutron-tempest-plugin-designate-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530724 - neutron-tempest-plugin-dvr-multinode-scenario
725 - neutron-tempest-plugin-scenario-linuxbridge
726 gate:
727 jobs:
728 - neutron-tempest-plugin-api
Sławek Kapłońskifbc4d612018-05-08 23:22:41 +0200729 - neutron-tempest-plugin-scenario-linuxbridge
Chandan Kumara564cf32017-11-16 16:09:38 +0530730
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000731- project-template:
Slawek Kaplonski0ec5acf2018-06-15 22:26:24 +0200732 name: neutron-tempest-plugin-jobs-queens
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000733 check:
734 jobs:
735 - neutron-tempest-plugin-api-queens
736 - neutron-tempest-plugin-designate-scenario-queens
737 - neutron-tempest-plugin-dvr-multinode-scenario-queens
738 - neutron-tempest-plugin-scenario-linuxbridge-queens
739 gate:
740 jobs:
741 - neutron-tempest-plugin-api-queens
742
Hongbin Lub600bea2018-08-23 02:49:48 +0000743- project-template:
744 name: neutron-tempest-plugin-jobs-rocky
745 check:
746 jobs:
747 - neutron-tempest-plugin-api-rocky
748 - neutron-tempest-plugin-designate-scenario-rocky
749 - neutron-tempest-plugin-dvr-multinode-scenario-rocky
750 - neutron-tempest-plugin-scenario-linuxbridge-rocky
751 gate:
752 jobs:
753 - neutron-tempest-plugin-api-rocky
754
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200755- project-template:
756 name: neutron-tempest-plugin-jobs-stein
757 check:
758 jobs:
759 - neutron-tempest-plugin-api-stein
760 - neutron-tempest-plugin-designate-scenario-stein
761 - neutron-tempest-plugin-dvr-multinode-scenario-stein
762 - neutron-tempest-plugin-scenario-linuxbridge-stein
763 gate:
764 jobs:
765 - neutron-tempest-plugin-api-stein
766
Chandan Kumara564cf32017-11-16 16:09:38 +0530767- project:
Chandan Kumara564cf32017-11-16 16:09:38 +0530768 templates:
Andreas Jaeger46a0ae22019-05-19 09:34:23 +0200769 - build-openstack-docs-pti
Chandan Kumara564cf32017-11-16 16:09:38 +0530770 - neutron-tempest-plugin-jobs
Slawek Kaplonski0ec5acf2018-06-15 22:26:24 +0200771 - neutron-tempest-plugin-jobs-queens
Hongbin Lub600bea2018-08-23 02:49:48 +0000772 - neutron-tempest-plugin-jobs-rocky
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200773 - neutron-tempest-plugin-jobs-stein
Doug Hellmann12685c62018-08-29 17:37:50 -0400774 - check-requirements
775 - tempest-plugin-jobs
Brian Haley2cbb10e2018-09-13 09:20:03 -0600776 - release-notes-jobs-python3
Bernard Cafarelli1a987ec2019-04-16 16:42:10 +0200777 check:
778 jobs:
779 - neutron-tempest-plugin-sfc