blob: a098a46fdfb90f6688e4fbc9708f790798b4c9b7 [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
elajkat8bbd7432020-11-04 16:41:34 +010082 network_available_features: &available_features
83 - ipv6_metadata
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020084 tempest_test_regex: ^neutron_tempest_plugin\.api
85 devstack_services:
86 neutron-log: true
Slawek Kaplonskide203632020-11-05 14:34:10 +010087 devstack_localrc:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +010088 # TODO(lucasagomes): Re-enable MOD_WSGI after
89 # https://bugs.launchpad.net/neutron/+bug/1912359 is implemented
90 NEUTRON_DEPLOY_MOD_WSGI: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020091 devstack_local_conf:
92 post-config:
93 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
94 # devstack-tempest job will be switched to use lib/neutron instead of
95 # lib/neutron-legacy
96 /$NEUTRON_CORE_PLUGIN_CONF:
97 AGENT:
98 tunnel_types: gre,vxlan
99 network_log:
100 local_output_log_base: /tmp/test_log.log
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100101 irrelevant-files:
102 - ^(test-|)requirements.txt$
103 - ^releasenotes/.*$
104 - ^doc/.*$
105 - ^setup.cfg$
106 - ^.*\.rst$
107 - ^neutron/locale/.*$
108 - ^neutron/tests/unit/.*$
109 - ^tools/.*$
110 - ^tox.ini$
111 - ^neutron/agent/.*$
112 - ^neutron/privileged/.*$
113 - ^neutron_tempest_plugin/scenario/.*$
114
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200115
116- job:
117 name: neutron-tempest-plugin-scenario-openvswitch
118 parent: neutron-tempest-plugin-scenario
119 timeout: 10000
120 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100121 devstack_services:
122 # Disable OVN services
123 br-ex-tcpdump: false
124 br-int-flows: false
125 ovn-controller: false
126 ovn-northd: false
127 ovs-vswitchd: false
128 ovsdb-server: false
129 q-ovn-metadata-agent: false
130 # Neutron services
131 q-agt: true
132 q-dhcp: true
133 q-l3: true
134 q-meta: true
135 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200136 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100137 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200138 devstack_localrc:
139 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100140 Q_ML2_TENANT_NETWORK_TYPE: vxlan
141 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200142 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
143 devstack_local_conf:
144 post-config:
145 $NEUTRON_CONF:
146 DEFAULT:
147 enable_dvr: false
148 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
149 # devstack-tempest job will be switched to use lib/neutron instead of
150 # lib/neutron-legacy
151 /$NEUTRON_CORE_PLUGIN_CONF:
152 agent:
153 tunnel_types: vxlan,gre
154 ovs:
155 tunnel_bridge: br-tun
156 bridge_mappings: public:br-ex
157 test-config:
158 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100159 network-feature-enabled:
160 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200161 neutron_plugin_options:
162 available_type_drivers: flat,vlan,local,vxlan
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100163 irrelevant-files: &openvswitch-scenario-irrelevant-files
164 - ^(test-|)requirements.txt$
165 - ^releasenotes/.*$
166 - ^doc/.*$
167 - ^setup.cfg$
168 - ^.*\.rst$
169 - ^neutron/locale/.*$
170 - ^neutron/tests/unit/.*$
171 - ^tools/.*$
172 - ^tox.ini$
173 - ^neutron/agent/ovn/.*$
174 - ^neutron/agent/windows/.*$
175 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
176 - ^neutron/plugins/ml2/drivers/macvtap/.*$
177 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
178 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200179
180- job:
181 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
182 parent: neutron-tempest-plugin-scenario
183 timeout: 10000
184 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100185 devstack_services:
186 # Disable OVN services
187 br-ex-tcpdump: false
188 br-int-flows: false
189 ovn-controller: false
190 ovn-northd: false
191 ovs-vswitchd: false
192 ovsdb-server: false
193 q-ovn-metadata-agent: false
194 # Neutron services
195 q-agt: true
196 q-dhcp: true
197 q-l3: true
198 q-meta: true
199 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200200 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100201 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200202 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
203 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
204 tempest_black_regex: "(^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)"
205 devstack_localrc:
206 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100207 Q_ML2_TENANT_NETWORK_TYPE: vxlan
208 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200209 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
210 devstack_local_conf:
211 post-config:
212 $NEUTRON_CONF:
213 DEFAULT:
214 enable_dvr: false
215 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
216 # devstack-tempest job will be switched to use lib/neutron instead of
217 # lib/neutron-legacy
218 /$NEUTRON_CORE_PLUGIN_CONF:
219 agent:
220 tunnel_types: vxlan,gre
221 ovs:
222 tunnel_bridge: br-tun
223 bridge_mappings: public:br-ex
224 securitygroup:
225 firewall_driver: iptables_hybrid
226 test-config:
227 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100228 network-feature-enabled:
229 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200230 neutron_plugin_options:
231 available_type_drivers: flat,vlan,local,vxlan
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100232 irrelevant-files:
233 - ^(test-|)requirements.txt$
234 - ^releasenotes/.*$
235 - ^doc/.*$
236 - ^setup.cfg$
237 - ^.*\.rst$
238 - ^neutron/locale/.*$
239 - ^neutron/tests/unit/.*$
240 - ^tools/.*$
241 - ^tox.ini$
242 - ^neutron/agent/linux/openvswitch_firewall/.*$
243 - ^neutron/agent/ovn/.*$
244 - ^neutron/agent/windows/.*$
245 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
246 - ^neutron/plugins/ml2/drivers/macvtap/.*$
247 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
248 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200249
250- job:
251 name: neutron-tempest-plugin-scenario-linuxbridge
252 parent: neutron-tempest-plugin-scenario
253 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200254 roles:
255 - zuul: openstack/neutron
256 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200257 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100258 devstack_services:
259 # Disable OVN services
260 br-ex-tcpdump: false
261 br-int-flows: false
262 ovn-controller: false
263 ovn-northd: false
264 ovs-vswitchd: false
265 ovsdb-server: false
266 q-ovn-metadata-agent: false
267 # Neutron services
268 q-agt: true
269 q-dhcp: true
270 q-l3: true
271 q-meta: true
272 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200273 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100274 network_api_extensions_linuxbridge:
275 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100276 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100277 # TODO(eolivare): remove VLAN Transparency tests from blacklist
278 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
279 tempest_black_regex: "(^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200280 devstack_localrc:
281 Q_AGENT: linuxbridge
Eduardo Olivares088707b2020-12-01 21:13:45 +0100282 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100283 Q_ML2_TENANT_NETWORK_TYPE: vxlan
284 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200285 devstack_local_conf:
286 post-config:
287 $NEUTRON_CONF:
288 DEFAULT:
289 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100290 vlan_transparent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200291 AGENT:
292 debug_iptables_rules: true
293 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
294 # devstack-tempest job will be switched to use lib/neutron instead of
295 # lib/neutron-legacy
296 /$NEUTRON_CORE_PLUGIN_CONF:
297 ml2:
298 type_drivers: flat,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100299 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200300 test-config:
301 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100302 network-feature-enabled:
303 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200304 neutron_plugin_options:
305 available_type_drivers: flat,vlan,local,vxlan
306 q_agent: linuxbridge
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100307 irrelevant-files:
308 - ^(test-|)requirements.txt$
309 - ^releasenotes/.*$
310 - ^doc/.*$
311 - ^setup.cfg$
312 - ^.*\.rst$
313 - ^neutron/locale/.*$
314 - ^neutron/tests/unit/.*$
315 - ^tools/.*$
316 - ^tox.ini$
317 - ^neutron/agent/linux/openvswitch_firewall/.*$
318 - ^neutron/agent/ovn/.*$
319 - ^neutron/agent/windows/.*$
320 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
321 - ^neutron/plugins/ml2/drivers/macvtap/.*$
322 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
323 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200324
325- job:
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000326 name: neutron-tempest-plugin-scenario-ovn
327 parent: neutron-tempest-plugin-scenario
328 timeout: 10000
329 vars:
330 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100331 network_api_extensions_ovn:
332 - vlan-transparent
Slawek Kaplonski28082072020-11-02 21:32:04 +0100333 # TODO(haleyb): Remove IPv6Test from blacklist when
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000334 # https://bugs.launchpad.net/neutron/+bug/1881558 is fixed.
Slawek Kaplonski28082072020-11-02 21:32:04 +0100335 # TODO(slaweq): Remove test_trunk_subport_lifecycle test from the
336 # blacklist when bug https://bugs.launchpad.net/neutron/+bug/1885900 will
337 # be fixed
Jakub Libosvar20591c52020-10-29 21:01:51 +0100338 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
339 # once east/west fragmentation is supported in core OVN
Slawek Kaplonski28082072020-11-02 21:32:04 +0100340 tempest_black_regex: "\
341 (?:neutron_tempest_plugin.scenario.test_ipv6.IPv6Test)|\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100342 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle)|\
343 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000344 devstack_localrc:
345 Q_AGENT: ovn
Eduardo Olivares088707b2020-12-01 21:13:45 +0100346 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000347 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
348 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
349 Q_ML2_TENANT_NETWORK_TYPE: geneve
350 Q_USE_PROVIDERNET_FOR_PUBLIC: true
351 PHYSICAL_NETWORK: public
352 ENABLE_CHASSIS_AS_GW: true
353 OVN_L3_CREATE_PUBLIC_NETWORK: true
354 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000355 ENABLE_TLS: True
356 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100357 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
358 # is included in an ovn released version
359 OVN_BUILD_FROM_SOURCE: True
360 OVN_BRANCH: "v20.12.0"
361 OVS_BRANCH: "branch-2.15"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000362 devstack_services:
363 br-ex-tcpdump: true
364 br-int-flows: true
365 q-ovn-metadata-agent: true
366 ovn-controller: true
367 ovn-northd: true
368 ovs-vswitchd: true
369 ovsdb-server: true
370 q-agt: false
371 q-dhcp: false
372 q-l3: false
373 q-meta: false
374 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100375 q-qos: true
376 tls-proxy: true
377 # Cinder services
378 c-api: false
379 c-bak: false
380 c-sch: false
381 c-vol: false
382 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000383 s-account: false
384 s-container-sync: false
385 s-container: false
386 s-object: false
387 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000388 devstack_local_conf:
389 post-config:
390 $NEUTRON_CONF:
391 DEFAULT:
392 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100393 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000394 /$NEUTRON_CORE_PLUGIN_CONF:
395 ml2:
396 type_drivers: local,flat,vlan,geneve
397 test-config:
398 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100399 network-feature-enabled:
400 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000401 neutron_plugin_options:
402 available_type_drivers: local,flat,vlan,geneve
403 is_igmp_snooping_enabled: True
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100404 irrelevant-files:
405 - ^(test-|)requirements.txt$
406 - ^releasenotes/.*$
407 - ^doc/.*$
408 - ^setup.cfg$
409 - ^.*\.rst$
410 - ^neutron/locale/.*$
411 - ^neutron/tests/unit/.*$
412 - ^tools/.*$
413 - ^tox.ini$
414 - ^neutron/agent/dhcp/.*$
415 - ^neutron/agent/l2/.*$
416 - ^neutron/agent/l3/.*$
417 - ^neutron/agent/metadata/.*$
418 - ^neutron/agent/windows/.*$
419 - ^neutron/agent/dhcp_agent.py
420 - ^neutron/agent/l3_agent.py
421 - ^neutron/agent/metadata_agent.py
422 - ^neutron/agent/resource_cache.py
423 - ^neutron/agent/rpc.py
424 - ^neutron/agent/securitygroup_rpc.py
425 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
426 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
427 - ^neutron/plugins/ml2/drivers/macvtap/.*$
428 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
429 - ^neutron/scheduler/.*$
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000430
431- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200432 name: neutron-tempest-plugin-dvr-multinode-scenario
433 parent: tempest-multinode-full
434 description: |
435 Perform setup for Neutron tempest tests in multinode with DVR scenario
436 roles:
437 - zuul: openstack/devstack
438 required-projects:
439 - openstack/devstack-gate
440 - openstack/neutron
441 - openstack/neutron-tempest-plugin
442 - openstack/tempest
443 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
444 voting: false
445 vars:
446 tempest_concurrency: 4
447 tox_envlist: all
448 tempest_test_regex: ^neutron_tempest_plugin\.scenario
449 # NOTE(slaweq): in case of some tests, which requires advanced image,
450 # default test timeout set to 1200 seconds may be not enough if job is
451 # run on slow node
452 tempest_test_timeout: 2400
453 network_api_extensions_common: *api_extensions
454 network_api_extensions_dvr:
455 - dvr
456 devstack_localrc:
457 USE_PYTHON3: true
458 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
459 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200460 CIRROS_VERSION: 0.5.1
461 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
462 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200463 ADVANCED_INSTANCE_TYPE: ds512M
464 ADVANCED_INSTANCE_USER: ubuntu
465 BUILD_TIMEOUT: 784
466 devstack_plugins:
467 neutron: https://opendev.org/openstack/neutron.git
468 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
469 tempest_plugins:
470 - neutron-tempest-plugin
471 devstack_services:
472 tls-proxy: false
473 tempest: true
474 neutron-dns: true
475 neutron-qos: true
476 neutron-segments: true
477 neutron-trunk: true
478 neutron-log: true
479 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100480 # Cinder services
481 c-api: false
482 c-bak: false
483 c-sch: false
484 c-vol: false
485 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100486 # We don't need Swift to be run in the Neutron jobs
487 s-account: false
488 s-container: false
489 s-object: false
490 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200491 devstack_local_conf:
492 post-config:
493 $NEUTRON_CONF:
494 quotas:
495 quota_router: 100
496 quota_floatingip: 500
497 quota_security_group: 100
498 quota_security_group_rule: 1000
499 DEFAULT:
500 router_distributed: True
501 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
502 # devstack-tempest job will be switched to use lib/neutron instead of
503 # lib/neutron-legacy
504 "/$NEUTRON_CORE_PLUGIN_CONF":
505 ml2:
506 type_drivers: flat,geneve,vlan,gre,local,vxlan
507 mechanism_drivers: openvswitch,l2population
508 ml2_type_vlan:
509 network_vlan_ranges: foo:1:10
510 ml2_type_vxlan:
511 vni_ranges: 1:2000
512 ml2_type_gre:
513 tunnel_id_ranges: 1:1000
514 agent:
515 enable_distributed_routing: True
516 l2_population: True
517 tunnel_types: vxlan,gre
518 ovs:
519 tunnel_bridge: br-tun
520 bridge_mappings: public:br-ex
521 $NEUTRON_L3_CONF:
522 DEFAULT:
523 agent_mode: dvr_snat
524 agent:
525 availability_zone: nova
526 $NEUTRON_DHCP_CONF:
527 agent:
528 availability_zone: nova
529 "/etc/neutron/api-paste.ini":
530 "composite:neutronapi_v2_0":
531 use: "call:neutron.auth:pipeline_factory"
532 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
533 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
534 test-config:
535 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100536 network-feature-enabled:
537 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200538 neutron_plugin_options:
539 provider_vlans: foo,
540 agent_availability_zone: nova
541 image_is_advanced: true
542 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
543 l3_agent_mode: dvr_snat
544 group-vars:
545 subnode:
546 devstack_services:
547 tls-proxy: false
548 q-agt: true
549 q-l3: true
550 q-meta: true
551 neutron-qos: true
552 neutron-trunk: true
553 neutron-log: true
554 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100555 # Cinder services
556 c-bak: false
557 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100558 # We don't need Swift to be run in the Neutron jobs
559 s-account: false
560 s-container: false
561 s-object: false
562 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200563 devstack_localrc:
564 USE_PYTHON3: true
565 devstack_local_conf:
566 post-config:
567 $NEUTRON_CONF:
568 DEFAULT:
569 router_distributed: True
570 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
571 # devstack-tempest job will be switched to use lib/neutron instead of
572 # lib/neutron-legacy
573 "/$NEUTRON_CORE_PLUGIN_CONF":
574 agent:
575 enable_distributed_routing: True
576 l2_population: True
577 tunnel_types: vxlan,gre
578 ovs:
579 tunnel_bridge: br-tun
580 bridge_mappings: public:br-ex
581 $NEUTRON_L3_CONF:
582 DEFAULT:
583 agent_mode: dvr_snat
584 agent:
585 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100586 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200587
588- job:
589 name: neutron-tempest-plugin-designate-scenario
590 parent: neutron-tempest-plugin-scenario
591 description: Neutron designate integration scenario
592 required-projects:
593 - openstack/designate
594 - openstack/designate-dashboard
595 - openstack/designate-tempest-plugin
596 timeout: 3600
597 vars:
598 network_api_extensions_common: *api_extensions
599 devstack_localrc:
600 DESIGNATE_BACKEND_DRIVER: bind9
601 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100602 Q_ML2_TENANT_NETWORK_TYPE: vxlan
603 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200604 # In this job advanced image is not needed, so it's name should be
605 # empty
606 ADVANCED_IMAGE_NAME: ""
607 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
608 devstack_local_conf:
609 post-config:
610 $NEUTRON_CONF:
611 DEFAULT:
612 enable_dvr: false
613 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
614 # devstack-tempest job will be switched to use lib/neutron instead of
615 # lib/neutron-legacy
616 /$NEUTRON_CORE_PLUGIN_CONF:
617 agent:
618 tunnel_types: vxlan,gre
619 ovs:
620 tunnel_bridge: br-tun
621 bridge_mappings: public:br-ex
622 devstack_plugins:
623 designate: https://opendev.org/openstack/designate.git
624 devstack_services:
625 cinder: false
626 designate: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100627 # Disable OVN services
628 br-ex-tcpdump: false
629 br-int-flows: false
630 ovn-controller: false
631 ovn-northd: false
632 ovs-vswitchd: false
633 ovsdb-server: false
634 q-ovn-metadata-agent: false
635 # Neutron services
636 q-agt: true
637 q-dhcp: true
638 q-l3: true
639 q-meta: true
640 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200641 tempest_plugins:
642 - designate-tempest-plugin
643 - neutron-tempest-plugin
644 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100645 irrelevant-files:
646 - ^(test-|)requirements.txt$
647 - ^releasenotes/.*$
648 - ^doc/.*$
649 - ^setup.cfg$
650 - ^.*\.rst$
651 - ^neutron/locale/.*$
652 - ^neutron/tests/unit/.*$
653 - ^tools/.*$
654 - ^tox.ini$
655 - ^neutron/agent/.*$
656 - ^neutron/cmd/.*$
657 - ^neutron/privileged/.*$
658 - ^neutron/plugins/ml2/drivers/.*$
659 - ^neutron/scheduler/.*$
660 - ^neutron/services/(?!externaldns).*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200661
662- job:
663 name: neutron-tempest-plugin-sfc
664 parent: neutron-tempest-plugin-base
665 timeout: 10800
666 required-projects:
667 - openstack/devstack-gate
668 - openstack/networking-sfc
669 - openstack/neutron
670 - openstack/neutron-tempest-plugin
671 - openstack/tempest
672 vars:
673 network_api_extensions_common: *api_extensions
674 tempest_test_regex: ^neutron_tempest_plugin\.sfc
675 devstack_plugins:
676 networking-sfc: https://opendev.org/openstack/networking-sfc
677 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
678 network_api_extensions_sfc:
679 - flow_classifier
680 - sfc
681 devstack_localrc:
682 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
683 # TODO(bcafarel): tests still fail from time to time in parallel
684 # https://bugs.launchpad.net/neutron/+bug/1851500
685 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
686 tempest_concurrency: 1
687
688- job:
689 name: neutron-tempest-plugin-bgpvpn-bagpipe
690 parent: neutron-tempest-plugin-base
691 required-projects:
692 - openstack/networking-bagpipe
693 - openstack/networking-bgpvpn
694 vars:
695 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
696 network_api_extensions: *api_extensions
697 network_api_extensions_bgpvpn:
698 - bgpvpn
699 - bgpvpn-routes-control
700 devstack_localrc:
701 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
702 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
703 BAGPIPE_BGP_PEERS: "-"
704 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
705 devstack_plugins:
706 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
707 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
708
709- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200710 name: neutron-tempest-plugin-dynamic-routing
711 parent: neutron-tempest-plugin-base
712 description: |
713 Perform setup common to all Neutron dynamic routing tempest tests
714 required-projects:
715 - openstack/neutron
716 - openstack/neutron-dynamic-routing
717 - openstack/os-ken
718 - openstack/tempest
719 pre-run: playbooks/dynamic-routing-pre-run.yaml
720 vars:
721 devstack_plugins:
722 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
723 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
724 network_api_extensions_common: *api_extensions
725 network_api_extensions_bgp:
726 - bgp
727 - bgp_dragent_scheduler
728 - bgp_4byte_asn
729 devstack_localrc:
730 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100731 Q_AGENT: openvswitch
732 Q_ML2_TENANT_NETWORK_TYPE: vxlan
733 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200734 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100735 # Disable OVN services
736 br-ex-tcpdump: false
737 br-int-flows: false
738 ovn-controller: false
739 ovn-northd: false
740 ovs-vswitchd: false
741 ovsdb-server: false
742 q-ovn-metadata-agent: false
743 # Neutron services
744 q-agt: true
745 q-dhcp: true
746 q-meta: true
747 q-metering: true
748 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200749 neutron-dr: true
750 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200751 tempest_concurrency: 1
752 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
753
754- job:
755 name: neutron-tempest-plugin-vpnaas
756 parent: neutron-tempest-plugin-base
757 timeout: 3900
758 required-projects:
759 - openstack/devstack-gate
760 - openstack/neutron
761 - openstack/neutron-vpnaas
762 - openstack/neutron-tempest-plugin
763 - openstack/tempest
764 vars:
765 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
766 devstack_plugins:
767 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
768 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
769 network_api_extensions_common: *api_extensions
770 network_api_extensions_vpnaas:
771 - vpnaas
772 devstack_localrc:
773 IPSEC_PACKAGE: strongswan
774 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"