blob: e9599bff84175c504e404e842be8ce3ede4083c5 [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
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600209 tempest_exclude_regex: "(^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200210 devstack_localrc:
211 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100212 Q_ML2_TENANT_NETWORK_TYPE: vxlan
213 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200214 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
215 devstack_local_conf:
216 post-config:
217 $NEUTRON_CONF:
218 DEFAULT:
219 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200220 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200221 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
222 # devstack-tempest job will be switched to use lib/neutron instead of
223 # lib/neutron-legacy
224 /$NEUTRON_CORE_PLUGIN_CONF:
225 agent:
226 tunnel_types: vxlan,gre
227 ovs:
228 tunnel_bridge: br-tun
229 bridge_mappings: public:br-ex
230 securitygroup:
231 firewall_driver: iptables_hybrid
232 test-config:
233 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100234 network-feature-enabled:
235 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200236 neutron_plugin_options:
237 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600238 firewall_driver: iptables_hybrid
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100239 irrelevant-files:
240 - ^(test-|)requirements.txt$
241 - ^releasenotes/.*$
242 - ^doc/.*$
243 - ^setup.cfg$
244 - ^.*\.rst$
245 - ^neutron/locale/.*$
246 - ^neutron/tests/unit/.*$
247 - ^tools/.*$
248 - ^tox.ini$
249 - ^neutron/agent/linux/openvswitch_firewall/.*$
250 - ^neutron/agent/ovn/.*$
251 - ^neutron/agent/windows/.*$
252 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
253 - ^neutron/plugins/ml2/drivers/macvtap/.*$
254 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
255 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200256
257- job:
258 name: neutron-tempest-plugin-scenario-linuxbridge
259 parent: neutron-tempest-plugin-scenario
260 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200261 roles:
262 - zuul: openstack/neutron
263 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200264 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100265 devstack_services:
266 # Disable OVN services
267 br-ex-tcpdump: false
268 br-int-flows: false
269 ovn-controller: false
270 ovn-northd: false
271 ovs-vswitchd: false
272 ovsdb-server: false
273 q-ovn-metadata-agent: false
274 # Neutron services
275 q-agt: true
276 q-dhcp: true
277 q-l3: true
278 q-meta: true
279 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200280 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100281 network_api_extensions_linuxbridge:
282 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100283 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100284 # TODO(eolivare): remove VLAN Transparency tests from blacklist
285 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600286 tempest_exclude_regex: "(^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200287 devstack_localrc:
288 Q_AGENT: linuxbridge
Eduardo Olivares088707b2020-12-01 21:13:45 +0100289 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100290 Q_ML2_TENANT_NETWORK_TYPE: vxlan
291 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200292 devstack_local_conf:
293 post-config:
294 $NEUTRON_CONF:
295 DEFAULT:
296 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100297 vlan_transparent: true
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200298 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200299 AGENT:
300 debug_iptables_rules: true
301 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
302 # devstack-tempest job will be switched to use lib/neutron instead of
303 # lib/neutron-legacy
304 /$NEUTRON_CORE_PLUGIN_CONF:
305 ml2:
306 type_drivers: flat,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100307 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200308 test-config:
309 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100310 network-feature-enabled:
311 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200312 neutron_plugin_options:
313 available_type_drivers: flat,vlan,local,vxlan
314 q_agent: linuxbridge
Hang Yange6e0ccf2021-02-26 15:07:05 -0600315 firewall_driver: iptables
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100316 irrelevant-files:
317 - ^(test-|)requirements.txt$
318 - ^releasenotes/.*$
319 - ^doc/.*$
320 - ^setup.cfg$
321 - ^.*\.rst$
322 - ^neutron/locale/.*$
323 - ^neutron/tests/unit/.*$
324 - ^tools/.*$
325 - ^tox.ini$
326 - ^neutron/agent/linux/openvswitch_firewall/.*$
327 - ^neutron/agent/ovn/.*$
328 - ^neutron/agent/windows/.*$
329 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
330 - ^neutron/plugins/ml2/drivers/macvtap/.*$
331 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
332 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200333
334- job:
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000335 name: neutron-tempest-plugin-scenario-ovn
336 parent: neutron-tempest-plugin-scenario
337 timeout: 10000
338 vars:
339 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100340 network_api_extensions_ovn:
341 - vlan-transparent
Slawek Kaplonski28082072020-11-02 21:32:04 +0100342 # TODO(haleyb): Remove IPv6Test from blacklist when
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000343 # https://bugs.launchpad.net/neutron/+bug/1881558 is fixed.
Slawek Kaplonski28082072020-11-02 21:32:04 +0100344 # TODO(slaweq): Remove test_trunk_subport_lifecycle test from the
345 # blacklist when bug https://bugs.launchpad.net/neutron/+bug/1885900 will
346 # be fixed
Jakub Libosvar20591c52020-10-29 21:01:51 +0100347 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
348 # once east/west fragmentation is supported in core OVN
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600349 tempest_exclude_regex: "\
Slawek Kaplonski28082072020-11-02 21:32:04 +0100350 (?:neutron_tempest_plugin.scenario.test_ipv6.IPv6Test)|\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100351 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle)|\
352 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000353 devstack_localrc:
354 Q_AGENT: ovn
Eduardo Olivares088707b2020-12-01 21:13:45 +0100355 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000356 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
357 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
358 Q_ML2_TENANT_NETWORK_TYPE: geneve
359 Q_USE_PROVIDERNET_FOR_PUBLIC: true
360 PHYSICAL_NETWORK: public
361 ENABLE_CHASSIS_AS_GW: true
362 OVN_L3_CREATE_PUBLIC_NETWORK: true
363 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000364 ENABLE_TLS: True
365 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100366 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
367 # is included in an ovn released version
368 OVN_BUILD_FROM_SOURCE: True
369 OVN_BRANCH: "v20.12.0"
370 OVS_BRANCH: "branch-2.15"
Slawek Kaplonski862cbeb2021-03-20 10:05:26 +0100371 OVS_SYSCONFDIR: "/usr/local/etc/openvswitch"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000372 devstack_services:
373 br-ex-tcpdump: true
374 br-int-flows: true
375 q-ovn-metadata-agent: true
376 ovn-controller: true
377 ovn-northd: true
378 ovs-vswitchd: true
379 ovsdb-server: true
380 q-agt: false
381 q-dhcp: false
382 q-l3: false
383 q-meta: false
384 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100385 q-qos: true
386 tls-proxy: true
387 # Cinder services
388 c-api: false
389 c-bak: false
390 c-sch: false
391 c-vol: false
392 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000393 s-account: false
394 s-container-sync: false
395 s-container: false
396 s-object: false
397 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000398 devstack_local_conf:
399 post-config:
400 $NEUTRON_CONF:
401 DEFAULT:
402 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100403 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000404 /$NEUTRON_CORE_PLUGIN_CONF:
405 ml2:
406 type_drivers: local,flat,vlan,geneve
407 test-config:
408 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100409 network-feature-enabled:
410 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000411 neutron_plugin_options:
412 available_type_drivers: local,flat,vlan,geneve
413 is_igmp_snooping_enabled: True
Hang Yange6e0ccf2021-02-26 15:07:05 -0600414 firewall_driver: ovn
Jakub Libosvar08f3c612021-02-07 15:50:23 +0100415 zuul_copy_output:
416 '{{ devstack_base_dir }}/data/ovs': 'logs'
417 '{{ devstack_base_dir }}/data/ovn': 'logs'
418 '{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
419 '{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100420 irrelevant-files:
421 - ^(test-|)requirements.txt$
422 - ^releasenotes/.*$
423 - ^doc/.*$
424 - ^setup.cfg$
425 - ^.*\.rst$
426 - ^neutron/locale/.*$
427 - ^neutron/tests/unit/.*$
428 - ^tools/.*$
429 - ^tox.ini$
430 - ^neutron/agent/dhcp/.*$
431 - ^neutron/agent/l2/.*$
432 - ^neutron/agent/l3/.*$
433 - ^neutron/agent/metadata/.*$
434 - ^neutron/agent/windows/.*$
435 - ^neutron/agent/dhcp_agent.py
436 - ^neutron/agent/l3_agent.py
437 - ^neutron/agent/metadata_agent.py
438 - ^neutron/agent/resource_cache.py
439 - ^neutron/agent/rpc.py
440 - ^neutron/agent/securitygroup_rpc.py
441 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
442 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
443 - ^neutron/plugins/ml2/drivers/macvtap/.*$
444 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
445 - ^neutron/scheduler/.*$
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000446
447- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200448 name: neutron-tempest-plugin-dvr-multinode-scenario
449 parent: tempest-multinode-full
450 description: |
451 Perform setup for Neutron tempest tests in multinode with DVR scenario
452 roles:
453 - zuul: openstack/devstack
454 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200455 - openstack/neutron
456 - openstack/neutron-tempest-plugin
457 - openstack/tempest
458 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
459 voting: false
460 vars:
461 tempest_concurrency: 4
462 tox_envlist: all
463 tempest_test_regex: ^neutron_tempest_plugin\.scenario
464 # NOTE(slaweq): in case of some tests, which requires advanced image,
465 # default test timeout set to 1200 seconds may be not enough if job is
466 # run on slow node
467 tempest_test_timeout: 2400
468 network_api_extensions_common: *api_extensions
469 network_api_extensions_dvr:
470 - dvr
471 devstack_localrc:
472 USE_PYTHON3: true
473 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
474 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200475 CIRROS_VERSION: 0.5.1
476 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
477 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200478 ADVANCED_INSTANCE_TYPE: ds512M
479 ADVANCED_INSTANCE_USER: ubuntu
480 BUILD_TIMEOUT: 784
481 devstack_plugins:
482 neutron: https://opendev.org/openstack/neutron.git
483 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
484 tempest_plugins:
485 - neutron-tempest-plugin
486 devstack_services:
487 tls-proxy: false
488 tempest: true
489 neutron-dns: true
490 neutron-qos: true
491 neutron-segments: true
492 neutron-trunk: true
493 neutron-log: true
494 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100495 # Cinder services
496 c-api: false
497 c-bak: false
498 c-sch: false
499 c-vol: false
500 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100501 # We don't need Swift to be run in the Neutron jobs
502 s-account: false
503 s-container: false
504 s-object: false
505 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200506 devstack_local_conf:
507 post-config:
508 $NEUTRON_CONF:
509 quotas:
510 quota_router: 100
511 quota_floatingip: 500
512 quota_security_group: 100
513 quota_security_group_rule: 1000
514 DEFAULT:
515 router_distributed: True
516 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
517 # devstack-tempest job will be switched to use lib/neutron instead of
518 # lib/neutron-legacy
519 "/$NEUTRON_CORE_PLUGIN_CONF":
520 ml2:
521 type_drivers: flat,geneve,vlan,gre,local,vxlan
522 mechanism_drivers: openvswitch,l2population
523 ml2_type_vlan:
524 network_vlan_ranges: foo:1:10
525 ml2_type_vxlan:
526 vni_ranges: 1:2000
527 ml2_type_gre:
528 tunnel_id_ranges: 1:1000
529 agent:
530 enable_distributed_routing: True
531 l2_population: True
532 tunnel_types: vxlan,gre
533 ovs:
534 tunnel_bridge: br-tun
535 bridge_mappings: public:br-ex
536 $NEUTRON_L3_CONF:
537 DEFAULT:
538 agent_mode: dvr_snat
539 agent:
540 availability_zone: nova
541 $NEUTRON_DHCP_CONF:
542 agent:
543 availability_zone: nova
544 "/etc/neutron/api-paste.ini":
545 "composite:neutronapi_v2_0":
546 use: "call:neutron.auth:pipeline_factory"
547 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
548 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
549 test-config:
550 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100551 network-feature-enabled:
552 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200553 neutron_plugin_options:
554 provider_vlans: foo,
555 agent_availability_zone: nova
556 image_is_advanced: true
557 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
558 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600559 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200560 group-vars:
561 subnode:
562 devstack_services:
563 tls-proxy: false
564 q-agt: true
565 q-l3: true
566 q-meta: true
567 neutron-qos: true
568 neutron-trunk: true
569 neutron-log: true
570 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100571 # Cinder services
572 c-bak: false
573 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100574 # We don't need Swift to be run in the Neutron jobs
575 s-account: false
576 s-container: false
577 s-object: false
578 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200579 devstack_localrc:
580 USE_PYTHON3: true
581 devstack_local_conf:
582 post-config:
583 $NEUTRON_CONF:
584 DEFAULT:
585 router_distributed: True
586 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
587 # devstack-tempest job will be switched to use lib/neutron instead of
588 # lib/neutron-legacy
589 "/$NEUTRON_CORE_PLUGIN_CONF":
590 agent:
591 enable_distributed_routing: True
592 l2_population: True
593 tunnel_types: vxlan,gre
594 ovs:
595 tunnel_bridge: br-tun
596 bridge_mappings: public:br-ex
597 $NEUTRON_L3_CONF:
598 DEFAULT:
599 agent_mode: dvr_snat
600 agent:
601 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100602 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200603
604- job:
605 name: neutron-tempest-plugin-designate-scenario
606 parent: neutron-tempest-plugin-scenario
607 description: Neutron designate integration scenario
608 required-projects:
609 - openstack/designate
610 - openstack/designate-dashboard
611 - openstack/designate-tempest-plugin
612 timeout: 3600
613 vars:
614 network_api_extensions_common: *api_extensions
615 devstack_localrc:
616 DESIGNATE_BACKEND_DRIVER: bind9
617 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100618 Q_ML2_TENANT_NETWORK_TYPE: vxlan
619 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200620 # In this job advanced image is not needed, so it's name should be
621 # empty
622 ADVANCED_IMAGE_NAME: ""
623 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
624 devstack_local_conf:
625 post-config:
626 $NEUTRON_CONF:
627 DEFAULT:
628 enable_dvr: false
629 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
630 # devstack-tempest job will be switched to use lib/neutron instead of
631 # lib/neutron-legacy
632 /$NEUTRON_CORE_PLUGIN_CONF:
633 agent:
634 tunnel_types: vxlan,gre
635 ovs:
636 tunnel_bridge: br-tun
637 bridge_mappings: public:br-ex
638 devstack_plugins:
639 designate: https://opendev.org/openstack/designate.git
640 devstack_services:
641 cinder: false
642 designate: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100643 # Disable OVN services
644 br-ex-tcpdump: false
645 br-int-flows: false
646 ovn-controller: false
647 ovn-northd: false
648 ovs-vswitchd: false
649 ovsdb-server: false
650 q-ovn-metadata-agent: false
651 # Neutron services
652 q-agt: true
653 q-dhcp: true
654 q-l3: true
655 q-meta: true
656 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200657 tempest_plugins:
658 - designate-tempest-plugin
659 - neutron-tempest-plugin
660 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100661 irrelevant-files:
662 - ^(test-|)requirements.txt$
663 - ^releasenotes/.*$
664 - ^doc/.*$
665 - ^setup.cfg$
666 - ^.*\.rst$
667 - ^neutron/locale/.*$
668 - ^neutron/tests/unit/.*$
669 - ^tools/.*$
670 - ^tox.ini$
671 - ^neutron/agent/.*$
672 - ^neutron/cmd/.*$
673 - ^neutron/privileged/.*$
674 - ^neutron/plugins/ml2/drivers/.*$
675 - ^neutron/scheduler/.*$
676 - ^neutron/services/(?!externaldns).*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200677
678- job:
679 name: neutron-tempest-plugin-sfc
680 parent: neutron-tempest-plugin-base
681 timeout: 10800
682 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200683 - openstack/networking-sfc
684 - openstack/neutron
685 - openstack/neutron-tempest-plugin
686 - openstack/tempest
687 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200688 devstack_services:
689 # Disable OVN services
690 br-ex-tcpdump: false
691 br-int-flows: false
692 ovn-controller: false
693 ovn-northd: false
694 ovs-vswitchd: false
695 ovsdb-server: false
696 q-ovn-metadata-agent: false
697 # Enable Neutron services that are not used by OVN
698 q-agt: true
699 q-dhcp: true
700 q-l3: true
701 q-meta: true
702 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200703 network_api_extensions_common: *api_extensions
704 tempest_test_regex: ^neutron_tempest_plugin\.sfc
705 devstack_plugins:
706 networking-sfc: https://opendev.org/openstack/networking-sfc
707 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
708 network_api_extensions_sfc:
709 - flow_classifier
710 - sfc
711 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200712 Q_AGENT: openvswitch
713 Q_ML2_TENANT_NETWORK_TYPE: vxlan
714 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200715 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
716 # TODO(bcafarel): tests still fail from time to time in parallel
717 # https://bugs.launchpad.net/neutron/+bug/1851500
718 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
719 tempest_concurrency: 1
720
721- job:
722 name: neutron-tempest-plugin-bgpvpn-bagpipe
723 parent: neutron-tempest-plugin-base
724 required-projects:
725 - openstack/networking-bagpipe
726 - openstack/networking-bgpvpn
727 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200728 devstack_services:
729 # Disable OVN services
730 br-ex-tcpdump: false
731 br-int-flows: false
732 ovn-controller: false
733 ovn-northd: false
734 ovs-vswitchd: false
735 ovsdb-server: false
736 q-ovn-metadata-agent: false
737 # Enable Neutron services that are not used by OVN
738 q-agt: true
739 q-dhcp: true
740 q-l3: true
741 q-meta: true
742 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200743 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
744 network_api_extensions: *api_extensions
745 network_api_extensions_bgpvpn:
746 - bgpvpn
747 - bgpvpn-routes-control
748 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200749 Q_AGENT: openvswitch
750 Q_ML2_TENANT_NETWORK_TYPE: vxlan
751 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200752 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
753 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
754 BAGPIPE_BGP_PEERS: "-"
755 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
756 devstack_plugins:
757 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
758 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
759
760- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200761 name: neutron-tempest-plugin-dynamic-routing
762 parent: neutron-tempest-plugin-base
763 description: |
764 Perform setup common to all Neutron dynamic routing tempest tests
765 required-projects:
766 - openstack/neutron
767 - openstack/neutron-dynamic-routing
768 - openstack/os-ken
769 - openstack/tempest
770 pre-run: playbooks/dynamic-routing-pre-run.yaml
771 vars:
772 devstack_plugins:
773 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
774 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
775 network_api_extensions_common: *api_extensions
776 network_api_extensions_bgp:
777 - bgp
778 - bgp_dragent_scheduler
779 - bgp_4byte_asn
780 devstack_localrc:
781 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100782 Q_AGENT: openvswitch
783 Q_ML2_TENANT_NETWORK_TYPE: vxlan
784 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200785 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100786 # Disable OVN services
787 br-ex-tcpdump: false
788 br-int-flows: false
789 ovn-controller: false
790 ovn-northd: false
791 ovs-vswitchd: false
792 ovsdb-server: false
793 q-ovn-metadata-agent: false
794 # Neutron services
795 q-agt: true
796 q-dhcp: true
797 q-meta: true
798 q-metering: true
799 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200800 neutron-dr: true
801 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200802 tempest_concurrency: 1
803 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
804
805- job:
806 name: neutron-tempest-plugin-vpnaas
807 parent: neutron-tempest-plugin-base
808 timeout: 3900
809 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200810 - openstack/neutron
811 - openstack/neutron-vpnaas
812 - openstack/neutron-tempest-plugin
813 - openstack/tempest
814 vars:
815 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
816 devstack_plugins:
817 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
818 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
819 network_api_extensions_common: *api_extensions
820 network_api_extensions_vpnaas:
821 - vpnaas
822 devstack_localrc:
823 IPSEC_PACKAGE: strongswan
824 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"