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