blob: a7757114b7655b0ce2b59937991ed368b72f10a9 [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
Slawek Kaplonski913c3062020-06-08 00:06:54 +020020 - dns-integration-domain-keywords
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020021 - empty-string-filtering
22 - expose-port-forwarding-in-fip
23 - expose-l3-conntrack-helper
24 - ext-gw-mode
25 - external-net
26 - extra_dhcp_opt
27 - extraroute
28 - extraroute-atomic
29 - filter-validation
30 - fip-port-details
31 - flavors
32 - floating-ip-port-forwarding
33 - floatingip-pools
34 - ip-substring-filtering
35 - l3-conntrack-helper
36 - l3-flavors
37 - l3-ha
38 - l3_agent_scheduler
39 - logging
40 - metering
41 - multi-provider
42 - net-mtu
43 - net-mtu-writable
44 - network-ip-availability
45 - network_availability_zone
46 - network-segment-range
47 - pagination
48 - port-resource-request
49 - port-mac-address-regenerate
50 - port-security
51 - port-security-groups-filtering
52 - project-id
53 - provider
54 - qos
55 - qos-bw-minimum-ingress
56 - qos-fip
57 - quotas
58 - quota_details
Miguel Lavalleb1c7a3d2021-01-31 19:05:22 -060059 - rbac-address-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020060 - rbac-address-scope
61 - rbac-policies
62 - rbac-security-groups
63 - rbac-subnetpool
64 - router
65 - router-admin-state-down-before-update
66 - router_availability_zone
67 - security-group
Hang Yange6e0ccf2021-02-26 15:07:05 -060068 - security-groups-remote-address-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020069 - segment
70 - service-type
71 - sorting
72 - standard-attr-description
73 - standard-attr-revisions
74 - standard-attr-segment
75 - standard-attr-tag
76 - standard-attr-timestamp
77 - subnet_allocation
78 - subnet-dns-publish-fixed-ip
Slawek Kaplonskia5cdede2021-06-23 09:37:04 +020079 - subnet-service-types
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020080 - subnetpool-prefix-ops
81 - tag-ports-during-bulk-creation
82 - trunk
83 - trunk-details
84 - uplink-status-propagation
85 network_api_extensions_tempest:
86 - dvr
elajkat8bbd7432020-11-04 16:41:34 +010087 network_available_features: &available_features
88 - ipv6_metadata
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020089 tempest_test_regex: ^neutron_tempest_plugin\.api
90 devstack_services:
Slawek Kaplonski20eb9672021-05-14 10:30:14 +020091 # Disable OVN services
92 br-ex-tcpdump: false
93 br-int-flows: false
94 ovn-controller: false
95 ovn-northd: false
96 ovs-vswitchd: false
97 ovsdb-server: false
98 q-ovn-metadata-agent: false
99 # Neutron services
100 q-agt: true
101 q-dhcp: true
102 q-l3: true
103 q-meta: true
104 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200105 neutron-log: true
Slawek Kaplonskide203632020-11-05 14:34:10 +0100106 devstack_localrc:
Slawek Kaplonski20eb9672021-05-14 10:30:14 +0200107 Q_AGENT: openvswitch
108 Q_ML2_TENANT_NETWORK_TYPE: vxlan
109 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200110 devstack_local_conf:
111 post-config:
112 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
113 # devstack-tempest job will be switched to use lib/neutron instead of
114 # lib/neutron-legacy
115 /$NEUTRON_CORE_PLUGIN_CONF:
116 AGENT:
117 tunnel_types: gre,vxlan
118 network_log:
119 local_output_log_base: /tmp/test_log.log
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100120 irrelevant-files:
121 - ^(test-|)requirements.txt$
122 - ^releasenotes/.*$
123 - ^doc/.*$
124 - ^setup.cfg$
125 - ^.*\.rst$
126 - ^neutron/locale/.*$
127 - ^neutron/tests/unit/.*$
128 - ^tools/.*$
129 - ^tox.ini$
130 - ^neutron/agent/.*$
131 - ^neutron/privileged/.*$
132 - ^neutron_tempest_plugin/scenario/.*$
133
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200134
135- job:
136 name: neutron-tempest-plugin-scenario-openvswitch
137 parent: neutron-tempest-plugin-scenario
138 timeout: 10000
139 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100140 devstack_services:
141 # Disable OVN services
142 br-ex-tcpdump: false
143 br-int-flows: false
144 ovn-controller: false
145 ovn-northd: false
146 ovs-vswitchd: false
147 ovsdb-server: false
148 q-ovn-metadata-agent: false
149 # Neutron services
150 q-agt: true
151 q-dhcp: true
152 q-l3: true
153 q-meta: true
154 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200155 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100156 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200157 devstack_localrc:
158 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100159 Q_ML2_TENANT_NETWORK_TYPE: vxlan
160 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200161 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
162 devstack_local_conf:
163 post-config:
164 $NEUTRON_CONF:
165 DEFAULT:
166 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200167 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200168 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
169 # devstack-tempest job will be switched to use lib/neutron instead of
170 # lib/neutron-legacy
171 /$NEUTRON_CORE_PLUGIN_CONF:
172 agent:
173 tunnel_types: vxlan,gre
174 ovs:
175 tunnel_bridge: br-tun
176 bridge_mappings: public:br-ex
177 test-config:
178 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100179 network-feature-enabled:
180 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200181 neutron_plugin_options:
182 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600183 firewall_driver: openvswitch
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100184 irrelevant-files: &openvswitch-scenario-irrelevant-files
185 - ^(test-|)requirements.txt$
186 - ^releasenotes/.*$
187 - ^doc/.*$
188 - ^setup.cfg$
189 - ^.*\.rst$
190 - ^neutron/locale/.*$
191 - ^neutron/tests/unit/.*$
192 - ^tools/.*$
193 - ^tox.ini$
194 - ^neutron/agent/ovn/.*$
195 - ^neutron/agent/windows/.*$
196 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
197 - ^neutron/plugins/ml2/drivers/macvtap/.*$
198 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
199 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200200
201- job:
202 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
203 parent: neutron-tempest-plugin-scenario
204 timeout: 10000
205 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100206 devstack_services:
207 # Disable OVN services
208 br-ex-tcpdump: false
209 br-int-flows: false
210 ovn-controller: false
211 ovn-northd: false
212 ovs-vswitchd: false
213 ovsdb-server: false
214 q-ovn-metadata-agent: false
215 # Neutron services
216 q-agt: true
217 q-dhcp: true
218 q-l3: true
219 q-meta: true
220 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200221 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100222 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200223 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
224 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
Alex Katzbd2bfd42021-05-26 18:12:36 +0300225 # TODO(akatz): remove established tcp session verification test when the
226 # bug https://bugzilla.redhat.com/show_bug.cgi?id=1965036 will be fixed
227 tempest_exclude_regex: "\
228 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
229 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200230 devstack_localrc:
231 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100232 Q_ML2_TENANT_NETWORK_TYPE: vxlan
233 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200234 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
235 devstack_local_conf:
236 post-config:
237 $NEUTRON_CONF:
238 DEFAULT:
239 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200240 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200241 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
242 # devstack-tempest job will be switched to use lib/neutron instead of
243 # lib/neutron-legacy
244 /$NEUTRON_CORE_PLUGIN_CONF:
245 agent:
246 tunnel_types: vxlan,gre
247 ovs:
248 tunnel_bridge: br-tun
249 bridge_mappings: public:br-ex
250 securitygroup:
251 firewall_driver: iptables_hybrid
252 test-config:
253 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100254 network-feature-enabled:
255 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200256 neutron_plugin_options:
257 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600258 firewall_driver: iptables_hybrid
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100259 irrelevant-files:
260 - ^(test-|)requirements.txt$
261 - ^releasenotes/.*$
262 - ^doc/.*$
263 - ^setup.cfg$
264 - ^.*\.rst$
265 - ^neutron/locale/.*$
266 - ^neutron/tests/unit/.*$
267 - ^tools/.*$
268 - ^tox.ini$
269 - ^neutron/agent/linux/openvswitch_firewall/.*$
270 - ^neutron/agent/ovn/.*$
271 - ^neutron/agent/windows/.*$
272 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
273 - ^neutron/plugins/ml2/drivers/macvtap/.*$
274 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
275 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200276
277- job:
278 name: neutron-tempest-plugin-scenario-linuxbridge
279 parent: neutron-tempest-plugin-scenario
280 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200281 roles:
282 - zuul: openstack/neutron
283 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200284 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100285 devstack_services:
286 # Disable OVN services
287 br-ex-tcpdump: false
288 br-int-flows: false
289 ovn-controller: false
290 ovn-northd: false
291 ovs-vswitchd: false
292 ovsdb-server: false
293 q-ovn-metadata-agent: false
294 # Neutron services
295 q-agt: true
296 q-dhcp: true
297 q-l3: true
298 q-meta: true
299 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200300 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100301 network_api_extensions_linuxbridge:
302 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100303 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100304 # TODO(eolivare): remove VLAN Transparency tests from blacklist
305 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600306 tempest_exclude_regex: "(^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200307 devstack_localrc:
308 Q_AGENT: linuxbridge
Eduardo Olivares088707b2020-12-01 21:13:45 +0100309 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100310 Q_ML2_TENANT_NETWORK_TYPE: vxlan
311 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200312 devstack_local_conf:
313 post-config:
314 $NEUTRON_CONF:
315 DEFAULT:
316 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100317 vlan_transparent: true
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200318 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200319 AGENT:
320 debug_iptables_rules: true
321 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
322 # devstack-tempest job will be switched to use lib/neutron instead of
323 # lib/neutron-legacy
324 /$NEUTRON_CORE_PLUGIN_CONF:
325 ml2:
326 type_drivers: flat,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100327 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200328 test-config:
329 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100330 network-feature-enabled:
331 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200332 neutron_plugin_options:
333 available_type_drivers: flat,vlan,local,vxlan
334 q_agent: linuxbridge
Hang Yange6e0ccf2021-02-26 15:07:05 -0600335 firewall_driver: iptables
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100336 irrelevant-files:
337 - ^(test-|)requirements.txt$
338 - ^releasenotes/.*$
339 - ^doc/.*$
340 - ^setup.cfg$
341 - ^.*\.rst$
342 - ^neutron/locale/.*$
343 - ^neutron/tests/unit/.*$
344 - ^tools/.*$
345 - ^tox.ini$
346 - ^neutron/agent/linux/openvswitch_firewall/.*$
347 - ^neutron/agent/ovn/.*$
348 - ^neutron/agent/windows/.*$
349 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
350 - ^neutron/plugins/ml2/drivers/macvtap/.*$
351 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
352 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200353
354- job:
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000355 name: neutron-tempest-plugin-scenario-ovn
356 parent: neutron-tempest-plugin-scenario
357 timeout: 10000
358 vars:
359 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100360 network_api_extensions_ovn:
361 - vlan-transparent
Slawek Kaplonski28082072020-11-02 21:32:04 +0100362 # TODO(haleyb): Remove IPv6Test from blacklist when
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000363 # https://bugs.launchpad.net/neutron/+bug/1881558 is fixed.
Slawek Kaplonski28082072020-11-02 21:32:04 +0100364 # TODO(slaweq): Remove test_trunk_subport_lifecycle test from the
365 # blacklist when bug https://bugs.launchpad.net/neutron/+bug/1885900 will
366 # be fixed
Jakub Libosvar20591c52020-10-29 21:01:51 +0100367 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
368 # once east/west fragmentation is supported in core OVN
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600369 tempest_exclude_regex: "\
Slawek Kaplonski28082072020-11-02 21:32:04 +0100370 (?:neutron_tempest_plugin.scenario.test_ipv6.IPv6Test)|\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100371 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle)|\
372 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000373 devstack_localrc:
374 Q_AGENT: ovn
Eduardo Olivares088707b2020-12-01 21:13:45 +0100375 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000376 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
377 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
378 Q_ML2_TENANT_NETWORK_TYPE: geneve
379 Q_USE_PROVIDERNET_FOR_PUBLIC: true
380 PHYSICAL_NETWORK: public
381 ENABLE_CHASSIS_AS_GW: true
382 OVN_L3_CREATE_PUBLIC_NETWORK: true
383 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000384 ENABLE_TLS: True
385 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100386 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
387 # is included in an ovn released version
388 OVN_BUILD_FROM_SOURCE: True
389 OVN_BRANCH: "v20.12.0"
390 OVS_BRANCH: "branch-2.15"
Slawek Kaplonski862cbeb2021-03-20 10:05:26 +0100391 OVS_SYSCONFDIR: "/usr/local/etc/openvswitch"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000392 devstack_services:
393 br-ex-tcpdump: true
394 br-int-flows: true
395 q-ovn-metadata-agent: true
396 ovn-controller: true
397 ovn-northd: true
398 ovs-vswitchd: true
399 ovsdb-server: true
400 q-agt: false
401 q-dhcp: false
402 q-l3: false
403 q-meta: false
404 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100405 q-qos: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100406 # Cinder services
407 c-api: false
408 c-bak: false
409 c-sch: false
410 c-vol: false
411 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000412 s-account: false
413 s-container-sync: false
414 s-container: false
415 s-object: false
416 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000417 devstack_local_conf:
418 post-config:
419 $NEUTRON_CONF:
420 DEFAULT:
421 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100422 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000423 /$NEUTRON_CORE_PLUGIN_CONF:
424 ml2:
425 type_drivers: local,flat,vlan,geneve
426 test-config:
427 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100428 network-feature-enabled:
429 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000430 neutron_plugin_options:
431 available_type_drivers: local,flat,vlan,geneve
432 is_igmp_snooping_enabled: True
Hang Yange6e0ccf2021-02-26 15:07:05 -0600433 firewall_driver: ovn
Jakub Libosvar08f3c612021-02-07 15:50:23 +0100434 zuul_copy_output:
435 '{{ devstack_base_dir }}/data/ovs': 'logs'
436 '{{ devstack_base_dir }}/data/ovn': 'logs'
437 '{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
438 '{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100439 irrelevant-files:
440 - ^(test-|)requirements.txt$
441 - ^releasenotes/.*$
442 - ^doc/.*$
443 - ^setup.cfg$
444 - ^.*\.rst$
445 - ^neutron/locale/.*$
446 - ^neutron/tests/unit/.*$
447 - ^tools/.*$
448 - ^tox.ini$
449 - ^neutron/agent/dhcp/.*$
450 - ^neutron/agent/l2/.*$
451 - ^neutron/agent/l3/.*$
452 - ^neutron/agent/metadata/.*$
453 - ^neutron/agent/windows/.*$
454 - ^neutron/agent/dhcp_agent.py
455 - ^neutron/agent/l3_agent.py
456 - ^neutron/agent/metadata_agent.py
457 - ^neutron/agent/resource_cache.py
458 - ^neutron/agent/rpc.py
459 - ^neutron/agent/securitygroup_rpc.py
460 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
461 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
462 - ^neutron/plugins/ml2/drivers/macvtap/.*$
463 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
464 - ^neutron/scheduler/.*$
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000465
466- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200467 name: neutron-tempest-plugin-dvr-multinode-scenario
468 parent: tempest-multinode-full
469 description: |
470 Perform setup for Neutron tempest tests in multinode with DVR scenario
471 roles:
472 - zuul: openstack/devstack
473 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200474 - openstack/neutron
475 - openstack/neutron-tempest-plugin
476 - openstack/tempest
477 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
478 voting: false
479 vars:
480 tempest_concurrency: 4
481 tox_envlist: all
482 tempest_test_regex: ^neutron_tempest_plugin\.scenario
483 # NOTE(slaweq): in case of some tests, which requires advanced image,
484 # default test timeout set to 1200 seconds may be not enough if job is
485 # run on slow node
486 tempest_test_timeout: 2400
487 network_api_extensions_common: *api_extensions
488 network_api_extensions_dvr:
489 - dvr
490 devstack_localrc:
491 USE_PYTHON3: true
492 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
493 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200494 CIRROS_VERSION: 0.5.1
495 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
496 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200497 ADVANCED_INSTANCE_TYPE: ds512M
498 ADVANCED_INSTANCE_USER: ubuntu
499 BUILD_TIMEOUT: 784
500 devstack_plugins:
501 neutron: https://opendev.org/openstack/neutron.git
502 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
503 tempest_plugins:
504 - neutron-tempest-plugin
505 devstack_services:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200506 tempest: true
507 neutron-dns: true
508 neutron-qos: true
509 neutron-segments: true
510 neutron-trunk: true
511 neutron-log: true
512 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100513 # Cinder services
514 c-api: false
515 c-bak: false
516 c-sch: false
517 c-vol: false
518 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100519 # We don't need Swift to be run in the Neutron jobs
520 s-account: false
521 s-container: false
522 s-object: false
523 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200524 devstack_local_conf:
525 post-config:
526 $NEUTRON_CONF:
527 quotas:
528 quota_router: 100
529 quota_floatingip: 500
530 quota_security_group: 100
531 quota_security_group_rule: 1000
532 DEFAULT:
533 router_distributed: True
534 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
535 # devstack-tempest job will be switched to use lib/neutron instead of
536 # lib/neutron-legacy
537 "/$NEUTRON_CORE_PLUGIN_CONF":
538 ml2:
539 type_drivers: flat,geneve,vlan,gre,local,vxlan
540 mechanism_drivers: openvswitch,l2population
541 ml2_type_vlan:
542 network_vlan_ranges: foo:1:10
543 ml2_type_vxlan:
544 vni_ranges: 1:2000
545 ml2_type_gre:
546 tunnel_id_ranges: 1:1000
547 agent:
548 enable_distributed_routing: True
549 l2_population: True
550 tunnel_types: vxlan,gre
551 ovs:
552 tunnel_bridge: br-tun
553 bridge_mappings: public:br-ex
554 $NEUTRON_L3_CONF:
555 DEFAULT:
556 agent_mode: dvr_snat
557 agent:
558 availability_zone: nova
559 $NEUTRON_DHCP_CONF:
560 agent:
561 availability_zone: nova
562 "/etc/neutron/api-paste.ini":
563 "composite:neutronapi_v2_0":
564 use: "call:neutron.auth:pipeline_factory"
565 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
566 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
567 test-config:
568 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100569 network-feature-enabled:
570 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200571 neutron_plugin_options:
572 provider_vlans: foo,
573 agent_availability_zone: nova
574 image_is_advanced: true
575 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
576 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600577 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200578 group-vars:
579 subnode:
580 devstack_services:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200581 q-agt: true
582 q-l3: true
583 q-meta: true
584 neutron-qos: true
585 neutron-trunk: true
586 neutron-log: true
587 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100588 # Cinder services
589 c-bak: false
590 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100591 # We don't need Swift to be run in the Neutron jobs
592 s-account: false
593 s-container: false
594 s-object: false
595 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200596 devstack_localrc:
597 USE_PYTHON3: true
598 devstack_local_conf:
599 post-config:
600 $NEUTRON_CONF:
601 DEFAULT:
602 router_distributed: True
603 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
604 # devstack-tempest job will be switched to use lib/neutron instead of
605 # lib/neutron-legacy
606 "/$NEUTRON_CORE_PLUGIN_CONF":
607 agent:
608 enable_distributed_routing: True
609 l2_population: True
610 tunnel_types: vxlan,gre
611 ovs:
612 tunnel_bridge: br-tun
613 bridge_mappings: public:br-ex
614 $NEUTRON_L3_CONF:
615 DEFAULT:
616 agent_mode: dvr_snat
617 agent:
618 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100619 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200620
621- job:
622 name: neutron-tempest-plugin-designate-scenario
623 parent: neutron-tempest-plugin-scenario
624 description: Neutron designate integration scenario
625 required-projects:
626 - openstack/designate
627 - openstack/designate-dashboard
628 - openstack/designate-tempest-plugin
629 timeout: 3600
630 vars:
631 network_api_extensions_common: *api_extensions
632 devstack_localrc:
633 DESIGNATE_BACKEND_DRIVER: bind9
634 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100635 Q_ML2_TENANT_NETWORK_TYPE: vxlan
636 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200637 # In this job advanced image is not needed, so it's name should be
638 # empty
639 ADVANCED_IMAGE_NAME: ""
640 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
641 devstack_local_conf:
642 post-config:
643 $NEUTRON_CONF:
644 DEFAULT:
645 enable_dvr: false
646 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
647 # devstack-tempest job will be switched to use lib/neutron instead of
648 # lib/neutron-legacy
649 /$NEUTRON_CORE_PLUGIN_CONF:
650 agent:
651 tunnel_types: vxlan,gre
652 ovs:
653 tunnel_bridge: br-tun
654 bridge_mappings: public:br-ex
655 devstack_plugins:
656 designate: https://opendev.org/openstack/designate.git
657 devstack_services:
658 cinder: false
659 designate: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100660 # Disable OVN services
661 br-ex-tcpdump: false
662 br-int-flows: false
663 ovn-controller: false
664 ovn-northd: false
665 ovs-vswitchd: false
666 ovsdb-server: false
667 q-ovn-metadata-agent: false
668 # Neutron services
669 q-agt: true
670 q-dhcp: true
671 q-l3: true
672 q-meta: true
673 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200674 tempest_plugins:
675 - designate-tempest-plugin
676 - neutron-tempest-plugin
677 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100678 irrelevant-files:
679 - ^(test-|)requirements.txt$
680 - ^releasenotes/.*$
681 - ^doc/.*$
682 - ^setup.cfg$
683 - ^.*\.rst$
684 - ^neutron/locale/.*$
685 - ^neutron/tests/unit/.*$
686 - ^tools/.*$
687 - ^tox.ini$
688 - ^neutron/agent/.*$
689 - ^neutron/cmd/.*$
690 - ^neutron/privileged/.*$
691 - ^neutron/plugins/ml2/drivers/.*$
692 - ^neutron/scheduler/.*$
693 - ^neutron/services/(?!externaldns).*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200694
695- job:
696 name: neutron-tempest-plugin-sfc
697 parent: neutron-tempest-plugin-base
698 timeout: 10800
699 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200700 - openstack/networking-sfc
701 - openstack/neutron
702 - openstack/neutron-tempest-plugin
703 - openstack/tempest
704 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200705 devstack_services:
706 # Disable OVN services
707 br-ex-tcpdump: false
708 br-int-flows: false
709 ovn-controller: false
710 ovn-northd: false
711 ovs-vswitchd: false
712 ovsdb-server: false
713 q-ovn-metadata-agent: false
714 # Enable Neutron services that are not used by OVN
715 q-agt: true
716 q-dhcp: true
717 q-l3: true
718 q-meta: true
719 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200720 network_api_extensions_common: *api_extensions
721 tempest_test_regex: ^neutron_tempest_plugin\.sfc
722 devstack_plugins:
723 networking-sfc: https://opendev.org/openstack/networking-sfc
724 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
725 network_api_extensions_sfc:
726 - flow_classifier
727 - sfc
728 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200729 Q_AGENT: openvswitch
730 Q_ML2_TENANT_NETWORK_TYPE: vxlan
731 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200732 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
733 # TODO(bcafarel): tests still fail from time to time in parallel
734 # https://bugs.launchpad.net/neutron/+bug/1851500
735 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
736 tempest_concurrency: 1
737
738- job:
739 name: neutron-tempest-plugin-bgpvpn-bagpipe
740 parent: neutron-tempest-plugin-base
741 required-projects:
742 - openstack/networking-bagpipe
743 - openstack/networking-bgpvpn
744 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200745 devstack_services:
746 # 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 # Enable Neutron services that are not used by OVN
755 q-agt: true
756 q-dhcp: true
757 q-l3: true
758 q-meta: true
759 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200760 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
761 network_api_extensions: *api_extensions
762 network_api_extensions_bgpvpn:
763 - bgpvpn
764 - bgpvpn-routes-control
765 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200766 Q_AGENT: openvswitch
767 Q_ML2_TENANT_NETWORK_TYPE: vxlan
768 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200769 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
770 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
771 BAGPIPE_BGP_PEERS: "-"
772 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
773 devstack_plugins:
774 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
775 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
776
777- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200778 name: neutron-tempest-plugin-dynamic-routing
779 parent: neutron-tempest-plugin-base
780 description: |
781 Perform setup common to all Neutron dynamic routing tempest tests
782 required-projects:
783 - openstack/neutron
784 - openstack/neutron-dynamic-routing
785 - openstack/os-ken
786 - openstack/tempest
787 pre-run: playbooks/dynamic-routing-pre-run.yaml
788 vars:
789 devstack_plugins:
790 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
791 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
792 network_api_extensions_common: *api_extensions
793 network_api_extensions_bgp:
794 - bgp
795 - bgp_dragent_scheduler
796 - bgp_4byte_asn
797 devstack_localrc:
798 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100799 Q_AGENT: openvswitch
800 Q_ML2_TENANT_NETWORK_TYPE: vxlan
801 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200802 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100803 # Disable OVN services
804 br-ex-tcpdump: false
805 br-int-flows: false
806 ovn-controller: false
807 ovn-northd: false
808 ovs-vswitchd: false
809 ovsdb-server: false
810 q-ovn-metadata-agent: false
811 # Neutron services
812 q-agt: true
813 q-dhcp: true
814 q-meta: true
815 q-metering: true
816 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200817 neutron-dr: true
818 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200819 tempest_concurrency: 1
820 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
821
822- job:
823 name: neutron-tempest-plugin-vpnaas
824 parent: neutron-tempest-plugin-base
825 timeout: 3900
826 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200827 - openstack/neutron
828 - openstack/neutron-vpnaas
829 - openstack/neutron-tempest-plugin
830 - openstack/tempest
831 vars:
832 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
833 devstack_plugins:
834 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
835 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
836 network_api_extensions_common: *api_extensions
837 network_api_extensions_vpnaas:
838 - vpnaas
839 devstack_localrc:
840 IPSEC_PACKAGE: strongswan
841 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"