blob: 71dfcb2b9e4f684860d5f0d59bc8340a80989f41 [file] [log] [blame]
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001- job:
2 name: neutron-tempest-plugin-api
3 parent: neutron-tempest-plugin-base
4 vars:
5 # TODO(slaweq): find a way to put this list of extensions in
6 # neutron repository and keep it different per branch,
7 # then it could be removed from here
8 network_api_extensions_common: &api_extensions
9 - address-scope
10 - agent
11 - allowed-address-pairs
12 - auto-allocated-topology
13 - availability_zone
14 - binding
15 - default-subnetpools
16 - dhcp_agent_scheduler
17 - dns-domain-ports
18 - dns-integration
19 - empty-string-filtering
20 - expose-port-forwarding-in-fip
21 - expose-l3-conntrack-helper
22 - ext-gw-mode
23 - external-net
24 - extra_dhcp_opt
25 - extraroute
26 - extraroute-atomic
27 - filter-validation
28 - fip-port-details
29 - flavors
30 - floating-ip-port-forwarding
31 - floatingip-pools
32 - ip-substring-filtering
33 - l3-conntrack-helper
34 - l3-flavors
35 - l3-ha
36 - l3_agent_scheduler
37 - logging
38 - metering
39 - multi-provider
40 - net-mtu
41 - net-mtu-writable
42 - network-ip-availability
43 - network_availability_zone
44 - network-segment-range
45 - pagination
46 - port-resource-request
47 - port-mac-address-regenerate
48 - port-security
49 - port-security-groups-filtering
50 - project-id
51 - provider
52 - qos
53 - qos-bw-minimum-ingress
54 - qos-fip
55 - quotas
56 - quota_details
57 - rbac-address-scope
58 - rbac-policies
59 - rbac-security-groups
60 - rbac-subnetpool
61 - router
62 - router-admin-state-down-before-update
63 - router_availability_zone
64 - security-group
65 - segment
66 - service-type
67 - sorting
68 - standard-attr-description
69 - standard-attr-revisions
70 - standard-attr-segment
71 - standard-attr-tag
72 - standard-attr-timestamp
73 - subnet_allocation
74 - subnet-dns-publish-fixed-ip
75 - subnetpool-prefix-ops
76 - tag-ports-during-bulk-creation
77 - trunk
78 - trunk-details
79 - uplink-status-propagation
80 network_api_extensions_tempest:
81 - dvr
82 tempest_test_regex: ^neutron_tempest_plugin\.api
83 devstack_services:
84 neutron-log: true
85 devstack_local_conf:
86 post-config:
87 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
88 # devstack-tempest job will be switched to use lib/neutron instead of
89 # lib/neutron-legacy
90 /$NEUTRON_CORE_PLUGIN_CONF:
91 AGENT:
92 tunnel_types: gre,vxlan
93 network_log:
94 local_output_log_base: /tmp/test_log.log
95
96- job:
97 name: neutron-tempest-plugin-scenario-openvswitch
98 parent: neutron-tempest-plugin-scenario
99 timeout: 10000
100 vars:
101 network_api_extensions: *api_extensions
102 devstack_localrc:
103 Q_AGENT: openvswitch
104 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
105 devstack_local_conf:
106 post-config:
107 $NEUTRON_CONF:
108 DEFAULT:
109 enable_dvr: false
110 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
111 # devstack-tempest job will be switched to use lib/neutron instead of
112 # lib/neutron-legacy
113 /$NEUTRON_CORE_PLUGIN_CONF:
114 agent:
115 tunnel_types: vxlan,gre
116 ovs:
117 tunnel_bridge: br-tun
118 bridge_mappings: public:br-ex
119 test-config:
120 $TEMPEST_CONFIG:
121 neutron_plugin_options:
122 available_type_drivers: flat,vlan,local,vxlan
123
124- job:
125 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
126 parent: neutron-tempest-plugin-scenario
127 timeout: 10000
128 vars:
129 network_api_extensions: *api_extensions
130 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
131 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
132 tempest_black_regex: "(^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)"
133 devstack_localrc:
134 Q_AGENT: openvswitch
135 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
136 devstack_local_conf:
137 post-config:
138 $NEUTRON_CONF:
139 DEFAULT:
140 enable_dvr: false
141 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
142 # devstack-tempest job will be switched to use lib/neutron instead of
143 # lib/neutron-legacy
144 /$NEUTRON_CORE_PLUGIN_CONF:
145 agent:
146 tunnel_types: vxlan,gre
147 ovs:
148 tunnel_bridge: br-tun
149 bridge_mappings: public:br-ex
150 securitygroup:
151 firewall_driver: iptables_hybrid
152 test-config:
153 $TEMPEST_CONFIG:
154 neutron_plugin_options:
155 available_type_drivers: flat,vlan,local,vxlan
156
157- job:
158 name: neutron-tempest-plugin-scenario-linuxbridge
159 parent: neutron-tempest-plugin-scenario
160 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200161 roles:
162 - zuul: openstack/neutron
163 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200164 vars:
165 network_api_extensions: *api_extensions
166 devstack_localrc:
167 Q_AGENT: linuxbridge
168 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
169 devstack_local_conf:
170 post-config:
171 $NEUTRON_CONF:
172 DEFAULT:
173 enable_dvr: false
174 AGENT:
175 debug_iptables_rules: true
176 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
177 # devstack-tempest job will be switched to use lib/neutron instead of
178 # lib/neutron-legacy
179 /$NEUTRON_CORE_PLUGIN_CONF:
180 ml2:
181 type_drivers: flat,vlan,local,vxlan
182 test-config:
183 $TEMPEST_CONFIG:
184 neutron_plugin_options:
185 available_type_drivers: flat,vlan,local,vxlan
186 q_agent: linuxbridge
187
188- job:
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000189 name: neutron-tempest-plugin-scenario-ovn
190 parent: neutron-tempest-plugin-scenario
191 timeout: 10000
192 vars:
193 network_api_extensions: *api_extensions
194 # TODO(haleyb): Remove this blacklist when
195 # https://bugs.launchpad.net/neutron/+bug/1881558 is fixed.
196 tempest_black_regex: "(?:neutron_tempest_plugin.scenario.test_ipv6.IPv6Test)"
197 devstack_localrc:
198 Q_AGENT: ovn
199 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
200 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
201 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
202 Q_ML2_TENANT_NETWORK_TYPE: geneve
203 Q_USE_PROVIDERNET_FOR_PUBLIC: true
204 PHYSICAL_NETWORK: public
205 ENABLE_CHASSIS_AS_GW: true
206 OVN_L3_CREATE_PUBLIC_NETWORK: true
207 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000208 ENABLE_TLS: True
209 OVN_IGMP_SNOOPING_ENABLE: True
210 devstack_services:
211 br-ex-tcpdump: true
212 br-int-flows: true
213 q-ovn-metadata-agent: true
214 ovn-controller: true
215 ovn-northd: true
216 ovs-vswitchd: true
217 ovsdb-server: true
218 q-agt: false
219 q-dhcp: false
220 q-l3: false
221 q-meta: false
222 q-metering: false
223 s-account: false
224 s-container-sync: false
225 s-container: false
226 s-object: false
227 s-proxy: false
228 tls-proxy: true
229 q-qos: true
230 devstack_local_conf:
231 post-config:
232 $NEUTRON_CONF:
233 DEFAULT:
234 enable_dvr: false
235 /$NEUTRON_CORE_PLUGIN_CONF:
236 ml2:
237 type_drivers: local,flat,vlan,geneve
238 test-config:
239 $TEMPEST_CONFIG:
240 neutron_plugin_options:
241 available_type_drivers: local,flat,vlan,geneve
Bence Romsics61589652020-09-04 14:49:58 +0200242 ipv6_metadata: False
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000243 is_igmp_snooping_enabled: True
244
245- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200246 name: neutron-tempest-plugin-dvr-multinode-scenario
247 parent: tempest-multinode-full
248 description: |
249 Perform setup for Neutron tempest tests in multinode with DVR scenario
250 roles:
251 - zuul: openstack/devstack
252 required-projects:
253 - openstack/devstack-gate
254 - openstack/neutron
255 - openstack/neutron-tempest-plugin
256 - openstack/tempest
257 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
258 voting: false
259 vars:
260 tempest_concurrency: 4
261 tox_envlist: all
262 tempest_test_regex: ^neutron_tempest_plugin\.scenario
263 # NOTE(slaweq): in case of some tests, which requires advanced image,
264 # default test timeout set to 1200 seconds may be not enough if job is
265 # run on slow node
266 tempest_test_timeout: 2400
267 network_api_extensions_common: *api_extensions
268 network_api_extensions_dvr:
269 - dvr
270 devstack_localrc:
271 USE_PYTHON3: true
272 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
273 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200274 CIRROS_VERSION: 0.5.1
275 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
276 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200277 ADVANCED_INSTANCE_TYPE: ds512M
278 ADVANCED_INSTANCE_USER: ubuntu
279 BUILD_TIMEOUT: 784
280 devstack_plugins:
281 neutron: https://opendev.org/openstack/neutron.git
282 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
283 tempest_plugins:
284 - neutron-tempest-plugin
285 devstack_services:
286 tls-proxy: false
287 tempest: true
288 neutron-dns: true
289 neutron-qos: true
290 neutron-segments: true
291 neutron-trunk: true
292 neutron-log: true
293 neutron-port-forwarding: true
294 cinder: true
295 devstack_local_conf:
296 post-config:
297 $NEUTRON_CONF:
298 quotas:
299 quota_router: 100
300 quota_floatingip: 500
301 quota_security_group: 100
302 quota_security_group_rule: 1000
303 DEFAULT:
304 router_distributed: True
305 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
306 # devstack-tempest job will be switched to use lib/neutron instead of
307 # lib/neutron-legacy
308 "/$NEUTRON_CORE_PLUGIN_CONF":
309 ml2:
310 type_drivers: flat,geneve,vlan,gre,local,vxlan
311 mechanism_drivers: openvswitch,l2population
312 ml2_type_vlan:
313 network_vlan_ranges: foo:1:10
314 ml2_type_vxlan:
315 vni_ranges: 1:2000
316 ml2_type_gre:
317 tunnel_id_ranges: 1:1000
318 agent:
319 enable_distributed_routing: True
320 l2_population: True
321 tunnel_types: vxlan,gre
322 ovs:
323 tunnel_bridge: br-tun
324 bridge_mappings: public:br-ex
325 $NEUTRON_L3_CONF:
326 DEFAULT:
327 agent_mode: dvr_snat
328 agent:
329 availability_zone: nova
330 $NEUTRON_DHCP_CONF:
331 agent:
332 availability_zone: nova
333 "/etc/neutron/api-paste.ini":
334 "composite:neutronapi_v2_0":
335 use: "call:neutron.auth:pipeline_factory"
336 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
337 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
338 test-config:
339 $TEMPEST_CONFIG:
340 neutron_plugin_options:
341 provider_vlans: foo,
342 agent_availability_zone: nova
343 image_is_advanced: true
344 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
345 l3_agent_mode: dvr_snat
346 group-vars:
347 subnode:
348 devstack_services:
349 tls-proxy: false
350 q-agt: true
351 q-l3: true
352 q-meta: true
353 neutron-qos: true
354 neutron-trunk: true
355 neutron-log: true
356 neutron-port-forwarding: true
357 devstack_localrc:
358 USE_PYTHON3: true
359 devstack_local_conf:
360 post-config:
361 $NEUTRON_CONF:
362 DEFAULT:
363 router_distributed: True
364 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
365 # devstack-tempest job will be switched to use lib/neutron instead of
366 # lib/neutron-legacy
367 "/$NEUTRON_CORE_PLUGIN_CONF":
368 agent:
369 enable_distributed_routing: True
370 l2_population: True
371 tunnel_types: vxlan,gre
372 ovs:
373 tunnel_bridge: br-tun
374 bridge_mappings: public:br-ex
375 $NEUTRON_L3_CONF:
376 DEFAULT:
377 agent_mode: dvr_snat
378 agent:
379 availability_zone: nova
380 irrelevant-files: &tempest-irrelevant-files
381 - ^(test-|)requirements.txt$
382 - ^releasenotes/.*$
383 - ^doc/.*$
384 - ^setup.cfg$
385 - ^.*\.rst$
Brian Haleyafb4bd72020-05-29 16:03:43 -0400386 - ^neutron.*/locale/.*$
387 - ^neutron.*/tests/unit/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200388 - ^tools/.*$
389 - ^tox.ini$
390
391- job:
392 name: neutron-tempest-plugin-designate-scenario
393 parent: neutron-tempest-plugin-scenario
394 description: Neutron designate integration scenario
395 required-projects:
396 - openstack/designate
397 - openstack/designate-dashboard
398 - openstack/designate-tempest-plugin
399 timeout: 3600
400 vars:
401 network_api_extensions_common: *api_extensions
402 devstack_localrc:
403 DESIGNATE_BACKEND_DRIVER: bind9
404 Q_AGENT: openvswitch
405 # In this job advanced image is not needed, so it's name should be
406 # empty
407 ADVANCED_IMAGE_NAME: ""
408 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
409 devstack_local_conf:
410 post-config:
411 $NEUTRON_CONF:
412 DEFAULT:
413 enable_dvr: false
414 # 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
417 /$NEUTRON_CORE_PLUGIN_CONF:
418 agent:
419 tunnel_types: vxlan,gre
420 ovs:
421 tunnel_bridge: br-tun
422 bridge_mappings: public:br-ex
423 devstack_plugins:
424 designate: https://opendev.org/openstack/designate.git
425 devstack_services:
426 cinder: false
427 designate: true
428 tempest_plugins:
429 - designate-tempest-plugin
430 - neutron-tempest-plugin
431 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
432 irrelevant-files: *tempest-irrelevant-files
433
434- job:
435 name: neutron-tempest-plugin-sfc
436 parent: neutron-tempest-plugin-base
437 timeout: 10800
438 required-projects:
439 - openstack/devstack-gate
440 - openstack/networking-sfc
441 - openstack/neutron
442 - openstack/neutron-tempest-plugin
443 - openstack/tempest
444 vars:
445 network_api_extensions_common: *api_extensions
446 tempest_test_regex: ^neutron_tempest_plugin\.sfc
447 devstack_plugins:
448 networking-sfc: https://opendev.org/openstack/networking-sfc
449 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
450 network_api_extensions_sfc:
451 - flow_classifier
452 - sfc
453 devstack_localrc:
454 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
455 # TODO(bcafarel): tests still fail from time to time in parallel
456 # https://bugs.launchpad.net/neutron/+bug/1851500
457 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
458 tempest_concurrency: 1
459
460- job:
461 name: neutron-tempest-plugin-bgpvpn-bagpipe
462 parent: neutron-tempest-plugin-base
463 required-projects:
464 - openstack/networking-bagpipe
465 - openstack/networking-bgpvpn
466 vars:
467 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
468 network_api_extensions: *api_extensions
469 network_api_extensions_bgpvpn:
470 - bgpvpn
471 - bgpvpn-routes-control
472 devstack_localrc:
473 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
474 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
475 BAGPIPE_BGP_PEERS: "-"
476 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
477 devstack_plugins:
478 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
479 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
480
481- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200482 name: neutron-tempest-plugin-dynamic-routing
483 parent: neutron-tempest-plugin-base
484 description: |
485 Perform setup common to all Neutron dynamic routing tempest tests
486 required-projects:
487 - openstack/neutron
488 - openstack/neutron-dynamic-routing
489 - openstack/os-ken
490 - openstack/tempest
491 pre-run: playbooks/dynamic-routing-pre-run.yaml
492 vars:
493 devstack_plugins:
494 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
495 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
496 network_api_extensions_common: *api_extensions
497 network_api_extensions_bgp:
498 - bgp
499 - bgp_dragent_scheduler
500 - bgp_4byte_asn
501 devstack_localrc:
502 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
503 devstack_services:
504 neutron-dr: true
505 neutron-dr-agent: true
506 q-l3: true
507 tempest_concurrency: 1
508 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
509
510- job:
511 name: neutron-tempest-plugin-vpnaas
512 parent: neutron-tempest-plugin-base
513 timeout: 3900
514 required-projects:
515 - openstack/devstack-gate
516 - openstack/neutron
517 - openstack/neutron-vpnaas
518 - openstack/neutron-tempest-plugin
519 - openstack/tempest
520 vars:
521 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
522 devstack_plugins:
523 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
524 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
525 network_api_extensions_common: *api_extensions
526 network_api_extensions_vpnaas:
527 - vpnaas
528 devstack_localrc:
529 IPSEC_PACKAGE: strongswan
530 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"
Brian Haleyafb4bd72020-05-29 16:03:43 -0400531 irrelevant-files: *tempest-irrelevant-files