blob: fbfcad65b45c3b98a210e358febfe2c817bc6a76 [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
77 - trunk
78 - trunk-details
79 - uplink-status-propagation
80 network_api_extensions_tempest:
81 - dvr
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010082 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +010083 USE_PYTHON3: true
Hongbin Lub8fbe0c2018-11-22 21:31:59 +000084 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010085 devstack_plugins:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +000086 neutron: https://opendev.org/openstack/neutron.git
87 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
Slawek Kaplonski52b1b952019-04-01 08:42:04 +020088 tempest_plugins:
89 - neutron-tempest-plugin
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010090 devstack_services:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +020091 tls-proxy: false
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +010092 tempest: true
93 neutron-dns: true
94 neutron-qos: true
95 neutron-segments: true
96 neutron-trunk: true
Hongbin Lu5da73332018-07-27 22:34:59 +000097 neutron-uplink-status-propagation: true
Kailun Qineaaf9782018-12-20 04:45:01 +080098 neutron-network-segment-range: true
Slawek Kaplonski003fcae2019-05-26 22:38:35 +020099 neutron-port-forwarding: true
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100100 devstack_local_conf:
101 post-config:
102 $NEUTRON_CONF:
103 QUOTAS:
104 quota_router: 100
105 quota_floatingip: 500
106 quota_security_group: 100
107 quota_security_group_rule: 1000
108 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
109 # devstack-tempest job will be switched to use lib/neutron instead of
110 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -0400111 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100112 ml2:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200113 type_drivers: flat,geneve,vlan,gre,local,vxlan
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100114 ml2_type_vlan:
115 network_vlan_ranges: foo:1:10
116 ml2_type_vxlan:
117 vni_ranges: 1:2000
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200118 ml2_type_gre:
119 tunnel_id_ranges: 1:1000
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100120 $NEUTRON_L3_CONF:
121 agent:
122 availability_zone: nova
123 $NEUTRON_DHCP_CONF:
124 agent:
125 availability_zone: nova
Doug Hellmann12685c62018-08-29 17:37:50 -0400126 /etc/neutron/api-paste.ini:
127 composite:neutronapi_v2_0:
128 use: call:neutron.auth:pipeline_factory
129 noauth: cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0
130 keystone: cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100131 test-config:
132 $TEMPEST_CONFIG:
133 neutron_plugin_options:
134 provider_vlans: foo,
135 agent_availability_zone: nova
136 image_is_advanced: true
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200137 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
Lajos Katona2f904652018-08-23 14:04:56 +0200138 provider_net_base_segm_id: 1
Hongbin Lue2089622018-08-14 15:32:46 +0000139 irrelevant-files: &tempest-irrelevant-files
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100140 - ^(test-|)requirements.txt$
141 - ^releasenotes/.*$
142 - ^doc/.*$
143 - ^setup.cfg$
144 - ^.*\.rst$
145 - ^neutron/locale/.*$
146 - ^neutron/tests/unit/.*$
147 - ^tools/.*$
148 - ^tox.ini$
149
150- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530151 name: neutron-tempest-plugin-api
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200152 parent: neutron-tempest-plugin
153 vars:
154 tempest_test_regex: ^neutron_tempest_plugin\.api
155 devstack_services:
156 neutron-log: true
157 devstack_local_conf:
158 post-config:
159 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
160 # devstack-tempest job will be switched to use lib/neutron instead of
161 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -0400162 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200163 AGENT:
164 tunnel_types: gre,vxlan
165 network_log:
166 local_output_log_base: /tmp/test_log.log
Chandan Kumara564cf32017-11-16 16:09:38 +0530167
168- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000169 name: neutron-tempest-plugin-api-queens
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100170 nodeset: openstack-single-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000171 parent: neutron-tempest-plugin-api
172 override-checkout: stable/queens
173 vars:
174 branch_override: stable/queens
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000175 # TODO(slaweq): find a way to put this list of extensions in
176 # neutron repository and keep it different per branch,
177 # then it could be removed from here
178 network_api_extensions_common: &api_extensions_queens
179 - address-scope
180 - agent
181 - allowed-address-pairs
182 - auto-allocated-topology
183 - availability_zone
184 - binding
185 - default-subnetpools
186 - dhcp_agent_scheduler
187 - dns-domain-ports
188 - dns-integration
189 - ext-gw-mode
190 - external-net
191 - extra_dhcp_opt
192 - extraroute
193 - flavors
194 - ip-substring-filtering
195 - l3-flavors
196 - l3-ha
197 - l3_agent_scheduler
198 - logging
199 - metering
200 - multi-provider
201 - net-mtu
202 - net-mtu-writable
203 - network-ip-availability
204 - network_availability_zone
205 - pagination
206 - port-security
207 - project-id
208 - provider
209 - qos
210 - qos-fip
211 - quotas
212 - quota_details
213 - rbac-policies
214 - router
215 - router_availability_zone
216 - security-group
217 - segment
218 - service-type
219 - sorting
220 - standard-attr-description
221 - standard-attr-revisions
222 - standard-attr-timestamp
223 - standard-attr-tag
224 - subnet_allocation
225 - trunk
226 - trunk-details
227 network_api_extensions_tempest:
228 - dvr
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200229 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100230 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000231 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200232 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200233
234- job:
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200235 name: neutron-tempest-plugin-api-stein
236 parent: neutron-tempest-plugin-api
237 override-checkout: stable/stein
238 vars:
239 branch_override: stable/stein
240 # TODO(slaweq): find a way to put this list of extensions in
241 # neutron repository and keep it different per branch,
242 # then it could be removed from here
243 network_api_extensions_common: &api_extensions_stein
244 - address-scope
245 - agent
246 - allowed-address-pairs
247 - auto-allocated-topology
248 - availability_zone
249 - binding
250 - default-subnetpools
251 - dhcp_agent_scheduler
252 - dns-domain-ports
253 - dns-integration
254 - empty-string-filtering
Slawek Kaplonski003fcae2019-05-26 22:38:35 +0200255 - expose-port-forwarding-in-fip
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200256 - ext-gw-mode
257 - external-net
258 - extra_dhcp_opt
259 - extraroute
260 - filter-validation
261 - fip-port-details
262 - flavors
263 - floatingip-pools
Slawek Kaplonski003fcae2019-05-26 22:38:35 +0200264 - floating-ip-port-forwarding
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200265 - ip-substring-filtering
266 - l3-flavors
267 - l3-ha
268 - l3_agent_scheduler
269 - logging
270 - metering
271 - multi-provider
272 - net-mtu
273 - net-mtu-writable
274 - network-ip-availability
275 - network_availability_zone
276 - network-segment-range
277 - pagination
278 - port-resource-request
279 - port-mac-address-regenerate
280 - port-security
281 - port-security-groups-filtering
282 - project-id
283 - provider
284 - qos
285 - qos-bw-minimum-ingress
286 - qos-fip
287 - quotas
288 - quota_details
289 - rbac-policies
290 - rbac-security-groups
291 - router
292 - router_availability_zone
293 - security-group
294 - segment
295 - service-type
296 - sorting
297 - standard-attr-description
298 - standard-attr-revisions
299 - standard-attr-segment
300 - standard-attr-tag
301 - standard-attr-timestamp
302 - subnet_allocation
303 - trunk
304 - trunk-details
305 - uplink-status-propagation
306 network_api_extensions_tempest:
307 - dvr
308 devstack_localrc:
309 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
310
311- job:
Hongbin Lub600bea2018-08-23 02:49:48 +0000312 name: neutron-tempest-plugin-api-rocky
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100313 nodeset: openstack-single-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000314 parent: neutron-tempest-plugin-api
315 override-checkout: stable/rocky
316 vars:
317 branch_override: stable/rocky
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000318 # TODO(slaweq): find a way to put this list of extensions in
319 # neutron repository and keep it different per branch,
320 # then it could be removed from here
321 network_api_extensions_common: &api_extensions_rocky
322 - address-scope
323 - agent
324 - allowed-address-pairs
325 - auto-allocated-topology
326 - availability_zone
327 - binding
328 - default-subnetpools
329 - dhcp_agent_scheduler
330 - dns-domain-ports
331 - dns-integration
332 - empty-string-filtering
Slawek Kaplonski003fcae2019-05-26 22:38:35 +0200333 - expose-port-forwarding-in-fip
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000334 - ext-gw-mode
335 - external-net
336 - extra_dhcp_opt
337 - extraroute
338 - fip-port-details
339 - flavors
Slawek Kaplonski003fcae2019-05-26 22:38:35 +0200340 - floating-ip-port-forwarding
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000341 - ip-substring-filtering
342 - l3-flavors
343 - l3-ha
344 - l3_agent_scheduler
345 - logging
346 - metering
347 - multi-provider
348 - net-mtu
349 - net-mtu-writable
350 - network-ip-availability
351 - network_availability_zone
352 - pagination
353 - port-mac-address-regenerate
354 - port-security
355 - port-security-groups-filtering
356 - project-id
357 - provider
358 - qos
359 - qos-fip
360 - quotas
361 - quota_details
362 - rbac-policies
363 - router
364 - router_availability_zone
365 - security-group
366 - segment
367 - service-type
368 - sorting
369 - standard-attr-description
370 - standard-attr-revisions
371 - standard-attr-segment
372 - standard-attr-timestamp
373 - standard-attr-tag
374 - subnet_allocation
375 - trunk
376 - trunk-details
377 network_api_extensions_tempest:
378 - dvr
Hongbin Lub600bea2018-08-23 02:49:48 +0000379 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100380 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000381 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200382 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Hongbin Lub600bea2018-08-23 02:49:48 +0000383
384- job:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200385 name: neutron-tempest-plugin-scenario
386 parent: neutron-tempest-plugin
387 abstract: true
388 description: |
Doug Hellmann12685c62018-08-29 17:37:50 -0400389 Perform setup common to all tempest scenario test jobs.
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200390 vars:
391 tempest_test_regex: ^neutron_tempest_plugin\.scenario
392 devstack_localrc:
Doug Hellmann12685c62018-08-29 17:37:50 -0400393 PHYSICAL_NETWORK: default
394 DOWNLOAD_DEFAULT_IMAGES: false
LIU Yulong1c95d622019-06-16 10:36:56 +0800395 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 +0200396 DEFAULT_IMAGE_NAME: cirros-0.3.4-i386-disk
397 ADVANCED_IMAGE_NAME: ubuntu-16.04-server-cloudimg-amd64-disk1
398 ADVANCED_INSTANCE_TYPE: ds512M
399 ADVANCED_INSTANCE_USER: ubuntu
Doug Hellmann12685c62018-08-29 17:37:50 -0400400 BUILD_TIMEOUT: 784
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200401 devstack_services:
402 cinder: true
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000403
404- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530405 name: neutron-tempest-plugin-scenario-linuxbridge
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100406 parent: neutron-tempest-plugin-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530407 timeout: 10000
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100408 vars:
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000409 network_api_extensions: *api_extensions_master
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100410 devstack_localrc:
Doug Hellmann12685c62018-08-29 17:37:50 -0400411 Q_AGENT: linuxbridge
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000412 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100413 devstack_local_conf:
414 post-config:
415 $NEUTRON_CONF:
416 DEFAULT:
417 enable_dvr: false
418 AGENT:
419 debug_iptables_rules: true
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200420 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
421 # devstack-tempest job will be switched to use lib/neutron instead of
422 # lib/neutron-legacy
Doug Hellmann12685c62018-08-29 17:37:50 -0400423 /$NEUTRON_CORE_PLUGIN_CONF:
Sławek Kapłońskidf70bc82018-05-15 17:39:08 +0200424 ml2:
425 type_drivers: flat,vlan,local,vxlan
426 test-config:
427 $TEMPEST_CONFIG:
428 neutron_plugin_options:
429 available_type_drivers: flat,vlan,local,vxlan
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800430 q_agent: linuxbridge
Chandan Kumara564cf32017-11-16 16:09:38 +0530431
432- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000433 name: neutron-tempest-plugin-scenario-linuxbridge-queens
434 parent: neutron-tempest-plugin-scenario-linuxbridge
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100435 nodeset: openstack-single-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000436 override-checkout: stable/queens
437 vars:
438 branch_override: stable/queens
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000439 network_api_extensions: *api_extensions_queens
Hongbin Lu965b03d2018-04-25 22:32:30 +0000440 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100441 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000442 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200443 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800444 devstack_local_conf:
445 test-config:
446 # NOTE: ignores linux bridge's trunk delete on bound port test
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000447 # for queens branch (as https://review.opendev.org/#/c/605589/
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800448 # fix will not apply for queens branch)
449 $TEMPEST_CONFIG:
450 neutron_plugin_options:
451 q_agent: None
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000452
453- job:
Hongbin Lub600bea2018-08-23 02:49:48 +0000454 name: neutron-tempest-plugin-scenario-linuxbridge-rocky
455 parent: neutron-tempest-plugin-scenario-linuxbridge
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100456 nodeset: openstack-single-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000457 override-checkout: stable/rocky
458 vars:
459 branch_override: stable/rocky
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000460 network_api_extensions: *api_extensions_rocky
Hongbin Lub600bea2018-08-23 02:49:48 +0000461 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100462 USE_PYTHON3: false
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000463 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200464 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800465 devstack_local_conf:
466 test-config:
467 # NOTE: ignores linux bridge's trunk delete on bound port test
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000468 # for rocky branch (as https://review.opendev.org/#/c/605589/
Huifeng Le1c9f40b2018-11-07 01:14:21 +0800469 # fix will not apply for rocky branch)
470 $TEMPEST_CONFIG:
471 neutron_plugin_options:
472 q_agent: None
Hongbin Lub600bea2018-08-23 02:49:48 +0000473
474- job:
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200475 name: neutron-tempest-plugin-scenario-linuxbridge-stein
476 parent: neutron-tempest-plugin-scenario-linuxbridge
477 override-checkout: stable/stein
478 vars:
479 branch_override: stable/stein
480 network_api_extensions: *api_extensions_stein
481 devstack_localrc:
482 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
483
484- job:
Chandan Kumara564cf32017-11-16 16:09:38 +0530485 name: neutron-tempest-plugin-dvr-multinode-scenario
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200486 parent: tempest-multinode-full
487 description: |
488 Perform setup for Neutron tempest tests in multinode with DVR scenario
489 roles:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000490 - zuul: openstack/devstack
Chandan Kumara564cf32017-11-16 16:09:38 +0530491 required-projects:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000492 - openstack/devstack-gate
Chandan Kumara564cf32017-11-16 16:09:38 +0530493 - openstack/neutron
494 - openstack/neutron-tempest-plugin
495 - openstack/tempest
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200496 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
Chandan Kumara564cf32017-11-16 16:09:38 +0530497 voting: false
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200498 vars:
499 tempest_concurrency: 4
500 tox_envlist: all
501 tempest_test_regex: ^neutron_tempest_plugin\.scenario
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000502 network_api_extensions_common: *api_extensions_master
503 network_api_extensions_dvr:
504 - dvr
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200505 devstack_localrc:
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100506 USE_PYTHON3: true
Hongbin Lub8fbe0c2018-11-22 21:31:59 +0000507 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200508 PHYSICAL_NETWORK: default
509 DOWNLOAD_DEFAULT_IMAGES: false
LIU Yulong1c95d622019-06-16 10:36:56 +0800510 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 +0200511 DEFAULT_IMAGE_NAME: cirros-0.3.4-i386-disk
512 ADVANCED_IMAGE_NAME: ubuntu-16.04-server-cloudimg-amd64-disk1
513 ADVANCED_INSTANCE_TYPE: ds512M
514 ADVANCED_INSTANCE_USER: ubuntu
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200515 BUILD_TIMEOUT: 784
516 devstack_plugins:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000517 neutron: https://opendev.org/openstack/neutron.git
518 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200519 tempest_plugins:
520 - neutron-tempest-plugin
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200521 devstack_services:
522 tls-proxy: false
523 tempest: true
524 neutron-dns: true
525 neutron-qos: true
526 neutron-segments: true
527 neutron-trunk: true
528 neutron-log: true
Slawek Kaplonski13903aa2019-06-02 14:31:47 +0200529 neutron-port-forwarding: true
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200530 cinder: true
531 devstack_local_conf:
532 post-config:
533 $NEUTRON_CONF:
534 quotas:
535 quota_router: 100
536 quota_floatingip: 500
537 quota_security_group: 100
538 quota_security_group_rule: 1000
539 DEFAULT:
540 router_distributed: True
541 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
542 # devstack-tempest job will be switched to use lib/neutron instead of
543 # lib/neutron-legacy
544 "/$NEUTRON_CORE_PLUGIN_CONF":
545 ml2:
546 type_drivers: flat,geneve,vlan,gre,local,vxlan
547 mechanism_drivers: openvswitch,l2population
548 ml2_type_vlan:
549 network_vlan_ranges: foo:1:10
550 ml2_type_vxlan:
551 vni_ranges: 1:2000
552 ml2_type_gre:
553 tunnel_id_ranges: 1:1000
554 agent:
555 enable_distributed_routing: True
556 l2_population: True
557 tunnel_types: vxlan,gre
558 ovs:
559 tunnel_bridge: br-tun
560 bridge_mappings: public:br-ex
561 $NEUTRON_L3_CONF:
562 DEFAULT:
563 agent_mode: dvr_snat
564 agent:
565 availability_zone: nova
566 $NEUTRON_DHCP_CONF:
567 agent:
568 availability_zone: nova
569 "/etc/neutron/api-paste.ini":
570 "composite:neutronapi_v2_0":
571 use: "call:neutron.auth:pipeline_factory"
572 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
573 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
574 test-config:
575 $TEMPEST_CONFIG:
576 neutron_plugin_options:
577 provider_vlans: foo,
578 agent_availability_zone: nova
579 image_is_advanced: true
580 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
581 l3_agent_mode: dvr_snat
582 group-vars:
583 subnode:
584 devstack_services:
585 tls-proxy: false
586 q-agt: true
587 q-l3: true
588 q-meta: true
589 neutron-qos: true
590 neutron-trunk: true
591 neutron-log: true
Slawek Kaplonski13903aa2019-06-02 14:31:47 +0200592 neutron-port-forwarding: true
Slawek Kaplonskif31e3ee2018-06-15 19:48:07 +0200593 devstack_local_conf:
594 post-config:
595 $NEUTRON_CONF:
596 DEFAULT:
597 router_distributed: True
598 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
599 # devstack-tempest job will be switched to use lib/neutron instead of
600 # lib/neutron-legacy
601 "/$NEUTRON_CORE_PLUGIN_CONF":
602 agent:
603 enable_distributed_routing: True
604 l2_population: True
605 tunnel_types: vxlan,gre
606 ovs:
607 tunnel_bridge: br-tun
608 bridge_mappings: public:br-ex
609 $NEUTRON_L3_CONF:
610 DEFAULT:
611 agent_mode: dvr_snat
612 agent:
613 availability_zone: nova
614 irrelevant-files: *tempest-irrelevant-files
Chandan Kumara564cf32017-11-16 16:09:38 +0530615
Jens Harbott860b46a2017-11-15 21:23:15 +0000616- job:
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000617 name: neutron-tempest-plugin-dvr-multinode-scenario-queens
618 parent: neutron-tempest-plugin-dvr-multinode-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100619 nodeset: openstack-two-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000620 override-checkout: stable/queens
621 vars:
622 branch_override: stable/queens
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100623 devstack_localrc:
624 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200625 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000626
627- job:
Hongbin Lub600bea2018-08-23 02:49:48 +0000628 name: neutron-tempest-plugin-dvr-multinode-scenario-rocky
629 parent: neutron-tempest-plugin-dvr-multinode-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100630 nodeset: openstack-two-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000631 override-checkout: stable/rocky
632 vars:
633 branch_override: stable/rocky
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100634 devstack_localrc:
635 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200636 TEMPEST_PLUGINS: /opt/stack/neutron-tempest-plugin
Hongbin Lub600bea2018-08-23 02:49:48 +0000637
638- job:
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200639 name: neutron-tempest-plugin-dvr-multinode-scenario-stein
640 parent: neutron-tempest-plugin-dvr-multinode-scenario
641 override-checkout: stable/stein
642 vars:
643 branch_override: stable/stein
644
645- job:
Jens Harbott860b46a2017-11-15 21:23:15 +0000646 name: neutron-tempest-plugin-designate-scenario
Sławek Kapłoński36cc7ec2018-03-14 10:17:48 +0100647 parent: neutron-tempest-plugin-scenario
Jens Harbott860b46a2017-11-15 21:23:15 +0000648 description: Neutron designate integration scenario
649 required-projects:
650 - openstack/designate
651 - openstack/designate-dashboard
652 - openstack/designate-tempest-plugin
Jens Harbott860b46a2017-11-15 21:23:15 +0000653 timeout: 3600
Jens Harbott860b46a2017-11-15 21:23:15 +0000654 vars:
655 devstack_localrc:
656 DESIGNATE_BACKEND_DRIVER: bind9
Slawek Kaplonskida17f002018-10-11 18:35:23 +0200657 DOWNLOAD_DEFAULT_IMAGES: false
658 IMAGE_URLS: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img,
659 # In this job advanced image is not needed, so it's name should be
660 # empty
661 ADVANCED_IMAGE_NAME: ""
Jens Harbott860b46a2017-11-15 21:23:15 +0000662 devstack_plugins:
OpenDev Sysadminseae7a372019-04-19 19:43:58 +0000663 designate: https://opendev.org/openstack/designate.git
Jens Harbott860b46a2017-11-15 21:23:15 +0000664 devstack_services:
James E. Blair24195802018-01-24 16:46:38 -0800665 cinder: false
666 designate: true
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200667 tempest_plugins:
668 - designate-tempest-plugin
669 - neutron-tempest-plugin
James E. Blair24195802018-01-24 16:46:38 -0800670 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Hongbin Lue2089622018-08-14 15:32:46 +0000671 irrelevant-files: *tempest-irrelevant-files
Jens Harbott860b46a2017-11-15 21:23:15 +0000672
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000673- job:
674 name: neutron-tempest-plugin-designate-scenario-queens
675 parent: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100676 nodeset: openstack-single-node-xenial
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000677 override-checkout: stable/queens
678 vars:
679 branch_override: stable/queens
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100680 devstack_localrc:
681 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200682 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000683
Hongbin Lub600bea2018-08-23 02:49:48 +0000684- job:
685 name: neutron-tempest-plugin-designate-scenario-rocky
686 parent: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski5d0cea22018-10-30 14:48:03 +0100687 nodeset: openstack-single-node-xenial
Hongbin Lub600bea2018-08-23 02:49:48 +0000688 override-checkout: stable/rocky
689 vars:
690 branch_override: stable/rocky
Slawek Kaplonski1582f712018-12-02 12:07:57 +0100691 devstack_localrc:
692 USE_PYTHON3: false
Slawek Kaplonski52b1b952019-04-01 08:42:04 +0200693 TEMPEST_PLUGINS: '"/opt/stack/designate-tempest-plugin /opt/stack/neutron-tempest-plugin"'
Hongbin Lub600bea2018-08-23 02:49:48 +0000694
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200695- job:
696 name: neutron-tempest-plugin-designate-scenario-stein
697 parent: neutron-tempest-plugin-designate-scenario
698 override-checkout: stable/stein
699 vars:
700 branch_override: stable/stein
701
Bernard Cafarelli1a987ec2019-04-16 16:42:10 +0200702- job:
703 name: neutron-tempest-plugin-sfc
704 parent: neutron-tempest-plugin
705 timeout: 10800
706 required-projects:
707 - openstack/devstack-gate
708 - openstack/networking-sfc
709 - openstack/neutron
710 - openstack/neutron-tempest-plugin
711 - openstack/tempest
712 vars:
713 tempest_test_regex: ^neutron_tempest_plugin\.sfc
714 tox_envlist: all-plugin
715 devstack_plugins:
716 networking-sfc: https://opendev.org/openstack/networking-sfc
717 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
718 network_api_extensions_sfc:
719 - flow_classifier
720 - sfc
721 devstack_localrc:
722 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
723 files:
724 - ^neutron_tempest_plugin/sfc/.*$
725
Slawek Kaplonski8dd49aa2019-04-16 14:47:07 +0200726- job:
727 name: neutron-tempest-plugin-bgpvpn-bagpipe
728 parent: neutron-tempest-plugin
729 required-projects:
730 - openstack/networking-bagpipe
731 - openstack/networking-bgpvpn
732 vars:
733 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
734 network_api_extensions: *api_extensions_master
735 network_api_extensions_bgpvpn:
736 - bgpvpn
737 - bgpvpn-routes-control
738 devstack_localrc:
739 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
740 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
741 BAGPIPE_BGP_PEERS: "-"
742 USE_PYTHON3: false
743 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
744 devstack_plugins:
745 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
746 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
747
Chandan Kumara564cf32017-11-16 16:09:38 +0530748- project-template:
749 name: neutron-tempest-plugin-jobs
750 check:
751 jobs:
752 - neutron-tempest-plugin-api
Jens Harbott860b46a2017-11-15 21:23:15 +0000753 - neutron-tempest-plugin-designate-scenario
Chandan Kumara564cf32017-11-16 16:09:38 +0530754 - neutron-tempest-plugin-dvr-multinode-scenario
755 - neutron-tempest-plugin-scenario-linuxbridge
756 gate:
757 jobs:
758 - neutron-tempest-plugin-api
Sławek Kapłońskifbc4d612018-05-08 23:22:41 +0200759 - neutron-tempest-plugin-scenario-linuxbridge
Chandan Kumara564cf32017-11-16 16:09:38 +0530760
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000761- project-template:
Slawek Kaplonski0ec5acf2018-06-15 22:26:24 +0200762 name: neutron-tempest-plugin-jobs-queens
Hongbin Lu9522a7e2018-04-18 19:18:43 +0000763 check:
764 jobs:
765 - neutron-tempest-plugin-api-queens
766 - neutron-tempest-plugin-designate-scenario-queens
767 - neutron-tempest-plugin-dvr-multinode-scenario-queens
768 - neutron-tempest-plugin-scenario-linuxbridge-queens
769 gate:
770 jobs:
771 - neutron-tempest-plugin-api-queens
772
Hongbin Lub600bea2018-08-23 02:49:48 +0000773- project-template:
774 name: neutron-tempest-plugin-jobs-rocky
775 check:
776 jobs:
777 - neutron-tempest-plugin-api-rocky
778 - neutron-tempest-plugin-designate-scenario-rocky
779 - neutron-tempest-plugin-dvr-multinode-scenario-rocky
780 - neutron-tempest-plugin-scenario-linuxbridge-rocky
781 gate:
782 jobs:
783 - neutron-tempest-plugin-api-rocky
784
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200785- project-template:
786 name: neutron-tempest-plugin-jobs-stein
787 check:
788 jobs:
789 - neutron-tempest-plugin-api-stein
790 - neutron-tempest-plugin-designate-scenario-stein
791 - neutron-tempest-plugin-dvr-multinode-scenario-stein
792 - neutron-tempest-plugin-scenario-linuxbridge-stein
793 gate:
794 jobs:
795 - neutron-tempest-plugin-api-stein
796
Chandan Kumara564cf32017-11-16 16:09:38 +0530797- project:
Chandan Kumara564cf32017-11-16 16:09:38 +0530798 templates:
Andreas Jaeger46a0ae22019-05-19 09:34:23 +0200799 - build-openstack-docs-pti
Chandan Kumara564cf32017-11-16 16:09:38 +0530800 - neutron-tempest-plugin-jobs
Slawek Kaplonski0ec5acf2018-06-15 22:26:24 +0200801 - neutron-tempest-plugin-jobs-queens
Hongbin Lub600bea2018-08-23 02:49:48 +0000802 - neutron-tempest-plugin-jobs-rocky
Slawek Kaplonskia57f80d2019-04-01 17:21:30 +0200803 - neutron-tempest-plugin-jobs-stein
Doug Hellmann12685c62018-08-29 17:37:50 -0400804 - check-requirements
805 - tempest-plugin-jobs
Brian Haley2cbb10e2018-09-13 09:20:03 -0600806 - release-notes-jobs-python3
Bernard Cafarelli1a987ec2019-04-16 16:42:10 +0200807 check:
808 jobs:
809 - neutron-tempest-plugin-sfc
Slawek Kaplonskif40b4942019-05-29 08:53:33 +0200810 - neutron-tempest-plugin-bgpvpn-bagpipe
811 gate:
812 jobs:
813 - neutron-tempest-plugin-bgpvpn-bagpipe