blob: 4d4b152768005cc3ff1306b0bd09c0c52174fca1 [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:
Slawek Kaplonski20eb9672021-05-14 10:30:14 +020089 # Disable OVN services
90 br-ex-tcpdump: false
91 br-int-flows: false
92 ovn-controller: false
93 ovn-northd: false
94 ovs-vswitchd: false
95 ovsdb-server: false
96 q-ovn-metadata-agent: false
97 # Neutron services
98 q-agt: true
99 q-dhcp: true
100 q-l3: true
101 q-meta: true
102 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200103 neutron-log: true
Slawek Kaplonskide203632020-11-05 14:34:10 +0100104 devstack_localrc:
Slawek Kaplonski20eb9672021-05-14 10:30:14 +0200105 Q_AGENT: openvswitch
106 Q_ML2_TENANT_NETWORK_TYPE: vxlan
107 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200108 devstack_local_conf:
109 post-config:
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: gre,vxlan
116 network_log:
117 local_output_log_base: /tmp/test_log.log
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100118 irrelevant-files:
119 - ^(test-|)requirements.txt$
120 - ^releasenotes/.*$
121 - ^doc/.*$
122 - ^setup.cfg$
123 - ^.*\.rst$
124 - ^neutron/locale/.*$
125 - ^neutron/tests/unit/.*$
126 - ^tools/.*$
127 - ^tox.ini$
128 - ^neutron/agent/.*$
129 - ^neutron/privileged/.*$
130 - ^neutron_tempest_plugin/scenario/.*$
131
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200132
133- job:
134 name: neutron-tempest-plugin-scenario-openvswitch
135 parent: neutron-tempest-plugin-scenario
136 timeout: 10000
137 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100138 devstack_services:
139 # Disable OVN services
140 br-ex-tcpdump: false
141 br-int-flows: false
142 ovn-controller: false
143 ovn-northd: false
144 ovs-vswitchd: false
145 ovsdb-server: false
146 q-ovn-metadata-agent: false
147 # Neutron services
148 q-agt: true
149 q-dhcp: true
150 q-l3: true
151 q-meta: true
152 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200153 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100154 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200155 devstack_localrc:
156 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100157 Q_ML2_TENANT_NETWORK_TYPE: vxlan
158 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200159 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
160 devstack_local_conf:
161 post-config:
162 $NEUTRON_CONF:
163 DEFAULT:
164 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200165 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200166 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
167 # devstack-tempest job will be switched to use lib/neutron instead of
168 # lib/neutron-legacy
169 /$NEUTRON_CORE_PLUGIN_CONF:
170 agent:
171 tunnel_types: vxlan,gre
172 ovs:
173 tunnel_bridge: br-tun
174 bridge_mappings: public:br-ex
175 test-config:
176 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100177 network-feature-enabled:
178 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200179 neutron_plugin_options:
180 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600181 firewall_driver: openvswitch
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100182 irrelevant-files: &openvswitch-scenario-irrelevant-files
183 - ^(test-|)requirements.txt$
184 - ^releasenotes/.*$
185 - ^doc/.*$
186 - ^setup.cfg$
187 - ^.*\.rst$
188 - ^neutron/locale/.*$
189 - ^neutron/tests/unit/.*$
190 - ^tools/.*$
191 - ^tox.ini$
192 - ^neutron/agent/ovn/.*$
193 - ^neutron/agent/windows/.*$
194 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
195 - ^neutron/plugins/ml2/drivers/macvtap/.*$
196 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
197 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200198
199- job:
200 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
201 parent: neutron-tempest-plugin-scenario
202 timeout: 10000
203 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100204 devstack_services:
205 # Disable OVN services
206 br-ex-tcpdump: false
207 br-int-flows: false
208 ovn-controller: false
209 ovn-northd: false
210 ovs-vswitchd: false
211 ovsdb-server: false
212 q-ovn-metadata-agent: false
213 # Neutron services
214 q-agt: true
215 q-dhcp: true
216 q-l3: true
217 q-meta: true
218 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200219 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100220 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200221 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
222 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
Alex Katzbd2bfd42021-05-26 18:12:36 +0300223 # TODO(akatz): remove established tcp session verification test when the
224 # bug https://bugzilla.redhat.com/show_bug.cgi?id=1965036 will be fixed
225 tempest_exclude_regex: "\
226 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
227 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200228 devstack_localrc:
229 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100230 Q_ML2_TENANT_NETWORK_TYPE: vxlan
231 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200232 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
233 devstack_local_conf:
234 post-config:
235 $NEUTRON_CONF:
236 DEFAULT:
237 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200238 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200239 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
240 # devstack-tempest job will be switched to use lib/neutron instead of
241 # lib/neutron-legacy
242 /$NEUTRON_CORE_PLUGIN_CONF:
243 agent:
244 tunnel_types: vxlan,gre
245 ovs:
246 tunnel_bridge: br-tun
247 bridge_mappings: public:br-ex
248 securitygroup:
249 firewall_driver: iptables_hybrid
250 test-config:
251 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100252 network-feature-enabled:
253 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200254 neutron_plugin_options:
255 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600256 firewall_driver: iptables_hybrid
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100257 irrelevant-files:
258 - ^(test-|)requirements.txt$
259 - ^releasenotes/.*$
260 - ^doc/.*$
261 - ^setup.cfg$
262 - ^.*\.rst$
263 - ^neutron/locale/.*$
264 - ^neutron/tests/unit/.*$
265 - ^tools/.*$
266 - ^tox.ini$
267 - ^neutron/agent/linux/openvswitch_firewall/.*$
268 - ^neutron/agent/ovn/.*$
269 - ^neutron/agent/windows/.*$
270 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
271 - ^neutron/plugins/ml2/drivers/macvtap/.*$
272 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
273 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200274
275- job:
276 name: neutron-tempest-plugin-scenario-linuxbridge
277 parent: neutron-tempest-plugin-scenario
278 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200279 roles:
280 - zuul: openstack/neutron
281 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200282 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100283 devstack_services:
284 # Disable OVN services
285 br-ex-tcpdump: false
286 br-int-flows: false
287 ovn-controller: false
288 ovn-northd: false
289 ovs-vswitchd: false
290 ovsdb-server: false
291 q-ovn-metadata-agent: false
292 # Neutron services
293 q-agt: true
294 q-dhcp: true
295 q-l3: true
296 q-meta: true
297 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200298 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100299 network_api_extensions_linuxbridge:
300 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100301 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100302 # TODO(eolivare): remove VLAN Transparency tests from blacklist
303 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600304 tempest_exclude_regex: "(^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200305 devstack_localrc:
306 Q_AGENT: linuxbridge
Eduardo Olivares088707b2020-12-01 21:13:45 +0100307 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100308 Q_ML2_TENANT_NETWORK_TYPE: vxlan
309 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200310 devstack_local_conf:
311 post-config:
312 $NEUTRON_CONF:
313 DEFAULT:
314 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100315 vlan_transparent: true
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200316 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200317 AGENT:
318 debug_iptables_rules: true
319 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
320 # devstack-tempest job will be switched to use lib/neutron instead of
321 # lib/neutron-legacy
322 /$NEUTRON_CORE_PLUGIN_CONF:
323 ml2:
324 type_drivers: flat,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100325 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200326 test-config:
327 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100328 network-feature-enabled:
329 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200330 neutron_plugin_options:
331 available_type_drivers: flat,vlan,local,vxlan
332 q_agent: linuxbridge
Hang Yange6e0ccf2021-02-26 15:07:05 -0600333 firewall_driver: iptables
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100334 irrelevant-files:
335 - ^(test-|)requirements.txt$
336 - ^releasenotes/.*$
337 - ^doc/.*$
338 - ^setup.cfg$
339 - ^.*\.rst$
340 - ^neutron/locale/.*$
341 - ^neutron/tests/unit/.*$
342 - ^tools/.*$
343 - ^tox.ini$
344 - ^neutron/agent/linux/openvswitch_firewall/.*$
345 - ^neutron/agent/ovn/.*$
346 - ^neutron/agent/windows/.*$
347 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
348 - ^neutron/plugins/ml2/drivers/macvtap/.*$
349 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
350 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200351
352- job:
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000353 name: neutron-tempest-plugin-scenario-ovn
354 parent: neutron-tempest-plugin-scenario
355 timeout: 10000
356 vars:
357 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100358 network_api_extensions_ovn:
359 - vlan-transparent
Slawek Kaplonski28082072020-11-02 21:32:04 +0100360 # TODO(haleyb): Remove IPv6Test from blacklist when
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000361 # https://bugs.launchpad.net/neutron/+bug/1881558 is fixed.
Slawek Kaplonski28082072020-11-02 21:32:04 +0100362 # TODO(slaweq): Remove test_trunk_subport_lifecycle test from the
363 # blacklist when bug https://bugs.launchpad.net/neutron/+bug/1885900 will
364 # be fixed
Jakub Libosvar20591c52020-10-29 21:01:51 +0100365 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
366 # once east/west fragmentation is supported in core OVN
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600367 tempest_exclude_regex: "\
Slawek Kaplonski28082072020-11-02 21:32:04 +0100368 (?:neutron_tempest_plugin.scenario.test_ipv6.IPv6Test)|\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100369 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle)|\
370 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000371 devstack_localrc:
372 Q_AGENT: ovn
Eduardo Olivares088707b2020-12-01 21:13:45 +0100373 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000374 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
375 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
376 Q_ML2_TENANT_NETWORK_TYPE: geneve
377 Q_USE_PROVIDERNET_FOR_PUBLIC: true
378 PHYSICAL_NETWORK: public
379 ENABLE_CHASSIS_AS_GW: true
380 OVN_L3_CREATE_PUBLIC_NETWORK: true
381 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000382 ENABLE_TLS: True
383 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100384 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
385 # is included in an ovn released version
386 OVN_BUILD_FROM_SOURCE: True
387 OVN_BRANCH: "v20.12.0"
388 OVS_BRANCH: "branch-2.15"
Slawek Kaplonski862cbeb2021-03-20 10:05:26 +0100389 OVS_SYSCONFDIR: "/usr/local/etc/openvswitch"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000390 devstack_services:
391 br-ex-tcpdump: true
392 br-int-flows: true
393 q-ovn-metadata-agent: true
394 ovn-controller: true
395 ovn-northd: true
396 ovs-vswitchd: true
397 ovsdb-server: true
398 q-agt: false
399 q-dhcp: false
400 q-l3: false
401 q-meta: false
402 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100403 q-qos: true
404 tls-proxy: true
405 # Cinder services
406 c-api: false
407 c-bak: false
408 c-sch: false
409 c-vol: false
410 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000411 s-account: false
412 s-container-sync: false
413 s-container: false
414 s-object: false
415 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000416 devstack_local_conf:
417 post-config:
418 $NEUTRON_CONF:
419 DEFAULT:
420 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100421 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000422 /$NEUTRON_CORE_PLUGIN_CONF:
423 ml2:
424 type_drivers: local,flat,vlan,geneve
425 test-config:
426 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100427 network-feature-enabled:
428 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000429 neutron_plugin_options:
430 available_type_drivers: local,flat,vlan,geneve
431 is_igmp_snooping_enabled: True
Hang Yange6e0ccf2021-02-26 15:07:05 -0600432 firewall_driver: ovn
Jakub Libosvar08f3c612021-02-07 15:50:23 +0100433 zuul_copy_output:
434 '{{ devstack_base_dir }}/data/ovs': 'logs'
435 '{{ devstack_base_dir }}/data/ovn': 'logs'
436 '{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
437 '{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100438 irrelevant-files:
439 - ^(test-|)requirements.txt$
440 - ^releasenotes/.*$
441 - ^doc/.*$
442 - ^setup.cfg$
443 - ^.*\.rst$
444 - ^neutron/locale/.*$
445 - ^neutron/tests/unit/.*$
446 - ^tools/.*$
447 - ^tox.ini$
448 - ^neutron/agent/dhcp/.*$
449 - ^neutron/agent/l2/.*$
450 - ^neutron/agent/l3/.*$
451 - ^neutron/agent/metadata/.*$
452 - ^neutron/agent/windows/.*$
453 - ^neutron/agent/dhcp_agent.py
454 - ^neutron/agent/l3_agent.py
455 - ^neutron/agent/metadata_agent.py
456 - ^neutron/agent/resource_cache.py
457 - ^neutron/agent/rpc.py
458 - ^neutron/agent/securitygroup_rpc.py
459 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
460 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
461 - ^neutron/plugins/ml2/drivers/macvtap/.*$
462 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
463 - ^neutron/scheduler/.*$
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000464
465- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200466 name: neutron-tempest-plugin-dvr-multinode-scenario
467 parent: tempest-multinode-full
468 description: |
469 Perform setup for Neutron tempest tests in multinode with DVR scenario
470 roles:
471 - zuul: openstack/devstack
472 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200473 - openstack/neutron
474 - openstack/neutron-tempest-plugin
475 - openstack/tempest
476 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
477 voting: false
478 vars:
479 tempest_concurrency: 4
480 tox_envlist: all
481 tempest_test_regex: ^neutron_tempest_plugin\.scenario
482 # NOTE(slaweq): in case of some tests, which requires advanced image,
483 # default test timeout set to 1200 seconds may be not enough if job is
484 # run on slow node
485 tempest_test_timeout: 2400
486 network_api_extensions_common: *api_extensions
487 network_api_extensions_dvr:
488 - dvr
489 devstack_localrc:
490 USE_PYTHON3: true
491 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
492 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200493 CIRROS_VERSION: 0.5.1
494 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
495 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200496 ADVANCED_INSTANCE_TYPE: ds512M
497 ADVANCED_INSTANCE_USER: ubuntu
498 BUILD_TIMEOUT: 784
499 devstack_plugins:
500 neutron: https://opendev.org/openstack/neutron.git
501 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
502 tempest_plugins:
503 - neutron-tempest-plugin
504 devstack_services:
505 tls-proxy: false
506 tempest: true
507 neutron-dns: true
508 neutron-qos: true
509 neutron-segments: true
510 neutron-trunk: true
511 neutron-log: true
512 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100513 # Cinder services
514 c-api: false
515 c-bak: false
516 c-sch: false
517 c-vol: false
518 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100519 # We don't need Swift to be run in the Neutron jobs
520 s-account: false
521 s-container: false
522 s-object: false
523 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200524 devstack_local_conf:
525 post-config:
526 $NEUTRON_CONF:
527 quotas:
528 quota_router: 100
529 quota_floatingip: 500
530 quota_security_group: 100
531 quota_security_group_rule: 1000
532 DEFAULT:
533 router_distributed: True
534 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
535 # devstack-tempest job will be switched to use lib/neutron instead of
536 # lib/neutron-legacy
537 "/$NEUTRON_CORE_PLUGIN_CONF":
538 ml2:
539 type_drivers: flat,geneve,vlan,gre,local,vxlan
540 mechanism_drivers: openvswitch,l2population
541 ml2_type_vlan:
542 network_vlan_ranges: foo:1:10
543 ml2_type_vxlan:
544 vni_ranges: 1:2000
545 ml2_type_gre:
546 tunnel_id_ranges: 1:1000
547 agent:
548 enable_distributed_routing: True
549 l2_population: True
550 tunnel_types: vxlan,gre
551 ovs:
552 tunnel_bridge: br-tun
553 bridge_mappings: public:br-ex
554 $NEUTRON_L3_CONF:
555 DEFAULT:
556 agent_mode: dvr_snat
557 agent:
558 availability_zone: nova
559 $NEUTRON_DHCP_CONF:
560 agent:
561 availability_zone: nova
562 "/etc/neutron/api-paste.ini":
563 "composite:neutronapi_v2_0":
564 use: "call:neutron.auth:pipeline_factory"
565 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
566 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
567 test-config:
568 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100569 network-feature-enabled:
570 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200571 neutron_plugin_options:
572 provider_vlans: foo,
573 agent_availability_zone: nova
574 image_is_advanced: true
575 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
576 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600577 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200578 group-vars:
579 subnode:
580 devstack_services:
581 tls-proxy: false
582 q-agt: true
583 q-l3: true
584 q-meta: true
585 neutron-qos: true
586 neutron-trunk: true
587 neutron-log: true
588 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100589 # Cinder services
590 c-bak: false
591 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100592 # We don't need Swift to be run in the Neutron jobs
593 s-account: false
594 s-container: false
595 s-object: false
596 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200597 devstack_localrc:
598 USE_PYTHON3: true
599 devstack_local_conf:
600 post-config:
601 $NEUTRON_CONF:
602 DEFAULT:
603 router_distributed: True
604 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
605 # devstack-tempest job will be switched to use lib/neutron instead of
606 # lib/neutron-legacy
607 "/$NEUTRON_CORE_PLUGIN_CONF":
608 agent:
609 enable_distributed_routing: True
610 l2_population: True
611 tunnel_types: vxlan,gre
612 ovs:
613 tunnel_bridge: br-tun
614 bridge_mappings: public:br-ex
615 $NEUTRON_L3_CONF:
616 DEFAULT:
617 agent_mode: dvr_snat
618 agent:
619 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100620 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200621
622- job:
623 name: neutron-tempest-plugin-designate-scenario
624 parent: neutron-tempest-plugin-scenario
625 description: Neutron designate integration scenario
626 required-projects:
627 - openstack/designate
628 - openstack/designate-dashboard
629 - openstack/designate-tempest-plugin
630 timeout: 3600
631 vars:
632 network_api_extensions_common: *api_extensions
633 devstack_localrc:
634 DESIGNATE_BACKEND_DRIVER: bind9
635 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100636 Q_ML2_TENANT_NETWORK_TYPE: vxlan
637 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200638 # In this job advanced image is not needed, so it's name should be
639 # empty
640 ADVANCED_IMAGE_NAME: ""
641 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
642 devstack_local_conf:
643 post-config:
644 $NEUTRON_CONF:
645 DEFAULT:
646 enable_dvr: false
647 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
648 # devstack-tempest job will be switched to use lib/neutron instead of
649 # lib/neutron-legacy
650 /$NEUTRON_CORE_PLUGIN_CONF:
651 agent:
652 tunnel_types: vxlan,gre
653 ovs:
654 tunnel_bridge: br-tun
655 bridge_mappings: public:br-ex
656 devstack_plugins:
657 designate: https://opendev.org/openstack/designate.git
658 devstack_services:
659 cinder: false
660 designate: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100661 # Disable OVN services
662 br-ex-tcpdump: false
663 br-int-flows: false
664 ovn-controller: false
665 ovn-northd: false
666 ovs-vswitchd: false
667 ovsdb-server: false
668 q-ovn-metadata-agent: false
669 # Neutron services
670 q-agt: true
671 q-dhcp: true
672 q-l3: true
673 q-meta: true
674 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200675 tempest_plugins:
676 - designate-tempest-plugin
677 - neutron-tempest-plugin
678 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100679 irrelevant-files:
680 - ^(test-|)requirements.txt$
681 - ^releasenotes/.*$
682 - ^doc/.*$
683 - ^setup.cfg$
684 - ^.*\.rst$
685 - ^neutron/locale/.*$
686 - ^neutron/tests/unit/.*$
687 - ^tools/.*$
688 - ^tox.ini$
689 - ^neutron/agent/.*$
690 - ^neutron/cmd/.*$
691 - ^neutron/privileged/.*$
692 - ^neutron/plugins/ml2/drivers/.*$
693 - ^neutron/scheduler/.*$
694 - ^neutron/services/(?!externaldns).*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200695
696- job:
697 name: neutron-tempest-plugin-sfc
698 parent: neutron-tempest-plugin-base
699 timeout: 10800
700 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200701 - openstack/networking-sfc
702 - openstack/neutron
703 - openstack/neutron-tempest-plugin
704 - openstack/tempest
705 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200706 devstack_services:
707 # Disable OVN services
708 br-ex-tcpdump: false
709 br-int-flows: false
710 ovn-controller: false
711 ovn-northd: false
712 ovs-vswitchd: false
713 ovsdb-server: false
714 q-ovn-metadata-agent: false
715 # Enable Neutron services that are not used by OVN
716 q-agt: true
717 q-dhcp: true
718 q-l3: true
719 q-meta: true
720 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200721 network_api_extensions_common: *api_extensions
722 tempest_test_regex: ^neutron_tempest_plugin\.sfc
723 devstack_plugins:
724 networking-sfc: https://opendev.org/openstack/networking-sfc
725 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
726 network_api_extensions_sfc:
727 - flow_classifier
728 - sfc
729 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200730 Q_AGENT: openvswitch
731 Q_ML2_TENANT_NETWORK_TYPE: vxlan
732 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200733 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
734 # TODO(bcafarel): tests still fail from time to time in parallel
735 # https://bugs.launchpad.net/neutron/+bug/1851500
736 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
737 tempest_concurrency: 1
738
739- job:
740 name: neutron-tempest-plugin-bgpvpn-bagpipe
741 parent: neutron-tempest-plugin-base
742 required-projects:
743 - openstack/networking-bagpipe
744 - openstack/networking-bgpvpn
745 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200746 devstack_services:
747 # Disable OVN services
748 br-ex-tcpdump: false
749 br-int-flows: false
750 ovn-controller: false
751 ovn-northd: false
752 ovs-vswitchd: false
753 ovsdb-server: false
754 q-ovn-metadata-agent: false
755 # Enable Neutron services that are not used by OVN
756 q-agt: true
757 q-dhcp: true
758 q-l3: true
759 q-meta: true
760 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200761 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
762 network_api_extensions: *api_extensions
763 network_api_extensions_bgpvpn:
764 - bgpvpn
765 - bgpvpn-routes-control
766 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200767 Q_AGENT: openvswitch
768 Q_ML2_TENANT_NETWORK_TYPE: vxlan
769 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200770 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
771 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
772 BAGPIPE_BGP_PEERS: "-"
773 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
774 devstack_plugins:
775 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
776 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
777
778- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200779 name: neutron-tempest-plugin-dynamic-routing
780 parent: neutron-tempest-plugin-base
781 description: |
782 Perform setup common to all Neutron dynamic routing tempest tests
783 required-projects:
784 - openstack/neutron
785 - openstack/neutron-dynamic-routing
786 - openstack/os-ken
787 - openstack/tempest
788 pre-run: playbooks/dynamic-routing-pre-run.yaml
789 vars:
790 devstack_plugins:
791 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
792 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
793 network_api_extensions_common: *api_extensions
794 network_api_extensions_bgp:
795 - bgp
796 - bgp_dragent_scheduler
797 - bgp_4byte_asn
798 devstack_localrc:
799 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100800 Q_AGENT: openvswitch
801 Q_ML2_TENANT_NETWORK_TYPE: vxlan
802 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200803 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100804 # Disable OVN services
805 br-ex-tcpdump: false
806 br-int-flows: false
807 ovn-controller: false
808 ovn-northd: false
809 ovs-vswitchd: false
810 ovsdb-server: false
811 q-ovn-metadata-agent: false
812 # Neutron services
813 q-agt: true
814 q-dhcp: true
815 q-meta: true
816 q-metering: true
817 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200818 neutron-dr: true
819 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200820 tempest_concurrency: 1
821 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
822
823- job:
824 name: neutron-tempest-plugin-vpnaas
825 parent: neutron-tempest-plugin-base
826 timeout: 3900
827 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200828 - openstack/neutron
829 - openstack/neutron-vpnaas
830 - openstack/neutron-tempest-plugin
831 - openstack/tempest
832 vars:
833 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
834 devstack_plugins:
835 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
836 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
837 network_api_extensions_common: *api_extensions
838 network_api_extensions_vpnaas:
839 - vpnaas
840 devstack_localrc:
841 IPSEC_PACKAGE: strongswan
842 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"