blob: e32a4c53b02ea41192cccf89dd341dc117eb7fe0 [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
209 tempest_black_regex: "(^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)"
210 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
286 tempest_black_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
Slawek Kaplonski28082072020-11-02 21:32:04 +0100349 tempest_black_regex: "\
350 (?: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:
455 - openstack/devstack-gate
456 - openstack/neutron
457 - openstack/neutron-tempest-plugin
458 - openstack/tempest
459 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
460 voting: false
461 vars:
462 tempest_concurrency: 4
463 tox_envlist: all
464 tempest_test_regex: ^neutron_tempest_plugin\.scenario
465 # NOTE(slaweq): in case of some tests, which requires advanced image,
466 # default test timeout set to 1200 seconds may be not enough if job is
467 # run on slow node
468 tempest_test_timeout: 2400
469 network_api_extensions_common: *api_extensions
470 network_api_extensions_dvr:
471 - dvr
472 devstack_localrc:
473 USE_PYTHON3: true
474 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
475 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200476 CIRROS_VERSION: 0.5.1
477 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
478 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200479 ADVANCED_INSTANCE_TYPE: ds512M
480 ADVANCED_INSTANCE_USER: ubuntu
481 BUILD_TIMEOUT: 784
482 devstack_plugins:
483 neutron: https://opendev.org/openstack/neutron.git
484 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
485 tempest_plugins:
486 - neutron-tempest-plugin
487 devstack_services:
488 tls-proxy: false
489 tempest: true
490 neutron-dns: true
491 neutron-qos: true
492 neutron-segments: true
493 neutron-trunk: true
494 neutron-log: true
495 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100496 # Cinder services
497 c-api: false
498 c-bak: false
499 c-sch: false
500 c-vol: false
501 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100502 # We don't need Swift to be run in the Neutron jobs
503 s-account: false
504 s-container: false
505 s-object: false
506 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200507 devstack_local_conf:
508 post-config:
509 $NEUTRON_CONF:
510 quotas:
511 quota_router: 100
512 quota_floatingip: 500
513 quota_security_group: 100
514 quota_security_group_rule: 1000
515 DEFAULT:
516 router_distributed: True
517 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
518 # devstack-tempest job will be switched to use lib/neutron instead of
519 # lib/neutron-legacy
520 "/$NEUTRON_CORE_PLUGIN_CONF":
521 ml2:
522 type_drivers: flat,geneve,vlan,gre,local,vxlan
523 mechanism_drivers: openvswitch,l2population
524 ml2_type_vlan:
525 network_vlan_ranges: foo:1:10
526 ml2_type_vxlan:
527 vni_ranges: 1:2000
528 ml2_type_gre:
529 tunnel_id_ranges: 1:1000
530 agent:
531 enable_distributed_routing: True
532 l2_population: True
533 tunnel_types: vxlan,gre
534 ovs:
535 tunnel_bridge: br-tun
536 bridge_mappings: public:br-ex
537 $NEUTRON_L3_CONF:
538 DEFAULT:
539 agent_mode: dvr_snat
540 agent:
541 availability_zone: nova
542 $NEUTRON_DHCP_CONF:
543 agent:
544 availability_zone: nova
545 "/etc/neutron/api-paste.ini":
546 "composite:neutronapi_v2_0":
547 use: "call:neutron.auth:pipeline_factory"
548 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
549 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
550 test-config:
551 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100552 network-feature-enabled:
553 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200554 neutron_plugin_options:
555 provider_vlans: foo,
556 agent_availability_zone: nova
557 image_is_advanced: true
558 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
559 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600560 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200561 group-vars:
562 subnode:
563 devstack_services:
564 tls-proxy: false
565 q-agt: true
566 q-l3: true
567 q-meta: true
568 neutron-qos: true
569 neutron-trunk: true
570 neutron-log: true
571 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100572 # Cinder services
573 c-bak: false
574 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100575 # We don't need Swift to be run in the Neutron jobs
576 s-account: false
577 s-container: false
578 s-object: false
579 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200580 devstack_localrc:
581 USE_PYTHON3: true
582 devstack_local_conf:
583 post-config:
584 $NEUTRON_CONF:
585 DEFAULT:
586 router_distributed: True
587 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
588 # devstack-tempest job will be switched to use lib/neutron instead of
589 # lib/neutron-legacy
590 "/$NEUTRON_CORE_PLUGIN_CONF":
591 agent:
592 enable_distributed_routing: True
593 l2_population: True
594 tunnel_types: vxlan,gre
595 ovs:
596 tunnel_bridge: br-tun
597 bridge_mappings: public:br-ex
598 $NEUTRON_L3_CONF:
599 DEFAULT:
600 agent_mode: dvr_snat
601 agent:
602 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100603 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200604
605- job:
606 name: neutron-tempest-plugin-designate-scenario
607 parent: neutron-tempest-plugin-scenario
608 description: Neutron designate integration scenario
609 required-projects:
610 - openstack/designate
611 - openstack/designate-dashboard
612 - openstack/designate-tempest-plugin
613 timeout: 3600
614 vars:
615 network_api_extensions_common: *api_extensions
616 devstack_localrc:
617 DESIGNATE_BACKEND_DRIVER: bind9
618 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100619 Q_ML2_TENANT_NETWORK_TYPE: vxlan
620 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200621 # In this job advanced image is not needed, so it's name should be
622 # empty
623 ADVANCED_IMAGE_NAME: ""
624 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
625 devstack_local_conf:
626 post-config:
627 $NEUTRON_CONF:
628 DEFAULT:
629 enable_dvr: false
630 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
631 # devstack-tempest job will be switched to use lib/neutron instead of
632 # lib/neutron-legacy
633 /$NEUTRON_CORE_PLUGIN_CONF:
634 agent:
635 tunnel_types: vxlan,gre
636 ovs:
637 tunnel_bridge: br-tun
638 bridge_mappings: public:br-ex
639 devstack_plugins:
640 designate: https://opendev.org/openstack/designate.git
641 devstack_services:
642 cinder: false
643 designate: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100644 # Disable OVN services
645 br-ex-tcpdump: false
646 br-int-flows: false
647 ovn-controller: false
648 ovn-northd: false
649 ovs-vswitchd: false
650 ovsdb-server: false
651 q-ovn-metadata-agent: false
652 # Neutron services
653 q-agt: true
654 q-dhcp: true
655 q-l3: true
656 q-meta: true
657 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200658 tempest_plugins:
659 - designate-tempest-plugin
660 - neutron-tempest-plugin
661 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100662 irrelevant-files:
663 - ^(test-|)requirements.txt$
664 - ^releasenotes/.*$
665 - ^doc/.*$
666 - ^setup.cfg$
667 - ^.*\.rst$
668 - ^neutron/locale/.*$
669 - ^neutron/tests/unit/.*$
670 - ^tools/.*$
671 - ^tox.ini$
672 - ^neutron/agent/.*$
673 - ^neutron/cmd/.*$
674 - ^neutron/privileged/.*$
675 - ^neutron/plugins/ml2/drivers/.*$
676 - ^neutron/scheduler/.*$
677 - ^neutron/services/(?!externaldns).*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200678
679- job:
680 name: neutron-tempest-plugin-sfc
681 parent: neutron-tempest-plugin-base
682 timeout: 10800
683 required-projects:
684 - openstack/devstack-gate
685 - openstack/networking-sfc
686 - openstack/neutron
687 - openstack/neutron-tempest-plugin
688 - openstack/tempest
689 vars:
690 network_api_extensions_common: *api_extensions
691 tempest_test_regex: ^neutron_tempest_plugin\.sfc
692 devstack_plugins:
693 networking-sfc: https://opendev.org/openstack/networking-sfc
694 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
695 network_api_extensions_sfc:
696 - flow_classifier
697 - sfc
698 devstack_localrc:
699 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
700 # TODO(bcafarel): tests still fail from time to time in parallel
701 # https://bugs.launchpad.net/neutron/+bug/1851500
702 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
703 tempest_concurrency: 1
704
705- job:
706 name: neutron-tempest-plugin-bgpvpn-bagpipe
707 parent: neutron-tempest-plugin-base
708 required-projects:
709 - openstack/networking-bagpipe
710 - openstack/networking-bgpvpn
711 vars:
712 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
713 network_api_extensions: *api_extensions
714 network_api_extensions_bgpvpn:
715 - bgpvpn
716 - bgpvpn-routes-control
717 devstack_localrc:
718 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
719 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
720 BAGPIPE_BGP_PEERS: "-"
721 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
722 devstack_plugins:
723 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
724 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
725
726- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200727 name: neutron-tempest-plugin-dynamic-routing
728 parent: neutron-tempest-plugin-base
729 description: |
730 Perform setup common to all Neutron dynamic routing tempest tests
731 required-projects:
732 - openstack/neutron
733 - openstack/neutron-dynamic-routing
734 - openstack/os-ken
735 - openstack/tempest
736 pre-run: playbooks/dynamic-routing-pre-run.yaml
737 vars:
738 devstack_plugins:
739 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
740 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
741 network_api_extensions_common: *api_extensions
742 network_api_extensions_bgp:
743 - bgp
744 - bgp_dragent_scheduler
745 - bgp_4byte_asn
746 devstack_localrc:
747 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100748 Q_AGENT: openvswitch
749 Q_ML2_TENANT_NETWORK_TYPE: vxlan
750 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200751 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100752 # Disable OVN services
753 br-ex-tcpdump: false
754 br-int-flows: false
755 ovn-controller: false
756 ovn-northd: false
757 ovs-vswitchd: false
758 ovsdb-server: false
759 q-ovn-metadata-agent: false
760 # Neutron services
761 q-agt: true
762 q-dhcp: true
763 q-meta: true
764 q-metering: true
765 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200766 neutron-dr: true
767 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200768 tempest_concurrency: 1
769 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
770
771- job:
772 name: neutron-tempest-plugin-vpnaas
773 parent: neutron-tempest-plugin-base
774 timeout: 3900
775 required-projects:
776 - openstack/devstack-gate
777 - openstack/neutron
778 - openstack/neutron-vpnaas
779 - openstack/neutron-tempest-plugin
780 - openstack/tempest
781 vars:
782 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
783 devstack_plugins:
784 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
785 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
786 network_api_extensions_common: *api_extensions
787 network_api_extensions_vpnaas:
788 - vpnaas
789 devstack_localrc:
790 IPSEC_PACKAGE: strongswan
791 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"