blob: 11a90b0589a2fcaa2125f61af732403b2d9516b5 [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
Miguel Lavalleb1c7a3d2021-01-31 19:05:22 -06009 - address-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020010 - address-scope
11 - agent
12 - allowed-address-pairs
13 - auto-allocated-topology
14 - availability_zone
15 - binding
16 - default-subnetpools
17 - dhcp_agent_scheduler
18 - dns-domain-ports
19 - dns-integration
20 - empty-string-filtering
21 - expose-port-forwarding-in-fip
22 - expose-l3-conntrack-helper
23 - ext-gw-mode
24 - external-net
25 - extra_dhcp_opt
26 - extraroute
27 - extraroute-atomic
28 - filter-validation
29 - fip-port-details
30 - flavors
31 - floating-ip-port-forwarding
32 - floatingip-pools
33 - ip-substring-filtering
34 - l3-conntrack-helper
35 - l3-flavors
36 - l3-ha
37 - l3_agent_scheduler
38 - logging
39 - metering
40 - multi-provider
41 - net-mtu
42 - net-mtu-writable
43 - network-ip-availability
44 - network_availability_zone
45 - network-segment-range
46 - pagination
47 - port-resource-request
48 - port-mac-address-regenerate
49 - port-security
50 - port-security-groups-filtering
51 - project-id
52 - provider
53 - qos
54 - qos-bw-minimum-ingress
55 - qos-fip
56 - quotas
57 - quota_details
Miguel Lavalleb1c7a3d2021-01-31 19:05:22 -060058 - rbac-address-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020059 - rbac-address-scope
60 - rbac-policies
61 - rbac-security-groups
62 - rbac-subnetpool
63 - router
64 - router-admin-state-down-before-update
65 - router_availability_zone
66 - security-group
Hang Yange6e0ccf2021-02-26 15:07:05 -060067 - security-groups-remote-address-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020068 - 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 - subnet-dns-publish-fixed-ip
78 - subnetpool-prefix-ops
79 - tag-ports-during-bulk-creation
80 - trunk
81 - trunk-details
82 - uplink-status-propagation
83 network_api_extensions_tempest:
84 - dvr
elajkat8bbd7432020-11-04 16:41:34 +010085 network_available_features: &available_features
86 - ipv6_metadata
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020087 tempest_test_regex: ^neutron_tempest_plugin\.api
88 devstack_services:
89 neutron-log: true
Slawek Kaplonskide203632020-11-05 14:34:10 +010090 devstack_localrc:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +010091 # TODO(lucasagomes): Re-enable MOD_WSGI after
92 # https://bugs.launchpad.net/neutron/+bug/1912359 is implemented
93 NEUTRON_DEPLOY_MOD_WSGI: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020094 devstack_local_conf:
95 post-config:
96 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
97 # devstack-tempest job will be switched to use lib/neutron instead of
98 # lib/neutron-legacy
99 /$NEUTRON_CORE_PLUGIN_CONF:
100 AGENT:
101 tunnel_types: gre,vxlan
102 network_log:
103 local_output_log_base: /tmp/test_log.log
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100104 irrelevant-files:
105 - ^(test-|)requirements.txt$
106 - ^releasenotes/.*$
107 - ^doc/.*$
108 - ^setup.cfg$
109 - ^.*\.rst$
110 - ^neutron/locale/.*$
111 - ^neutron/tests/unit/.*$
112 - ^tools/.*$
113 - ^tox.ini$
114 - ^neutron/agent/.*$
115 - ^neutron/privileged/.*$
116 - ^neutron_tempest_plugin/scenario/.*$
117
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200118
119- job:
120 name: neutron-tempest-plugin-scenario-openvswitch
121 parent: neutron-tempest-plugin-scenario
122 timeout: 10000
123 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100124 devstack_services:
125 # Disable OVN services
126 br-ex-tcpdump: false
127 br-int-flows: false
128 ovn-controller: false
129 ovn-northd: false
130 ovs-vswitchd: false
131 ovsdb-server: false
132 q-ovn-metadata-agent: false
133 # Neutron services
134 q-agt: true
135 q-dhcp: true
136 q-l3: true
137 q-meta: true
138 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200139 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100140 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200141 devstack_localrc:
142 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100143 Q_ML2_TENANT_NETWORK_TYPE: vxlan
144 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200145 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
146 devstack_local_conf:
147 post-config:
148 $NEUTRON_CONF:
149 DEFAULT:
150 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200151 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200152 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
153 # devstack-tempest job will be switched to use lib/neutron instead of
154 # lib/neutron-legacy
155 /$NEUTRON_CORE_PLUGIN_CONF:
156 agent:
157 tunnel_types: vxlan,gre
158 ovs:
159 tunnel_bridge: br-tun
160 bridge_mappings: public:br-ex
161 test-config:
162 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100163 network-feature-enabled:
164 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200165 neutron_plugin_options:
166 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600167 firewall_driver: openvswitch
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100168 irrelevant-files: &openvswitch-scenario-irrelevant-files
169 - ^(test-|)requirements.txt$
170 - ^releasenotes/.*$
171 - ^doc/.*$
172 - ^setup.cfg$
173 - ^.*\.rst$
174 - ^neutron/locale/.*$
175 - ^neutron/tests/unit/.*$
176 - ^tools/.*$
177 - ^tox.ini$
178 - ^neutron/agent/ovn/.*$
179 - ^neutron/agent/windows/.*$
180 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
181 - ^neutron/plugins/ml2/drivers/macvtap/.*$
182 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
183 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200184
185- job:
186 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
187 parent: neutron-tempest-plugin-scenario
188 timeout: 10000
189 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100190 devstack_services:
191 # Disable OVN services
192 br-ex-tcpdump: false
193 br-int-flows: false
194 ovn-controller: false
195 ovn-northd: false
196 ovs-vswitchd: false
197 ovsdb-server: false
198 q-ovn-metadata-agent: false
199 # Neutron services
200 q-agt: true
201 q-dhcp: true
202 q-l3: true
203 q-meta: true
204 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200205 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100206 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200207 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
208 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
Alex Katzbd2bfd42021-05-26 18:12:36 +0300209 # TODO(akatz): remove established tcp session verification test when the
210 # bug https://bugzilla.redhat.com/show_bug.cgi?id=1965036 will be fixed
211 tempest_exclude_regex: "\
212 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
213 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200214 devstack_localrc:
215 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100216 Q_ML2_TENANT_NETWORK_TYPE: vxlan
217 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200218 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
219 devstack_local_conf:
220 post-config:
221 $NEUTRON_CONF:
222 DEFAULT:
223 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200224 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200225 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
226 # devstack-tempest job will be switched to use lib/neutron instead of
227 # lib/neutron-legacy
228 /$NEUTRON_CORE_PLUGIN_CONF:
229 agent:
230 tunnel_types: vxlan,gre
231 ovs:
232 tunnel_bridge: br-tun
233 bridge_mappings: public:br-ex
234 securitygroup:
235 firewall_driver: iptables_hybrid
236 test-config:
237 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100238 network-feature-enabled:
239 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200240 neutron_plugin_options:
241 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600242 firewall_driver: iptables_hybrid
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100243 irrelevant-files:
244 - ^(test-|)requirements.txt$
245 - ^releasenotes/.*$
246 - ^doc/.*$
247 - ^setup.cfg$
248 - ^.*\.rst$
249 - ^neutron/locale/.*$
250 - ^neutron/tests/unit/.*$
251 - ^tools/.*$
252 - ^tox.ini$
253 - ^neutron/agent/linux/openvswitch_firewall/.*$
254 - ^neutron/agent/ovn/.*$
255 - ^neutron/agent/windows/.*$
256 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
257 - ^neutron/plugins/ml2/drivers/macvtap/.*$
258 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
259 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200260
261- job:
262 name: neutron-tempest-plugin-scenario-linuxbridge
263 parent: neutron-tempest-plugin-scenario
264 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200265 roles:
266 - zuul: openstack/neutron
267 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200268 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100269 devstack_services:
270 # Disable OVN services
271 br-ex-tcpdump: false
272 br-int-flows: false
273 ovn-controller: false
274 ovn-northd: false
275 ovs-vswitchd: false
276 ovsdb-server: false
277 q-ovn-metadata-agent: false
278 # Neutron services
279 q-agt: true
280 q-dhcp: true
281 q-l3: true
282 q-meta: true
283 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200284 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100285 network_api_extensions_linuxbridge:
286 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100287 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100288 # TODO(eolivare): remove VLAN Transparency tests from blacklist
289 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600290 tempest_exclude_regex: "(^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200291 devstack_localrc:
292 Q_AGENT: linuxbridge
Eduardo Olivares088707b2020-12-01 21:13:45 +0100293 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100294 Q_ML2_TENANT_NETWORK_TYPE: vxlan
295 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200296 devstack_local_conf:
297 post-config:
298 $NEUTRON_CONF:
299 DEFAULT:
300 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100301 vlan_transparent: true
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200302 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200303 AGENT:
304 debug_iptables_rules: 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,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100311 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200312 test-config:
313 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100314 network-feature-enabled:
315 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200316 neutron_plugin_options:
317 available_type_drivers: flat,vlan,local,vxlan
318 q_agent: linuxbridge
Hang Yange6e0ccf2021-02-26 15:07:05 -0600319 firewall_driver: iptables
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100320 irrelevant-files:
321 - ^(test-|)requirements.txt$
322 - ^releasenotes/.*$
323 - ^doc/.*$
324 - ^setup.cfg$
325 - ^.*\.rst$
326 - ^neutron/locale/.*$
327 - ^neutron/tests/unit/.*$
328 - ^tools/.*$
329 - ^tox.ini$
330 - ^neutron/agent/linux/openvswitch_firewall/.*$
331 - ^neutron/agent/ovn/.*$
332 - ^neutron/agent/windows/.*$
333 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
334 - ^neutron/plugins/ml2/drivers/macvtap/.*$
335 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
336 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200337
338- job:
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000339 name: neutron-tempest-plugin-scenario-ovn
340 parent: neutron-tempest-plugin-scenario
341 timeout: 10000
342 vars:
343 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100344 network_api_extensions_ovn:
345 - vlan-transparent
Slawek Kaplonski28082072020-11-02 21:32:04 +0100346 # TODO(haleyb): Remove IPv6Test from blacklist when
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000347 # https://bugs.launchpad.net/neutron/+bug/1881558 is fixed.
Slawek Kaplonski28082072020-11-02 21:32:04 +0100348 # TODO(slaweq): Remove test_trunk_subport_lifecycle test from the
349 # blacklist when bug https://bugs.launchpad.net/neutron/+bug/1885900 will
350 # be fixed
Jakub Libosvar20591c52020-10-29 21:01:51 +0100351 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
352 # once east/west fragmentation is supported in core OVN
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600353 tempest_exclude_regex: "\
Slawek Kaplonski28082072020-11-02 21:32:04 +0100354 (?:neutron_tempest_plugin.scenario.test_ipv6.IPv6Test)|\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100355 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle)|\
356 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000357 devstack_localrc:
358 Q_AGENT: ovn
Eduardo Olivares088707b2020-12-01 21:13:45 +0100359 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000360 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
361 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
362 Q_ML2_TENANT_NETWORK_TYPE: geneve
363 Q_USE_PROVIDERNET_FOR_PUBLIC: true
364 PHYSICAL_NETWORK: public
365 ENABLE_CHASSIS_AS_GW: true
366 OVN_L3_CREATE_PUBLIC_NETWORK: true
367 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000368 ENABLE_TLS: True
369 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100370 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
371 # is included in an ovn released version
372 OVN_BUILD_FROM_SOURCE: True
373 OVN_BRANCH: "v20.12.0"
374 OVS_BRANCH: "branch-2.15"
Slawek Kaplonski862cbeb2021-03-20 10:05:26 +0100375 OVS_SYSCONFDIR: "/usr/local/etc/openvswitch"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000376 devstack_services:
377 br-ex-tcpdump: true
378 br-int-flows: true
379 q-ovn-metadata-agent: true
380 ovn-controller: true
381 ovn-northd: true
382 ovs-vswitchd: true
383 ovsdb-server: true
384 q-agt: false
385 q-dhcp: false
386 q-l3: false
387 q-meta: false
388 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100389 q-qos: true
390 tls-proxy: true
391 # Cinder services
392 c-api: false
393 c-bak: false
394 c-sch: false
395 c-vol: false
396 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000397 s-account: false
398 s-container-sync: false
399 s-container: false
400 s-object: false
401 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000402 devstack_local_conf:
403 post-config:
404 $NEUTRON_CONF:
405 DEFAULT:
406 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100407 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000408 /$NEUTRON_CORE_PLUGIN_CONF:
409 ml2:
410 type_drivers: local,flat,vlan,geneve
411 test-config:
412 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100413 network-feature-enabled:
414 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000415 neutron_plugin_options:
416 available_type_drivers: local,flat,vlan,geneve
417 is_igmp_snooping_enabled: True
Hang Yange6e0ccf2021-02-26 15:07:05 -0600418 firewall_driver: ovn
Jakub Libosvar08f3c612021-02-07 15:50:23 +0100419 zuul_copy_output:
420 '{{ devstack_base_dir }}/data/ovs': 'logs'
421 '{{ devstack_base_dir }}/data/ovn': 'logs'
422 '{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
423 '{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100424 irrelevant-files:
425 - ^(test-|)requirements.txt$
426 - ^releasenotes/.*$
427 - ^doc/.*$
428 - ^setup.cfg$
429 - ^.*\.rst$
430 - ^neutron/locale/.*$
431 - ^neutron/tests/unit/.*$
432 - ^tools/.*$
433 - ^tox.ini$
434 - ^neutron/agent/dhcp/.*$
435 - ^neutron/agent/l2/.*$
436 - ^neutron/agent/l3/.*$
437 - ^neutron/agent/metadata/.*$
438 - ^neutron/agent/windows/.*$
439 - ^neutron/agent/dhcp_agent.py
440 - ^neutron/agent/l3_agent.py
441 - ^neutron/agent/metadata_agent.py
442 - ^neutron/agent/resource_cache.py
443 - ^neutron/agent/rpc.py
444 - ^neutron/agent/securitygroup_rpc.py
445 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
446 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
447 - ^neutron/plugins/ml2/drivers/macvtap/.*$
448 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
449 - ^neutron/scheduler/.*$
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000450
451- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200452 name: neutron-tempest-plugin-dvr-multinode-scenario
453 parent: tempest-multinode-full
454 description: |
455 Perform setup for Neutron tempest tests in multinode with DVR scenario
456 roles:
457 - zuul: openstack/devstack
458 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200459 - openstack/neutron
460 - openstack/neutron-tempest-plugin
461 - openstack/tempest
462 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
463 voting: false
464 vars:
465 tempest_concurrency: 4
466 tox_envlist: all
467 tempest_test_regex: ^neutron_tempest_plugin\.scenario
468 # NOTE(slaweq): in case of some tests, which requires advanced image,
469 # default test timeout set to 1200 seconds may be not enough if job is
470 # run on slow node
471 tempest_test_timeout: 2400
472 network_api_extensions_common: *api_extensions
473 network_api_extensions_dvr:
474 - dvr
475 devstack_localrc:
476 USE_PYTHON3: true
477 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
478 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200479 CIRROS_VERSION: 0.5.1
480 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
481 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200482 ADVANCED_INSTANCE_TYPE: ds512M
483 ADVANCED_INSTANCE_USER: ubuntu
484 BUILD_TIMEOUT: 784
485 devstack_plugins:
486 neutron: https://opendev.org/openstack/neutron.git
487 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
488 tempest_plugins:
489 - neutron-tempest-plugin
490 devstack_services:
491 tls-proxy: false
492 tempest: true
493 neutron-dns: true
494 neutron-qos: true
495 neutron-segments: true
496 neutron-trunk: true
497 neutron-log: true
498 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100499 # Cinder services
500 c-api: false
501 c-bak: false
502 c-sch: false
503 c-vol: false
504 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100505 # We don't need Swift to be run in the Neutron jobs
506 s-account: false
507 s-container: false
508 s-object: false
509 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200510 devstack_local_conf:
511 post-config:
512 $NEUTRON_CONF:
513 quotas:
514 quota_router: 100
515 quota_floatingip: 500
516 quota_security_group: 100
517 quota_security_group_rule: 1000
518 DEFAULT:
519 router_distributed: True
520 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
521 # devstack-tempest job will be switched to use lib/neutron instead of
522 # lib/neutron-legacy
523 "/$NEUTRON_CORE_PLUGIN_CONF":
524 ml2:
525 type_drivers: flat,geneve,vlan,gre,local,vxlan
526 mechanism_drivers: openvswitch,l2population
527 ml2_type_vlan:
528 network_vlan_ranges: foo:1:10
529 ml2_type_vxlan:
530 vni_ranges: 1:2000
531 ml2_type_gre:
532 tunnel_id_ranges: 1:1000
533 agent:
534 enable_distributed_routing: True
535 l2_population: True
536 tunnel_types: vxlan,gre
537 ovs:
538 tunnel_bridge: br-tun
539 bridge_mappings: public:br-ex
540 $NEUTRON_L3_CONF:
541 DEFAULT:
542 agent_mode: dvr_snat
543 agent:
544 availability_zone: nova
545 $NEUTRON_DHCP_CONF:
546 agent:
547 availability_zone: nova
548 "/etc/neutron/api-paste.ini":
549 "composite:neutronapi_v2_0":
550 use: "call:neutron.auth:pipeline_factory"
551 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
552 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
553 test-config:
554 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100555 network-feature-enabled:
556 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200557 neutron_plugin_options:
558 provider_vlans: foo,
559 agent_availability_zone: nova
560 image_is_advanced: true
561 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
562 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600563 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200564 group-vars:
565 subnode:
566 devstack_services:
567 tls-proxy: false
568 q-agt: true
569 q-l3: true
570 q-meta: true
571 neutron-qos: true
572 neutron-trunk: true
573 neutron-log: true
574 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100575 # Cinder services
576 c-bak: false
577 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100578 # We don't need Swift to be run in the Neutron jobs
579 s-account: false
580 s-container: false
581 s-object: false
582 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200583 devstack_localrc:
584 USE_PYTHON3: 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
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100606 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200607
608- job:
609 name: neutron-tempest-plugin-designate-scenario
610 parent: neutron-tempest-plugin-scenario
611 description: Neutron designate integration scenario
612 required-projects:
613 - openstack/designate
614 - openstack/designate-dashboard
615 - openstack/designate-tempest-plugin
616 timeout: 3600
617 vars:
618 network_api_extensions_common: *api_extensions
619 devstack_localrc:
620 DESIGNATE_BACKEND_DRIVER: bind9
621 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100622 Q_ML2_TENANT_NETWORK_TYPE: vxlan
623 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200624 # In this job advanced image is not needed, so it's name should be
625 # empty
626 ADVANCED_IMAGE_NAME: ""
627 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
628 devstack_local_conf:
629 post-config:
630 $NEUTRON_CONF:
631 DEFAULT:
632 enable_dvr: false
633 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
634 # devstack-tempest job will be switched to use lib/neutron instead of
635 # lib/neutron-legacy
636 /$NEUTRON_CORE_PLUGIN_CONF:
637 agent:
638 tunnel_types: vxlan,gre
639 ovs:
640 tunnel_bridge: br-tun
641 bridge_mappings: public:br-ex
642 devstack_plugins:
643 designate: https://opendev.org/openstack/designate.git
644 devstack_services:
645 cinder: false
646 designate: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100647 # Disable OVN services
648 br-ex-tcpdump: false
649 br-int-flows: false
650 ovn-controller: false
651 ovn-northd: false
652 ovs-vswitchd: false
653 ovsdb-server: false
654 q-ovn-metadata-agent: false
655 # Neutron services
656 q-agt: true
657 q-dhcp: true
658 q-l3: true
659 q-meta: true
660 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200661 tempest_plugins:
662 - designate-tempest-plugin
663 - neutron-tempest-plugin
664 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100665 irrelevant-files:
666 - ^(test-|)requirements.txt$
667 - ^releasenotes/.*$
668 - ^doc/.*$
669 - ^setup.cfg$
670 - ^.*\.rst$
671 - ^neutron/locale/.*$
672 - ^neutron/tests/unit/.*$
673 - ^tools/.*$
674 - ^tox.ini$
675 - ^neutron/agent/.*$
676 - ^neutron/cmd/.*$
677 - ^neutron/privileged/.*$
678 - ^neutron/plugins/ml2/drivers/.*$
679 - ^neutron/scheduler/.*$
680 - ^neutron/services/(?!externaldns).*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200681
682- job:
683 name: neutron-tempest-plugin-sfc
684 parent: neutron-tempest-plugin-base
685 timeout: 10800
686 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200687 - openstack/networking-sfc
688 - openstack/neutron
689 - openstack/neutron-tempest-plugin
690 - openstack/tempest
691 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200692 devstack_services:
693 # Disable OVN services
694 br-ex-tcpdump: false
695 br-int-flows: false
696 ovn-controller: false
697 ovn-northd: false
698 ovs-vswitchd: false
699 ovsdb-server: false
700 q-ovn-metadata-agent: false
701 # Enable Neutron services that are not used by OVN
702 q-agt: true
703 q-dhcp: true
704 q-l3: true
705 q-meta: true
706 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200707 network_api_extensions_common: *api_extensions
708 tempest_test_regex: ^neutron_tempest_plugin\.sfc
709 devstack_plugins:
710 networking-sfc: https://opendev.org/openstack/networking-sfc
711 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
712 network_api_extensions_sfc:
713 - flow_classifier
714 - sfc
715 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200716 Q_AGENT: openvswitch
717 Q_ML2_TENANT_NETWORK_TYPE: vxlan
718 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200719 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
720 # TODO(bcafarel): tests still fail from time to time in parallel
721 # https://bugs.launchpad.net/neutron/+bug/1851500
722 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
723 tempest_concurrency: 1
724
725- job:
726 name: neutron-tempest-plugin-bgpvpn-bagpipe
727 parent: neutron-tempest-plugin-base
728 required-projects:
729 - openstack/networking-bagpipe
730 - openstack/networking-bgpvpn
731 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200732 devstack_services:
733 # Disable OVN services
734 br-ex-tcpdump: false
735 br-int-flows: false
736 ovn-controller: false
737 ovn-northd: false
738 ovs-vswitchd: false
739 ovsdb-server: false
740 q-ovn-metadata-agent: false
741 # Enable Neutron services that are not used by OVN
742 q-agt: true
743 q-dhcp: true
744 q-l3: true
745 q-meta: true
746 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200747 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
748 network_api_extensions: *api_extensions
749 network_api_extensions_bgpvpn:
750 - bgpvpn
751 - bgpvpn-routes-control
752 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200753 Q_AGENT: openvswitch
754 Q_ML2_TENANT_NETWORK_TYPE: vxlan
755 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200756 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
757 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
758 BAGPIPE_BGP_PEERS: "-"
759 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
760 devstack_plugins:
761 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
762 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
763
764- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200765 name: neutron-tempest-plugin-dynamic-routing
766 parent: neutron-tempest-plugin-base
767 description: |
768 Perform setup common to all Neutron dynamic routing tempest tests
769 required-projects:
770 - openstack/neutron
771 - openstack/neutron-dynamic-routing
772 - openstack/os-ken
773 - openstack/tempest
774 pre-run: playbooks/dynamic-routing-pre-run.yaml
775 vars:
776 devstack_plugins:
777 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
778 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
779 network_api_extensions_common: *api_extensions
780 network_api_extensions_bgp:
781 - bgp
782 - bgp_dragent_scheduler
783 - bgp_4byte_asn
784 devstack_localrc:
785 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100786 Q_AGENT: openvswitch
787 Q_ML2_TENANT_NETWORK_TYPE: vxlan
788 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200789 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100790 # Disable OVN services
791 br-ex-tcpdump: false
792 br-int-flows: false
793 ovn-controller: false
794 ovn-northd: false
795 ovs-vswitchd: false
796 ovsdb-server: false
797 q-ovn-metadata-agent: false
798 # Neutron services
799 q-agt: true
800 q-dhcp: true
801 q-meta: true
802 q-metering: true
803 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200804 neutron-dr: true
805 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200806 tempest_concurrency: 1
807 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
808
809- job:
810 name: neutron-tempest-plugin-vpnaas
811 parent: neutron-tempest-plugin-base
812 timeout: 3900
813 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200814 - openstack/neutron
815 - openstack/neutron-vpnaas
816 - openstack/neutron-tempest-plugin
817 - openstack/tempest
818 vars:
819 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
820 devstack_plugins:
821 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
822 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
823 network_api_extensions_common: *api_extensions
824 network_api_extensions_vpnaas:
825 - vpnaas
826 devstack_localrc:
827 IPSEC_PACKAGE: strongswan
828 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"