blob: fd256e1b3ae86ad1db85b5f63eb4c922bc85fc66 [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
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600223 tempest_exclude_regex: "(^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200224 devstack_localrc:
225 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100226 Q_ML2_TENANT_NETWORK_TYPE: vxlan
227 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200228 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
229 devstack_local_conf:
230 post-config:
231 $NEUTRON_CONF:
232 DEFAULT:
233 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200234 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200235 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
236 # devstack-tempest job will be switched to use lib/neutron instead of
237 # lib/neutron-legacy
238 /$NEUTRON_CORE_PLUGIN_CONF:
239 agent:
240 tunnel_types: vxlan,gre
241 ovs:
242 tunnel_bridge: br-tun
243 bridge_mappings: public:br-ex
244 securitygroup:
245 firewall_driver: iptables_hybrid
246 test-config:
247 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100248 network-feature-enabled:
249 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200250 neutron_plugin_options:
251 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600252 firewall_driver: iptables_hybrid
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100253 irrelevant-files:
254 - ^(test-|)requirements.txt$
255 - ^releasenotes/.*$
256 - ^doc/.*$
257 - ^setup.cfg$
258 - ^.*\.rst$
259 - ^neutron/locale/.*$
260 - ^neutron/tests/unit/.*$
261 - ^tools/.*$
262 - ^tox.ini$
263 - ^neutron/agent/linux/openvswitch_firewall/.*$
264 - ^neutron/agent/ovn/.*$
265 - ^neutron/agent/windows/.*$
266 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
267 - ^neutron/plugins/ml2/drivers/macvtap/.*$
268 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
269 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200270
271- job:
272 name: neutron-tempest-plugin-scenario-linuxbridge
273 parent: neutron-tempest-plugin-scenario
274 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200275 roles:
276 - zuul: openstack/neutron
277 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200278 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100279 devstack_services:
280 # Disable OVN services
281 br-ex-tcpdump: false
282 br-int-flows: false
283 ovn-controller: false
284 ovn-northd: false
285 ovs-vswitchd: false
286 ovsdb-server: false
287 q-ovn-metadata-agent: false
288 # Neutron services
289 q-agt: true
290 q-dhcp: true
291 q-l3: true
292 q-meta: true
293 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200294 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100295 network_api_extensions_linuxbridge:
296 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100297 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100298 # TODO(eolivare): remove VLAN Transparency tests from blacklist
299 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600300 tempest_exclude_regex: "(^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200301 devstack_localrc:
302 Q_AGENT: linuxbridge
Eduardo Olivares088707b2020-12-01 21:13:45 +0100303 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100304 Q_ML2_TENANT_NETWORK_TYPE: vxlan
305 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200306 devstack_local_conf:
307 post-config:
308 $NEUTRON_CONF:
309 DEFAULT:
310 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100311 vlan_transparent: true
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200312 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200313 AGENT:
314 debug_iptables_rules: true
315 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
316 # devstack-tempest job will be switched to use lib/neutron instead of
317 # lib/neutron-legacy
318 /$NEUTRON_CORE_PLUGIN_CONF:
319 ml2:
320 type_drivers: flat,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100321 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200322 test-config:
323 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100324 network-feature-enabled:
325 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200326 neutron_plugin_options:
327 available_type_drivers: flat,vlan,local,vxlan
328 q_agent: linuxbridge
Hang Yange6e0ccf2021-02-26 15:07:05 -0600329 firewall_driver: iptables
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100330 irrelevant-files:
331 - ^(test-|)requirements.txt$
332 - ^releasenotes/.*$
333 - ^doc/.*$
334 - ^setup.cfg$
335 - ^.*\.rst$
336 - ^neutron/locale/.*$
337 - ^neutron/tests/unit/.*$
338 - ^tools/.*$
339 - ^tox.ini$
340 - ^neutron/agent/linux/openvswitch_firewall/.*$
341 - ^neutron/agent/ovn/.*$
342 - ^neutron/agent/windows/.*$
343 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
344 - ^neutron/plugins/ml2/drivers/macvtap/.*$
345 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
346 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200347
348- job:
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000349 name: neutron-tempest-plugin-scenario-ovn
350 parent: neutron-tempest-plugin-scenario
351 timeout: 10000
352 vars:
353 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100354 network_api_extensions_ovn:
355 - vlan-transparent
Slawek Kaplonski28082072020-11-02 21:32:04 +0100356 # TODO(haleyb): Remove IPv6Test from blacklist when
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000357 # https://bugs.launchpad.net/neutron/+bug/1881558 is fixed.
Slawek Kaplonski28082072020-11-02 21:32:04 +0100358 # TODO(slaweq): Remove test_trunk_subport_lifecycle test from the
359 # blacklist when bug https://bugs.launchpad.net/neutron/+bug/1885900 will
360 # be fixed
Jakub Libosvar20591c52020-10-29 21:01:51 +0100361 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
362 # once east/west fragmentation is supported in core OVN
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600363 tempest_exclude_regex: "\
Slawek Kaplonski28082072020-11-02 21:32:04 +0100364 (?:neutron_tempest_plugin.scenario.test_ipv6.IPv6Test)|\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100365 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle)|\
366 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000367 devstack_localrc:
368 Q_AGENT: ovn
Eduardo Olivares088707b2020-12-01 21:13:45 +0100369 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000370 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
371 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
372 Q_ML2_TENANT_NETWORK_TYPE: geneve
373 Q_USE_PROVIDERNET_FOR_PUBLIC: true
374 PHYSICAL_NETWORK: public
375 ENABLE_CHASSIS_AS_GW: true
376 OVN_L3_CREATE_PUBLIC_NETWORK: true
377 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000378 ENABLE_TLS: True
379 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100380 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
381 # is included in an ovn released version
382 OVN_BUILD_FROM_SOURCE: True
383 OVN_BRANCH: "v20.12.0"
384 OVS_BRANCH: "branch-2.15"
Slawek Kaplonski862cbeb2021-03-20 10:05:26 +0100385 OVS_SYSCONFDIR: "/usr/local/etc/openvswitch"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000386 devstack_services:
387 br-ex-tcpdump: true
388 br-int-flows: true
389 q-ovn-metadata-agent: true
390 ovn-controller: true
391 ovn-northd: true
392 ovs-vswitchd: true
393 ovsdb-server: true
394 q-agt: false
395 q-dhcp: false
396 q-l3: false
397 q-meta: false
398 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100399 q-qos: true
400 tls-proxy: true
401 # Cinder services
402 c-api: false
403 c-bak: false
404 c-sch: false
405 c-vol: false
406 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000407 s-account: false
408 s-container-sync: false
409 s-container: false
410 s-object: false
411 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000412 devstack_local_conf:
413 post-config:
414 $NEUTRON_CONF:
415 DEFAULT:
416 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100417 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000418 /$NEUTRON_CORE_PLUGIN_CONF:
419 ml2:
420 type_drivers: local,flat,vlan,geneve
421 test-config:
422 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100423 network-feature-enabled:
424 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000425 neutron_plugin_options:
426 available_type_drivers: local,flat,vlan,geneve
427 is_igmp_snooping_enabled: True
Hang Yange6e0ccf2021-02-26 15:07:05 -0600428 firewall_driver: ovn
Jakub Libosvar08f3c612021-02-07 15:50:23 +0100429 zuul_copy_output:
430 '{{ devstack_base_dir }}/data/ovs': 'logs'
431 '{{ devstack_base_dir }}/data/ovn': 'logs'
432 '{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
433 '{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100434 irrelevant-files:
435 - ^(test-|)requirements.txt$
436 - ^releasenotes/.*$
437 - ^doc/.*$
438 - ^setup.cfg$
439 - ^.*\.rst$
440 - ^neutron/locale/.*$
441 - ^neutron/tests/unit/.*$
442 - ^tools/.*$
443 - ^tox.ini$
444 - ^neutron/agent/dhcp/.*$
445 - ^neutron/agent/l2/.*$
446 - ^neutron/agent/l3/.*$
447 - ^neutron/agent/metadata/.*$
448 - ^neutron/agent/windows/.*$
449 - ^neutron/agent/dhcp_agent.py
450 - ^neutron/agent/l3_agent.py
451 - ^neutron/agent/metadata_agent.py
452 - ^neutron/agent/resource_cache.py
453 - ^neutron/agent/rpc.py
454 - ^neutron/agent/securitygroup_rpc.py
455 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
456 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
457 - ^neutron/plugins/ml2/drivers/macvtap/.*$
458 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
459 - ^neutron/scheduler/.*$
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000460
461- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200462 name: neutron-tempest-plugin-dvr-multinode-scenario
463 parent: tempest-multinode-full
464 description: |
465 Perform setup for Neutron tempest tests in multinode with DVR scenario
466 roles:
467 - zuul: openstack/devstack
468 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200469 - openstack/neutron
470 - openstack/neutron-tempest-plugin
471 - openstack/tempest
472 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
473 voting: false
474 vars:
475 tempest_concurrency: 4
476 tox_envlist: all
477 tempest_test_regex: ^neutron_tempest_plugin\.scenario
478 # NOTE(slaweq): in case of some tests, which requires advanced image,
479 # default test timeout set to 1200 seconds may be not enough if job is
480 # run on slow node
481 tempest_test_timeout: 2400
482 network_api_extensions_common: *api_extensions
483 network_api_extensions_dvr:
484 - dvr
485 devstack_localrc:
486 USE_PYTHON3: true
487 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
488 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200489 CIRROS_VERSION: 0.5.1
490 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
491 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200492 ADVANCED_INSTANCE_TYPE: ds512M
493 ADVANCED_INSTANCE_USER: ubuntu
494 BUILD_TIMEOUT: 784
495 devstack_plugins:
496 neutron: https://opendev.org/openstack/neutron.git
497 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
498 tempest_plugins:
499 - neutron-tempest-plugin
500 devstack_services:
501 tls-proxy: false
502 tempest: true
503 neutron-dns: true
504 neutron-qos: true
505 neutron-segments: true
506 neutron-trunk: true
507 neutron-log: true
508 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100509 # Cinder services
510 c-api: false
511 c-bak: false
512 c-sch: false
513 c-vol: false
514 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100515 # We don't need Swift to be run in the Neutron jobs
516 s-account: false
517 s-container: false
518 s-object: false
519 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200520 devstack_local_conf:
521 post-config:
522 $NEUTRON_CONF:
523 quotas:
524 quota_router: 100
525 quota_floatingip: 500
526 quota_security_group: 100
527 quota_security_group_rule: 1000
528 DEFAULT:
529 router_distributed: True
530 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
531 # devstack-tempest job will be switched to use lib/neutron instead of
532 # lib/neutron-legacy
533 "/$NEUTRON_CORE_PLUGIN_CONF":
534 ml2:
535 type_drivers: flat,geneve,vlan,gre,local,vxlan
536 mechanism_drivers: openvswitch,l2population
537 ml2_type_vlan:
538 network_vlan_ranges: foo:1:10
539 ml2_type_vxlan:
540 vni_ranges: 1:2000
541 ml2_type_gre:
542 tunnel_id_ranges: 1:1000
543 agent:
544 enable_distributed_routing: True
545 l2_population: True
546 tunnel_types: vxlan,gre
547 ovs:
548 tunnel_bridge: br-tun
549 bridge_mappings: public:br-ex
550 $NEUTRON_L3_CONF:
551 DEFAULT:
552 agent_mode: dvr_snat
553 agent:
554 availability_zone: nova
555 $NEUTRON_DHCP_CONF:
556 agent:
557 availability_zone: nova
558 "/etc/neutron/api-paste.ini":
559 "composite:neutronapi_v2_0":
560 use: "call:neutron.auth:pipeline_factory"
561 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
562 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
563 test-config:
564 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100565 network-feature-enabled:
566 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200567 neutron_plugin_options:
568 provider_vlans: foo,
569 agent_availability_zone: nova
570 image_is_advanced: true
571 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
572 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600573 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200574 group-vars:
575 subnode:
576 devstack_services:
577 tls-proxy: false
578 q-agt: true
579 q-l3: true
580 q-meta: true
581 neutron-qos: true
582 neutron-trunk: true
583 neutron-log: true
584 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100585 # Cinder services
586 c-bak: false
587 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100588 # We don't need Swift to be run in the Neutron jobs
589 s-account: false
590 s-container: false
591 s-object: false
592 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200593 devstack_localrc:
594 USE_PYTHON3: true
595 devstack_local_conf:
596 post-config:
597 $NEUTRON_CONF:
598 DEFAULT:
599 router_distributed: True
600 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
601 # devstack-tempest job will be switched to use lib/neutron instead of
602 # lib/neutron-legacy
603 "/$NEUTRON_CORE_PLUGIN_CONF":
604 agent:
605 enable_distributed_routing: True
606 l2_population: True
607 tunnel_types: vxlan,gre
608 ovs:
609 tunnel_bridge: br-tun
610 bridge_mappings: public:br-ex
611 $NEUTRON_L3_CONF:
612 DEFAULT:
613 agent_mode: dvr_snat
614 agent:
615 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100616 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200617
618- job:
619 name: neutron-tempest-plugin-designate-scenario
620 parent: neutron-tempest-plugin-scenario
621 description: Neutron designate integration scenario
622 required-projects:
623 - openstack/designate
624 - openstack/designate-dashboard
625 - openstack/designate-tempest-plugin
626 timeout: 3600
627 vars:
628 network_api_extensions_common: *api_extensions
629 devstack_localrc:
630 DESIGNATE_BACKEND_DRIVER: bind9
631 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100632 Q_ML2_TENANT_NETWORK_TYPE: vxlan
633 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200634 # In this job advanced image is not needed, so it's name should be
635 # empty
636 ADVANCED_IMAGE_NAME: ""
637 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
638 devstack_local_conf:
639 post-config:
640 $NEUTRON_CONF:
641 DEFAULT:
642 enable_dvr: false
643 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
644 # devstack-tempest job will be switched to use lib/neutron instead of
645 # lib/neutron-legacy
646 /$NEUTRON_CORE_PLUGIN_CONF:
647 agent:
648 tunnel_types: vxlan,gre
649 ovs:
650 tunnel_bridge: br-tun
651 bridge_mappings: public:br-ex
652 devstack_plugins:
653 designate: https://opendev.org/openstack/designate.git
654 devstack_services:
655 cinder: false
656 designate: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100657 # Disable OVN services
658 br-ex-tcpdump: false
659 br-int-flows: false
660 ovn-controller: false
661 ovn-northd: false
662 ovs-vswitchd: false
663 ovsdb-server: false
664 q-ovn-metadata-agent: false
665 # Neutron services
666 q-agt: true
667 q-dhcp: true
668 q-l3: true
669 q-meta: true
670 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200671 tempest_plugins:
672 - designate-tempest-plugin
673 - neutron-tempest-plugin
674 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100675 irrelevant-files:
676 - ^(test-|)requirements.txt$
677 - ^releasenotes/.*$
678 - ^doc/.*$
679 - ^setup.cfg$
680 - ^.*\.rst$
681 - ^neutron/locale/.*$
682 - ^neutron/tests/unit/.*$
683 - ^tools/.*$
684 - ^tox.ini$
685 - ^neutron/agent/.*$
686 - ^neutron/cmd/.*$
687 - ^neutron/privileged/.*$
688 - ^neutron/plugins/ml2/drivers/.*$
689 - ^neutron/scheduler/.*$
690 - ^neutron/services/(?!externaldns).*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200691
692- job:
693 name: neutron-tempest-plugin-sfc
694 parent: neutron-tempest-plugin-base
695 timeout: 10800
696 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200697 - openstack/networking-sfc
698 - openstack/neutron
699 - openstack/neutron-tempest-plugin
700 - openstack/tempest
701 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200702 devstack_services:
703 # Disable OVN services
704 br-ex-tcpdump: false
705 br-int-flows: false
706 ovn-controller: false
707 ovn-northd: false
708 ovs-vswitchd: false
709 ovsdb-server: false
710 q-ovn-metadata-agent: false
711 # Enable Neutron services that are not used by OVN
712 q-agt: true
713 q-dhcp: true
714 q-l3: true
715 q-meta: true
716 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200717 network_api_extensions_common: *api_extensions
718 tempest_test_regex: ^neutron_tempest_plugin\.sfc
719 devstack_plugins:
720 networking-sfc: https://opendev.org/openstack/networking-sfc
721 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
722 network_api_extensions_sfc:
723 - flow_classifier
724 - sfc
725 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200726 Q_AGENT: openvswitch
727 Q_ML2_TENANT_NETWORK_TYPE: vxlan
728 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200729 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
730 # TODO(bcafarel): tests still fail from time to time in parallel
731 # https://bugs.launchpad.net/neutron/+bug/1851500
732 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
733 tempest_concurrency: 1
734
735- job:
736 name: neutron-tempest-plugin-bgpvpn-bagpipe
737 parent: neutron-tempest-plugin-base
738 required-projects:
739 - openstack/networking-bagpipe
740 - openstack/networking-bgpvpn
741 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200742 devstack_services:
743 # Disable OVN services
744 br-ex-tcpdump: false
745 br-int-flows: false
746 ovn-controller: false
747 ovn-northd: false
748 ovs-vswitchd: false
749 ovsdb-server: false
750 q-ovn-metadata-agent: false
751 # Enable Neutron services that are not used by OVN
752 q-agt: true
753 q-dhcp: true
754 q-l3: true
755 q-meta: true
756 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200757 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
758 network_api_extensions: *api_extensions
759 network_api_extensions_bgpvpn:
760 - bgpvpn
761 - bgpvpn-routes-control
762 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200763 Q_AGENT: openvswitch
764 Q_ML2_TENANT_NETWORK_TYPE: vxlan
765 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200766 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
767 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
768 BAGPIPE_BGP_PEERS: "-"
769 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
770 devstack_plugins:
771 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
772 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
773
774- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200775 name: neutron-tempest-plugin-dynamic-routing
776 parent: neutron-tempest-plugin-base
777 description: |
778 Perform setup common to all Neutron dynamic routing tempest tests
779 required-projects:
780 - openstack/neutron
781 - openstack/neutron-dynamic-routing
782 - openstack/os-ken
783 - openstack/tempest
784 pre-run: playbooks/dynamic-routing-pre-run.yaml
785 vars:
786 devstack_plugins:
787 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
788 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
789 network_api_extensions_common: *api_extensions
790 network_api_extensions_bgp:
791 - bgp
792 - bgp_dragent_scheduler
793 - bgp_4byte_asn
794 devstack_localrc:
795 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100796 Q_AGENT: openvswitch
797 Q_ML2_TENANT_NETWORK_TYPE: vxlan
798 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200799 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100800 # Disable OVN services
801 br-ex-tcpdump: false
802 br-int-flows: false
803 ovn-controller: false
804 ovn-northd: false
805 ovs-vswitchd: false
806 ovsdb-server: false
807 q-ovn-metadata-agent: false
808 # Neutron services
809 q-agt: true
810 q-dhcp: true
811 q-meta: true
812 q-metering: true
813 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200814 neutron-dr: true
815 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200816 tempest_concurrency: 1
817 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
818
819- job:
820 name: neutron-tempest-plugin-vpnaas
821 parent: neutron-tempest-plugin-base
822 timeout: 3900
823 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200824 - openstack/neutron
825 - openstack/neutron-vpnaas
826 - openstack/neutron-tempest-plugin
827 - openstack/tempest
828 vars:
829 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
830 devstack_plugins:
831 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
832 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
833 network_api_extensions_common: *api_extensions
834 network_api_extensions_vpnaas:
835 - vpnaas
836 devstack_localrc:
837 IPSEC_PACKAGE: strongswan
838 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"