blob: 0b0f174772c6badfc0ac673f02f8ce1224da2c3f [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"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000371 devstack_services:
372 br-ex-tcpdump: true
373 br-int-flows: true
374 q-ovn-metadata-agent: true
375 ovn-controller: true
376 ovn-northd: true
377 ovs-vswitchd: true
378 ovsdb-server: true
379 q-agt: false
380 q-dhcp: false
381 q-l3: false
382 q-meta: false
383 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100384 q-qos: true
385 tls-proxy: true
386 # Cinder services
387 c-api: false
388 c-bak: false
389 c-sch: false
390 c-vol: false
391 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000392 s-account: false
393 s-container-sync: false
394 s-container: false
395 s-object: false
396 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000397 devstack_local_conf:
398 post-config:
399 $NEUTRON_CONF:
400 DEFAULT:
401 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100402 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000403 /$NEUTRON_CORE_PLUGIN_CONF:
404 ml2:
405 type_drivers: local,flat,vlan,geneve
406 test-config:
407 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100408 network-feature-enabled:
409 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000410 neutron_plugin_options:
411 available_type_drivers: local,flat,vlan,geneve
412 is_igmp_snooping_enabled: True
Hang Yange6e0ccf2021-02-26 15:07:05 -0600413 firewall_driver: ovn
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100414 irrelevant-files:
415 - ^(test-|)requirements.txt$
416 - ^releasenotes/.*$
417 - ^doc/.*$
418 - ^setup.cfg$
419 - ^.*\.rst$
420 - ^neutron/locale/.*$
421 - ^neutron/tests/unit/.*$
422 - ^tools/.*$
423 - ^tox.ini$
424 - ^neutron/agent/dhcp/.*$
425 - ^neutron/agent/l2/.*$
426 - ^neutron/agent/l3/.*$
427 - ^neutron/agent/metadata/.*$
428 - ^neutron/agent/windows/.*$
429 - ^neutron/agent/dhcp_agent.py
430 - ^neutron/agent/l3_agent.py
431 - ^neutron/agent/metadata_agent.py
432 - ^neutron/agent/resource_cache.py
433 - ^neutron/agent/rpc.py
434 - ^neutron/agent/securitygroup_rpc.py
435 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
436 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
437 - ^neutron/plugins/ml2/drivers/macvtap/.*$
438 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
439 - ^neutron/scheduler/.*$
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000440
441- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200442 name: neutron-tempest-plugin-dvr-multinode-scenario
443 parent: tempest-multinode-full
444 description: |
445 Perform setup for Neutron tempest tests in multinode with DVR scenario
446 roles:
447 - zuul: openstack/devstack
448 required-projects:
449 - openstack/devstack-gate
450 - openstack/neutron
451 - openstack/neutron-tempest-plugin
452 - openstack/tempest
453 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
454 voting: false
455 vars:
456 tempest_concurrency: 4
457 tox_envlist: all
458 tempest_test_regex: ^neutron_tempest_plugin\.scenario
459 # NOTE(slaweq): in case of some tests, which requires advanced image,
460 # default test timeout set to 1200 seconds may be not enough if job is
461 # run on slow node
462 tempest_test_timeout: 2400
463 network_api_extensions_common: *api_extensions
464 network_api_extensions_dvr:
465 - dvr
466 devstack_localrc:
467 USE_PYTHON3: true
468 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
469 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200470 CIRROS_VERSION: 0.5.1
471 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
472 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200473 ADVANCED_INSTANCE_TYPE: ds512M
474 ADVANCED_INSTANCE_USER: ubuntu
475 BUILD_TIMEOUT: 784
476 devstack_plugins:
477 neutron: https://opendev.org/openstack/neutron.git
478 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
479 tempest_plugins:
480 - neutron-tempest-plugin
481 devstack_services:
482 tls-proxy: false
483 tempest: true
484 neutron-dns: true
485 neutron-qos: true
486 neutron-segments: true
487 neutron-trunk: true
488 neutron-log: true
489 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100490 # Cinder services
491 c-api: false
492 c-bak: false
493 c-sch: false
494 c-vol: false
495 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100496 # We don't need Swift to be run in the Neutron jobs
497 s-account: false
498 s-container: false
499 s-object: false
500 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200501 devstack_local_conf:
502 post-config:
503 $NEUTRON_CONF:
504 quotas:
505 quota_router: 100
506 quota_floatingip: 500
507 quota_security_group: 100
508 quota_security_group_rule: 1000
509 DEFAULT:
510 router_distributed: True
511 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
512 # devstack-tempest job will be switched to use lib/neutron instead of
513 # lib/neutron-legacy
514 "/$NEUTRON_CORE_PLUGIN_CONF":
515 ml2:
516 type_drivers: flat,geneve,vlan,gre,local,vxlan
517 mechanism_drivers: openvswitch,l2population
518 ml2_type_vlan:
519 network_vlan_ranges: foo:1:10
520 ml2_type_vxlan:
521 vni_ranges: 1:2000
522 ml2_type_gre:
523 tunnel_id_ranges: 1:1000
524 agent:
525 enable_distributed_routing: True
526 l2_population: True
527 tunnel_types: vxlan,gre
528 ovs:
529 tunnel_bridge: br-tun
530 bridge_mappings: public:br-ex
531 $NEUTRON_L3_CONF:
532 DEFAULT:
533 agent_mode: dvr_snat
534 agent:
535 availability_zone: nova
536 $NEUTRON_DHCP_CONF:
537 agent:
538 availability_zone: nova
539 "/etc/neutron/api-paste.ini":
540 "composite:neutronapi_v2_0":
541 use: "call:neutron.auth:pipeline_factory"
542 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
543 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
544 test-config:
545 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100546 network-feature-enabled:
547 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200548 neutron_plugin_options:
549 provider_vlans: foo,
550 agent_availability_zone: nova
551 image_is_advanced: true
552 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
553 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600554 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200555 group-vars:
556 subnode:
557 devstack_services:
558 tls-proxy: false
559 q-agt: true
560 q-l3: true
561 q-meta: true
562 neutron-qos: true
563 neutron-trunk: true
564 neutron-log: true
565 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100566 # Cinder services
567 c-bak: false
568 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100569 # We don't need Swift to be run in the Neutron jobs
570 s-account: false
571 s-container: false
572 s-object: false
573 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200574 devstack_localrc:
575 USE_PYTHON3: true
576 devstack_local_conf:
577 post-config:
578 $NEUTRON_CONF:
579 DEFAULT:
580 router_distributed: True
581 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
582 # devstack-tempest job will be switched to use lib/neutron instead of
583 # lib/neutron-legacy
584 "/$NEUTRON_CORE_PLUGIN_CONF":
585 agent:
586 enable_distributed_routing: True
587 l2_population: True
588 tunnel_types: vxlan,gre
589 ovs:
590 tunnel_bridge: br-tun
591 bridge_mappings: public:br-ex
592 $NEUTRON_L3_CONF:
593 DEFAULT:
594 agent_mode: dvr_snat
595 agent:
596 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100597 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200598
599- job:
600 name: neutron-tempest-plugin-designate-scenario
601 parent: neutron-tempest-plugin-scenario
602 description: Neutron designate integration scenario
603 required-projects:
604 - openstack/designate
605 - openstack/designate-dashboard
606 - openstack/designate-tempest-plugin
607 timeout: 3600
608 vars:
609 network_api_extensions_common: *api_extensions
610 devstack_localrc:
611 DESIGNATE_BACKEND_DRIVER: bind9
612 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100613 Q_ML2_TENANT_NETWORK_TYPE: vxlan
614 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200615 # In this job advanced image is not needed, so it's name should be
616 # empty
617 ADVANCED_IMAGE_NAME: ""
618 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
619 devstack_local_conf:
620 post-config:
621 $NEUTRON_CONF:
622 DEFAULT:
623 enable_dvr: false
624 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
625 # devstack-tempest job will be switched to use lib/neutron instead of
626 # lib/neutron-legacy
627 /$NEUTRON_CORE_PLUGIN_CONF:
628 agent:
629 tunnel_types: vxlan,gre
630 ovs:
631 tunnel_bridge: br-tun
632 bridge_mappings: public:br-ex
633 devstack_plugins:
634 designate: https://opendev.org/openstack/designate.git
635 devstack_services:
636 cinder: false
637 designate: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100638 # Disable OVN services
639 br-ex-tcpdump: false
640 br-int-flows: false
641 ovn-controller: false
642 ovn-northd: false
643 ovs-vswitchd: false
644 ovsdb-server: false
645 q-ovn-metadata-agent: false
646 # Neutron services
647 q-agt: true
648 q-dhcp: true
649 q-l3: true
650 q-meta: true
651 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200652 tempest_plugins:
653 - designate-tempest-plugin
654 - neutron-tempest-plugin
655 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100656 irrelevant-files:
657 - ^(test-|)requirements.txt$
658 - ^releasenotes/.*$
659 - ^doc/.*$
660 - ^setup.cfg$
661 - ^.*\.rst$
662 - ^neutron/locale/.*$
663 - ^neutron/tests/unit/.*$
664 - ^tools/.*$
665 - ^tox.ini$
666 - ^neutron/agent/.*$
667 - ^neutron/cmd/.*$
668 - ^neutron/privileged/.*$
669 - ^neutron/plugins/ml2/drivers/.*$
670 - ^neutron/scheduler/.*$
671 - ^neutron/services/(?!externaldns).*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200672
673- job:
674 name: neutron-tempest-plugin-sfc
675 parent: neutron-tempest-plugin-base
676 timeout: 10800
677 required-projects:
678 - openstack/devstack-gate
679 - openstack/networking-sfc
680 - openstack/neutron
681 - openstack/neutron-tempest-plugin
682 - openstack/tempest
683 vars:
684 network_api_extensions_common: *api_extensions
685 tempest_test_regex: ^neutron_tempest_plugin\.sfc
686 devstack_plugins:
687 networking-sfc: https://opendev.org/openstack/networking-sfc
688 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
689 network_api_extensions_sfc:
690 - flow_classifier
691 - sfc
692 devstack_localrc:
693 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
694 # TODO(bcafarel): tests still fail from time to time in parallel
695 # https://bugs.launchpad.net/neutron/+bug/1851500
696 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
697 tempest_concurrency: 1
698
699- job:
700 name: neutron-tempest-plugin-bgpvpn-bagpipe
701 parent: neutron-tempest-plugin-base
702 required-projects:
703 - openstack/networking-bagpipe
704 - openstack/networking-bgpvpn
705 vars:
706 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
707 network_api_extensions: *api_extensions
708 network_api_extensions_bgpvpn:
709 - bgpvpn
710 - bgpvpn-routes-control
711 devstack_localrc:
712 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
713 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
714 BAGPIPE_BGP_PEERS: "-"
715 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
716 devstack_plugins:
717 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
718 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
719
720- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200721 name: neutron-tempest-plugin-dynamic-routing
722 parent: neutron-tempest-plugin-base
723 description: |
724 Perform setup common to all Neutron dynamic routing tempest tests
725 required-projects:
726 - openstack/neutron
727 - openstack/neutron-dynamic-routing
728 - openstack/os-ken
729 - openstack/tempest
730 pre-run: playbooks/dynamic-routing-pre-run.yaml
731 vars:
732 devstack_plugins:
733 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
734 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
735 network_api_extensions_common: *api_extensions
736 network_api_extensions_bgp:
737 - bgp
738 - bgp_dragent_scheduler
739 - bgp_4byte_asn
740 devstack_localrc:
741 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100742 Q_AGENT: openvswitch
743 Q_ML2_TENANT_NETWORK_TYPE: vxlan
744 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200745 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100746 # Disable OVN services
747 br-ex-tcpdump: false
748 br-int-flows: false
749 ovn-controller: false
750 ovn-northd: false
751 ovs-vswitchd: false
752 ovsdb-server: false
753 q-ovn-metadata-agent: false
754 # Neutron services
755 q-agt: true
756 q-dhcp: true
757 q-meta: true
758 q-metering: true
759 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200760 neutron-dr: true
761 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200762 tempest_concurrency: 1
763 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
764
765- job:
766 name: neutron-tempest-plugin-vpnaas
767 parent: neutron-tempest-plugin-base
768 timeout: 3900
769 required-projects:
770 - openstack/devstack-gate
771 - openstack/neutron
772 - openstack/neutron-vpnaas
773 - openstack/neutron-tempest-plugin
774 - openstack/tempest
775 vars:
776 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
777 devstack_plugins:
778 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
779 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
780 network_api_extensions_common: *api_extensions
781 network_api_extensions_vpnaas:
782 - vpnaas
783 devstack_localrc:
784 IPSEC_PACKAGE: strongswan
785 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"