blob: 0d197e036c6c5887d51790313bc12f15384d4df6 [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
67 - segment
68 - service-type
69 - sorting
70 - standard-attr-description
71 - standard-attr-revisions
72 - standard-attr-segment
73 - standard-attr-tag
74 - standard-attr-timestamp
75 - subnet_allocation
76 - subnet-dns-publish-fixed-ip
77 - subnetpool-prefix-ops
78 - tag-ports-during-bulk-creation
79 - trunk
80 - trunk-details
81 - uplink-status-propagation
82 network_api_extensions_tempest:
83 - dvr
elajkat8bbd7432020-11-04 16:41:34 +010084 network_available_features: &available_features
85 - ipv6_metadata
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020086 tempest_test_regex: ^neutron_tempest_plugin\.api
87 devstack_services:
88 neutron-log: true
Slawek Kaplonskide203632020-11-05 14:34:10 +010089 devstack_localrc:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +010090 # TODO(lucasagomes): Re-enable MOD_WSGI after
91 # https://bugs.launchpad.net/neutron/+bug/1912359 is implemented
92 NEUTRON_DEPLOY_MOD_WSGI: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020093 devstack_local_conf:
94 post-config:
95 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
96 # devstack-tempest job will be switched to use lib/neutron instead of
97 # lib/neutron-legacy
98 /$NEUTRON_CORE_PLUGIN_CONF:
99 AGENT:
100 tunnel_types: gre,vxlan
101 network_log:
102 local_output_log_base: /tmp/test_log.log
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100103 irrelevant-files:
104 - ^(test-|)requirements.txt$
105 - ^releasenotes/.*$
106 - ^doc/.*$
107 - ^setup.cfg$
108 - ^.*\.rst$
109 - ^neutron/locale/.*$
110 - ^neutron/tests/unit/.*$
111 - ^tools/.*$
112 - ^tox.ini$
113 - ^neutron/agent/.*$
114 - ^neutron/privileged/.*$
115 - ^neutron_tempest_plugin/scenario/.*$
116
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200117
118- job:
119 name: neutron-tempest-plugin-scenario-openvswitch
120 parent: neutron-tempest-plugin-scenario
121 timeout: 10000
122 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100123 devstack_services:
124 # Disable OVN services
125 br-ex-tcpdump: false
126 br-int-flows: false
127 ovn-controller: false
128 ovn-northd: false
129 ovs-vswitchd: false
130 ovsdb-server: false
131 q-ovn-metadata-agent: false
132 # Neutron services
133 q-agt: true
134 q-dhcp: true
135 q-l3: true
136 q-meta: true
137 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200138 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100139 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200140 devstack_localrc:
141 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100142 Q_ML2_TENANT_NETWORK_TYPE: vxlan
143 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200144 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
145 devstack_local_conf:
146 post-config:
147 $NEUTRON_CONF:
148 DEFAULT:
149 enable_dvr: false
150 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
151 # devstack-tempest job will be switched to use lib/neutron instead of
152 # lib/neutron-legacy
153 /$NEUTRON_CORE_PLUGIN_CONF:
154 agent:
155 tunnel_types: vxlan,gre
156 ovs:
157 tunnel_bridge: br-tun
158 bridge_mappings: public:br-ex
159 test-config:
160 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100161 network-feature-enabled:
162 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200163 neutron_plugin_options:
164 available_type_drivers: flat,vlan,local,vxlan
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100165 irrelevant-files: &openvswitch-scenario-irrelevant-files
166 - ^(test-|)requirements.txt$
167 - ^releasenotes/.*$
168 - ^doc/.*$
169 - ^setup.cfg$
170 - ^.*\.rst$
171 - ^neutron/locale/.*$
172 - ^neutron/tests/unit/.*$
173 - ^tools/.*$
174 - ^tox.ini$
175 - ^neutron/agent/ovn/.*$
176 - ^neutron/agent/windows/.*$
177 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
178 - ^neutron/plugins/ml2/drivers/macvtap/.*$
179 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
180 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200181
182- job:
183 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
184 parent: neutron-tempest-plugin-scenario
185 timeout: 10000
186 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100187 devstack_services:
188 # Disable OVN services
189 br-ex-tcpdump: false
190 br-int-flows: false
191 ovn-controller: false
192 ovn-northd: false
193 ovs-vswitchd: false
194 ovsdb-server: false
195 q-ovn-metadata-agent: false
196 # Neutron services
197 q-agt: true
198 q-dhcp: true
199 q-l3: true
200 q-meta: true
201 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200202 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100203 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200204 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
205 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
206 tempest_black_regex: "(^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)"
207 devstack_localrc:
208 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100209 Q_ML2_TENANT_NETWORK_TYPE: vxlan
210 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200211 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
212 devstack_local_conf:
213 post-config:
214 $NEUTRON_CONF:
215 DEFAULT:
216 enable_dvr: false
217 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
218 # devstack-tempest job will be switched to use lib/neutron instead of
219 # lib/neutron-legacy
220 /$NEUTRON_CORE_PLUGIN_CONF:
221 agent:
222 tunnel_types: vxlan,gre
223 ovs:
224 tunnel_bridge: br-tun
225 bridge_mappings: public:br-ex
226 securitygroup:
227 firewall_driver: iptables_hybrid
228 test-config:
229 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100230 network-feature-enabled:
231 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200232 neutron_plugin_options:
233 available_type_drivers: flat,vlan,local,vxlan
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100234 irrelevant-files:
235 - ^(test-|)requirements.txt$
236 - ^releasenotes/.*$
237 - ^doc/.*$
238 - ^setup.cfg$
239 - ^.*\.rst$
240 - ^neutron/locale/.*$
241 - ^neutron/tests/unit/.*$
242 - ^tools/.*$
243 - ^tox.ini$
244 - ^neutron/agent/linux/openvswitch_firewall/.*$
245 - ^neutron/agent/ovn/.*$
246 - ^neutron/agent/windows/.*$
247 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
248 - ^neutron/plugins/ml2/drivers/macvtap/.*$
249 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
250 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200251
252- job:
253 name: neutron-tempest-plugin-scenario-linuxbridge
254 parent: neutron-tempest-plugin-scenario
255 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200256 roles:
257 - zuul: openstack/neutron
258 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200259 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100260 devstack_services:
261 # Disable OVN services
262 br-ex-tcpdump: false
263 br-int-flows: false
264 ovn-controller: false
265 ovn-northd: false
266 ovs-vswitchd: false
267 ovsdb-server: false
268 q-ovn-metadata-agent: false
269 # Neutron services
270 q-agt: true
271 q-dhcp: true
272 q-l3: true
273 q-meta: true
274 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200275 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100276 network_api_extensions_linuxbridge:
277 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100278 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100279 # TODO(eolivare): remove VLAN Transparency tests from blacklist
280 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
281 tempest_black_regex: "(^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200282 devstack_localrc:
283 Q_AGENT: linuxbridge
Eduardo Olivares088707b2020-12-01 21:13:45 +0100284 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100285 Q_ML2_TENANT_NETWORK_TYPE: vxlan
286 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200287 devstack_local_conf:
288 post-config:
289 $NEUTRON_CONF:
290 DEFAULT:
291 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100292 vlan_transparent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200293 AGENT:
294 debug_iptables_rules: true
295 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
296 # devstack-tempest job will be switched to use lib/neutron instead of
297 # lib/neutron-legacy
298 /$NEUTRON_CORE_PLUGIN_CONF:
299 ml2:
300 type_drivers: flat,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100301 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200302 test-config:
303 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100304 network-feature-enabled:
305 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200306 neutron_plugin_options:
307 available_type_drivers: flat,vlan,local,vxlan
308 q_agent: linuxbridge
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100309 irrelevant-files:
310 - ^(test-|)requirements.txt$
311 - ^releasenotes/.*$
312 - ^doc/.*$
313 - ^setup.cfg$
314 - ^.*\.rst$
315 - ^neutron/locale/.*$
316 - ^neutron/tests/unit/.*$
317 - ^tools/.*$
318 - ^tox.ini$
319 - ^neutron/agent/linux/openvswitch_firewall/.*$
320 - ^neutron/agent/ovn/.*$
321 - ^neutron/agent/windows/.*$
322 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
323 - ^neutron/plugins/ml2/drivers/macvtap/.*$
324 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
325 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200326
327- job:
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000328 name: neutron-tempest-plugin-scenario-ovn
329 parent: neutron-tempest-plugin-scenario
330 timeout: 10000
331 vars:
332 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100333 network_api_extensions_ovn:
334 - vlan-transparent
Slawek Kaplonski28082072020-11-02 21:32:04 +0100335 # TODO(haleyb): Remove IPv6Test from blacklist when
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000336 # https://bugs.launchpad.net/neutron/+bug/1881558 is fixed.
Slawek Kaplonski28082072020-11-02 21:32:04 +0100337 # TODO(slaweq): Remove test_trunk_subport_lifecycle test from the
338 # blacklist when bug https://bugs.launchpad.net/neutron/+bug/1885900 will
339 # be fixed
Jakub Libosvar20591c52020-10-29 21:01:51 +0100340 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
341 # once east/west fragmentation is supported in core OVN
Slawek Kaplonski28082072020-11-02 21:32:04 +0100342 tempest_black_regex: "\
343 (?:neutron_tempest_plugin.scenario.test_ipv6.IPv6Test)|\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100344 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle)|\
345 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000346 devstack_localrc:
347 Q_AGENT: ovn
Eduardo Olivares088707b2020-12-01 21:13:45 +0100348 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000349 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
350 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
351 Q_ML2_TENANT_NETWORK_TYPE: geneve
352 Q_USE_PROVIDERNET_FOR_PUBLIC: true
353 PHYSICAL_NETWORK: public
354 ENABLE_CHASSIS_AS_GW: true
355 OVN_L3_CREATE_PUBLIC_NETWORK: true
356 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000357 ENABLE_TLS: True
358 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100359 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
360 # is included in an ovn released version
361 OVN_BUILD_FROM_SOURCE: True
362 OVN_BRANCH: "v20.12.0"
363 OVS_BRANCH: "branch-2.15"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000364 devstack_services:
365 br-ex-tcpdump: true
366 br-int-flows: true
367 q-ovn-metadata-agent: true
368 ovn-controller: true
369 ovn-northd: true
370 ovs-vswitchd: true
371 ovsdb-server: true
372 q-agt: false
373 q-dhcp: false
374 q-l3: false
375 q-meta: false
376 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100377 q-qos: true
378 tls-proxy: true
379 # Cinder services
380 c-api: false
381 c-bak: false
382 c-sch: false
383 c-vol: false
384 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000385 s-account: false
386 s-container-sync: false
387 s-container: false
388 s-object: false
389 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000390 devstack_local_conf:
391 post-config:
392 $NEUTRON_CONF:
393 DEFAULT:
394 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100395 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000396 /$NEUTRON_CORE_PLUGIN_CONF:
397 ml2:
398 type_drivers: local,flat,vlan,geneve
399 test-config:
400 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100401 network-feature-enabled:
402 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000403 neutron_plugin_options:
404 available_type_drivers: local,flat,vlan,geneve
405 is_igmp_snooping_enabled: True
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100406 irrelevant-files:
407 - ^(test-|)requirements.txt$
408 - ^releasenotes/.*$
409 - ^doc/.*$
410 - ^setup.cfg$
411 - ^.*\.rst$
412 - ^neutron/locale/.*$
413 - ^neutron/tests/unit/.*$
414 - ^tools/.*$
415 - ^tox.ini$
416 - ^neutron/agent/dhcp/.*$
417 - ^neutron/agent/l2/.*$
418 - ^neutron/agent/l3/.*$
419 - ^neutron/agent/metadata/.*$
420 - ^neutron/agent/windows/.*$
421 - ^neutron/agent/dhcp_agent.py
422 - ^neutron/agent/l3_agent.py
423 - ^neutron/agent/metadata_agent.py
424 - ^neutron/agent/resource_cache.py
425 - ^neutron/agent/rpc.py
426 - ^neutron/agent/securitygroup_rpc.py
427 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
428 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
429 - ^neutron/plugins/ml2/drivers/macvtap/.*$
430 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
431 - ^neutron/scheduler/.*$
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000432
433- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200434 name: neutron-tempest-plugin-dvr-multinode-scenario
435 parent: tempest-multinode-full
436 description: |
437 Perform setup for Neutron tempest tests in multinode with DVR scenario
438 roles:
439 - zuul: openstack/devstack
440 required-projects:
441 - openstack/devstack-gate
442 - openstack/neutron
443 - openstack/neutron-tempest-plugin
444 - openstack/tempest
445 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
446 voting: false
447 vars:
448 tempest_concurrency: 4
449 tox_envlist: all
450 tempest_test_regex: ^neutron_tempest_plugin\.scenario
451 # NOTE(slaweq): in case of some tests, which requires advanced image,
452 # default test timeout set to 1200 seconds may be not enough if job is
453 # run on slow node
454 tempest_test_timeout: 2400
455 network_api_extensions_common: *api_extensions
456 network_api_extensions_dvr:
457 - dvr
458 devstack_localrc:
459 USE_PYTHON3: true
460 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
461 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200462 CIRROS_VERSION: 0.5.1
463 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
464 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200465 ADVANCED_INSTANCE_TYPE: ds512M
466 ADVANCED_INSTANCE_USER: ubuntu
467 BUILD_TIMEOUT: 784
468 devstack_plugins:
469 neutron: https://opendev.org/openstack/neutron.git
470 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
471 tempest_plugins:
472 - neutron-tempest-plugin
473 devstack_services:
474 tls-proxy: false
475 tempest: true
476 neutron-dns: true
477 neutron-qos: true
478 neutron-segments: true
479 neutron-trunk: true
480 neutron-log: true
481 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100482 # Cinder services
483 c-api: false
484 c-bak: false
485 c-sch: false
486 c-vol: false
487 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100488 # We don't need Swift to be run in the Neutron jobs
489 s-account: false
490 s-container: false
491 s-object: false
492 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200493 devstack_local_conf:
494 post-config:
495 $NEUTRON_CONF:
496 quotas:
497 quota_router: 100
498 quota_floatingip: 500
499 quota_security_group: 100
500 quota_security_group_rule: 1000
501 DEFAULT:
502 router_distributed: True
503 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
504 # devstack-tempest job will be switched to use lib/neutron instead of
505 # lib/neutron-legacy
506 "/$NEUTRON_CORE_PLUGIN_CONF":
507 ml2:
508 type_drivers: flat,geneve,vlan,gre,local,vxlan
509 mechanism_drivers: openvswitch,l2population
510 ml2_type_vlan:
511 network_vlan_ranges: foo:1:10
512 ml2_type_vxlan:
513 vni_ranges: 1:2000
514 ml2_type_gre:
515 tunnel_id_ranges: 1:1000
516 agent:
517 enable_distributed_routing: True
518 l2_population: True
519 tunnel_types: vxlan,gre
520 ovs:
521 tunnel_bridge: br-tun
522 bridge_mappings: public:br-ex
523 $NEUTRON_L3_CONF:
524 DEFAULT:
525 agent_mode: dvr_snat
526 agent:
527 availability_zone: nova
528 $NEUTRON_DHCP_CONF:
529 agent:
530 availability_zone: nova
531 "/etc/neutron/api-paste.ini":
532 "composite:neutronapi_v2_0":
533 use: "call:neutron.auth:pipeline_factory"
534 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
535 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
536 test-config:
537 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100538 network-feature-enabled:
539 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200540 neutron_plugin_options:
541 provider_vlans: foo,
542 agent_availability_zone: nova
543 image_is_advanced: true
544 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
545 l3_agent_mode: dvr_snat
546 group-vars:
547 subnode:
548 devstack_services:
549 tls-proxy: false
550 q-agt: true
551 q-l3: true
552 q-meta: true
553 neutron-qos: true
554 neutron-trunk: true
555 neutron-log: true
556 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100557 # Cinder services
558 c-bak: false
559 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100560 # We don't need Swift to be run in the Neutron jobs
561 s-account: false
562 s-container: false
563 s-object: false
564 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200565 devstack_localrc:
566 USE_PYTHON3: true
567 devstack_local_conf:
568 post-config:
569 $NEUTRON_CONF:
570 DEFAULT:
571 router_distributed: True
572 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
573 # devstack-tempest job will be switched to use lib/neutron instead of
574 # lib/neutron-legacy
575 "/$NEUTRON_CORE_PLUGIN_CONF":
576 agent:
577 enable_distributed_routing: True
578 l2_population: True
579 tunnel_types: vxlan,gre
580 ovs:
581 tunnel_bridge: br-tun
582 bridge_mappings: public:br-ex
583 $NEUTRON_L3_CONF:
584 DEFAULT:
585 agent_mode: dvr_snat
586 agent:
587 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100588 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200589
590- job:
591 name: neutron-tempest-plugin-designate-scenario
592 parent: neutron-tempest-plugin-scenario
593 description: Neutron designate integration scenario
594 required-projects:
595 - openstack/designate
596 - openstack/designate-dashboard
597 - openstack/designate-tempest-plugin
598 timeout: 3600
599 vars:
600 network_api_extensions_common: *api_extensions
601 devstack_localrc:
602 DESIGNATE_BACKEND_DRIVER: bind9
603 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100604 Q_ML2_TENANT_NETWORK_TYPE: vxlan
605 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200606 # In this job advanced image is not needed, so it's name should be
607 # empty
608 ADVANCED_IMAGE_NAME: ""
609 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
610 devstack_local_conf:
611 post-config:
612 $NEUTRON_CONF:
613 DEFAULT:
614 enable_dvr: false
615 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
616 # devstack-tempest job will be switched to use lib/neutron instead of
617 # lib/neutron-legacy
618 /$NEUTRON_CORE_PLUGIN_CONF:
619 agent:
620 tunnel_types: vxlan,gre
621 ovs:
622 tunnel_bridge: br-tun
623 bridge_mappings: public:br-ex
624 devstack_plugins:
625 designate: https://opendev.org/openstack/designate.git
626 devstack_services:
627 cinder: false
628 designate: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100629 # Disable OVN services
630 br-ex-tcpdump: false
631 br-int-flows: false
632 ovn-controller: false
633 ovn-northd: false
634 ovs-vswitchd: false
635 ovsdb-server: false
636 q-ovn-metadata-agent: false
637 # Neutron services
638 q-agt: true
639 q-dhcp: true
640 q-l3: true
641 q-meta: true
642 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200643 tempest_plugins:
644 - designate-tempest-plugin
645 - neutron-tempest-plugin
646 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100647 irrelevant-files:
648 - ^(test-|)requirements.txt$
649 - ^releasenotes/.*$
650 - ^doc/.*$
651 - ^setup.cfg$
652 - ^.*\.rst$
653 - ^neutron/locale/.*$
654 - ^neutron/tests/unit/.*$
655 - ^tools/.*$
656 - ^tox.ini$
657 - ^neutron/agent/.*$
658 - ^neutron/cmd/.*$
659 - ^neutron/privileged/.*$
660 - ^neutron/plugins/ml2/drivers/.*$
661 - ^neutron/scheduler/.*$
662 - ^neutron/services/(?!externaldns).*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200663
664- job:
665 name: neutron-tempest-plugin-sfc
666 parent: neutron-tempest-plugin-base
667 timeout: 10800
668 required-projects:
669 - openstack/devstack-gate
670 - openstack/networking-sfc
671 - openstack/neutron
672 - openstack/neutron-tempest-plugin
673 - openstack/tempest
674 vars:
675 network_api_extensions_common: *api_extensions
676 tempest_test_regex: ^neutron_tempest_plugin\.sfc
677 devstack_plugins:
678 networking-sfc: https://opendev.org/openstack/networking-sfc
679 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
680 network_api_extensions_sfc:
681 - flow_classifier
682 - sfc
683 devstack_localrc:
684 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
685 # TODO(bcafarel): tests still fail from time to time in parallel
686 # https://bugs.launchpad.net/neutron/+bug/1851500
687 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
688 tempest_concurrency: 1
689
690- job:
691 name: neutron-tempest-plugin-bgpvpn-bagpipe
692 parent: neutron-tempest-plugin-base
693 required-projects:
694 - openstack/networking-bagpipe
695 - openstack/networking-bgpvpn
696 vars:
697 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
698 network_api_extensions: *api_extensions
699 network_api_extensions_bgpvpn:
700 - bgpvpn
701 - bgpvpn-routes-control
702 devstack_localrc:
703 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
704 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
705 BAGPIPE_BGP_PEERS: "-"
706 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
707 devstack_plugins:
708 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
709 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
710
711- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200712 name: neutron-tempest-plugin-dynamic-routing
713 parent: neutron-tempest-plugin-base
714 description: |
715 Perform setup common to all Neutron dynamic routing tempest tests
716 required-projects:
717 - openstack/neutron
718 - openstack/neutron-dynamic-routing
719 - openstack/os-ken
720 - openstack/tempest
721 pre-run: playbooks/dynamic-routing-pre-run.yaml
722 vars:
723 devstack_plugins:
724 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
725 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
726 network_api_extensions_common: *api_extensions
727 network_api_extensions_bgp:
728 - bgp
729 - bgp_dragent_scheduler
730 - bgp_4byte_asn
731 devstack_localrc:
732 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100733 Q_AGENT: openvswitch
734 Q_ML2_TENANT_NETWORK_TYPE: vxlan
735 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200736 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100737 # Disable OVN services
738 br-ex-tcpdump: false
739 br-int-flows: false
740 ovn-controller: false
741 ovn-northd: false
742 ovs-vswitchd: false
743 ovsdb-server: false
744 q-ovn-metadata-agent: false
745 # Neutron services
746 q-agt: true
747 q-dhcp: true
748 q-meta: true
749 q-metering: true
750 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200751 neutron-dr: true
752 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200753 tempest_concurrency: 1
754 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
755
756- job:
757 name: neutron-tempest-plugin-vpnaas
758 parent: neutron-tempest-plugin-base
759 timeout: 3900
760 required-projects:
761 - openstack/devstack-gate
762 - openstack/neutron
763 - openstack/neutron-vpnaas
764 - openstack/neutron-tempest-plugin
765 - openstack/tempest
766 vars:
767 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
768 devstack_plugins:
769 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
770 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
771 network_api_extensions_common: *api_extensions
772 network_api_extensions_vpnaas:
773 - vpnaas
774 devstack_localrc:
775 IPSEC_PACKAGE: strongswan
776 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"