blob: 58a1d37b6980a3889d67fb3e909143baf5245e8a [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:
91 neutron-log: true
Slawek Kaplonskide203632020-11-05 14:34:10 +010092 devstack_localrc:
Rodolfo Alonso Hernandez3c0ef4e2021-05-26 16:26:51 +000093 # TODO(lucasagomes): Re-enable MOD_WSGI after
94 # https://bugs.launchpad.net/neutron/+bug/1912359 is implemented
95 NEUTRON_DEPLOY_MOD_WSGI: false
96 # TODO(ralonsoh): remove OVN_BUILD_FROM_SOURCE once the OS packages
97 # include at least OVN v20.12.0.
98 OVN_BUILD_FROM_SOURCE: True
99 OVN_BRANCH: "v21.03.0"
100 OVS_BRANCH: "8dc1733eaea866dce033b3c44853e1b09bf59fc7"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200101 devstack_local_conf:
102 post-config:
103 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
104 # devstack-tempest job will be switched to use lib/neutron instead of
105 # lib/neutron-legacy
106 /$NEUTRON_CORE_PLUGIN_CONF:
107 AGENT:
108 tunnel_types: gre,vxlan
109 network_log:
110 local_output_log_base: /tmp/test_log.log
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100111 irrelevant-files:
112 - ^(test-|)requirements.txt$
113 - ^releasenotes/.*$
114 - ^doc/.*$
115 - ^setup.cfg$
116 - ^.*\.rst$
117 - ^neutron/locale/.*$
118 - ^neutron/tests/unit/.*$
119 - ^tools/.*$
120 - ^tox.ini$
121 - ^neutron/agent/.*$
122 - ^neutron/privileged/.*$
123 - ^neutron_tempest_plugin/scenario/.*$
124
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200125
126- job:
127 name: neutron-tempest-plugin-scenario-openvswitch
128 parent: neutron-tempest-plugin-scenario
129 timeout: 10000
130 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100131 devstack_services:
132 # Disable OVN services
133 br-ex-tcpdump: false
134 br-int-flows: false
135 ovn-controller: false
136 ovn-northd: false
137 ovs-vswitchd: false
138 ovsdb-server: false
139 q-ovn-metadata-agent: false
140 # Neutron services
141 q-agt: true
142 q-dhcp: true
143 q-l3: true
144 q-meta: true
145 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200146 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100147 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200148 devstack_localrc:
149 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100150 Q_ML2_TENANT_NETWORK_TYPE: vxlan
151 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200152 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
153 devstack_local_conf:
154 post-config:
155 $NEUTRON_CONF:
156 DEFAULT:
157 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200158 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200159 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
160 # devstack-tempest job will be switched to use lib/neutron instead of
161 # lib/neutron-legacy
162 /$NEUTRON_CORE_PLUGIN_CONF:
163 agent:
164 tunnel_types: vxlan,gre
165 ovs:
166 tunnel_bridge: br-tun
167 bridge_mappings: public:br-ex
168 test-config:
169 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100170 network-feature-enabled:
171 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200172 neutron_plugin_options:
173 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600174 firewall_driver: openvswitch
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100175 irrelevant-files: &openvswitch-scenario-irrelevant-files
176 - ^(test-|)requirements.txt$
177 - ^releasenotes/.*$
178 - ^doc/.*$
179 - ^setup.cfg$
180 - ^.*\.rst$
181 - ^neutron/locale/.*$
182 - ^neutron/tests/unit/.*$
183 - ^tools/.*$
184 - ^tox.ini$
185 - ^neutron/agent/ovn/.*$
186 - ^neutron/agent/windows/.*$
187 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
188 - ^neutron/plugins/ml2/drivers/macvtap/.*$
189 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
190 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200191
192- job:
193 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
194 parent: neutron-tempest-plugin-scenario
195 timeout: 10000
196 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100197 devstack_services:
198 # Disable OVN services
199 br-ex-tcpdump: false
200 br-int-flows: false
201 ovn-controller: false
202 ovn-northd: false
203 ovs-vswitchd: false
204 ovsdb-server: false
205 q-ovn-metadata-agent: false
206 # Neutron services
207 q-agt: true
208 q-dhcp: true
209 q-l3: true
210 q-meta: true
211 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200212 network_api_extensions: *api_extensions
elajkat8bbd7432020-11-04 16:41:34 +0100213 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200214 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
215 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
Alex Katzbd2bfd42021-05-26 18:12:36 +0300216 # TODO(akatz): remove established tcp session verification test when the
217 # bug https://bugzilla.redhat.com/show_bug.cgi?id=1965036 will be fixed
218 tempest_exclude_regex: "\
219 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
220 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200221 devstack_localrc:
222 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100223 Q_ML2_TENANT_NETWORK_TYPE: vxlan
224 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200225 NETWORK_API_EXTENSIONS: "{{ network_api_extensions | join(',') }}"
226 devstack_local_conf:
227 post-config:
228 $NEUTRON_CONF:
229 DEFAULT:
230 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200231 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200232 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
233 # devstack-tempest job will be switched to use lib/neutron instead of
234 # lib/neutron-legacy
235 /$NEUTRON_CORE_PLUGIN_CONF:
236 agent:
237 tunnel_types: vxlan,gre
238 ovs:
239 tunnel_bridge: br-tun
240 bridge_mappings: public:br-ex
241 securitygroup:
242 firewall_driver: iptables_hybrid
243 test-config:
244 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100245 network-feature-enabled:
246 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200247 neutron_plugin_options:
248 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600249 firewall_driver: iptables_hybrid
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100250 irrelevant-files:
251 - ^(test-|)requirements.txt$
252 - ^releasenotes/.*$
253 - ^doc/.*$
254 - ^setup.cfg$
255 - ^.*\.rst$
256 - ^neutron/locale/.*$
257 - ^neutron/tests/unit/.*$
258 - ^tools/.*$
259 - ^tox.ini$
260 - ^neutron/agent/linux/openvswitch_firewall/.*$
261 - ^neutron/agent/ovn/.*$
262 - ^neutron/agent/windows/.*$
263 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
264 - ^neutron/plugins/ml2/drivers/macvtap/.*$
265 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
266 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200267
268- job:
269 name: neutron-tempest-plugin-scenario-linuxbridge
270 parent: neutron-tempest-plugin-scenario
271 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200272 roles:
273 - zuul: openstack/neutron
274 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200275 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100276 devstack_services:
277 # Disable OVN services
278 br-ex-tcpdump: false
279 br-int-flows: false
280 ovn-controller: false
281 ovn-northd: false
282 ovs-vswitchd: false
283 ovsdb-server: false
284 q-ovn-metadata-agent: false
285 # Neutron services
286 q-agt: true
287 q-dhcp: true
288 q-l3: true
289 q-meta: true
290 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200291 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100292 network_api_extensions_linuxbridge:
293 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100294 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100295 # TODO(eolivare): remove VLAN Transparency tests from blacklist
296 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
Slawek Kaplonskicc63c422021-07-21 10:20:18 +0200297 # TODO(slaweq): remove
298 # test_established_tcp_session_after_re_attachinging_sg from the
299 # exclude regex when bug https://bugs.launchpad.net/neutron/+bug/1936911
300 # will be fixed
301 tempest_exclude_regex: "\
302 (^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)|\
303 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200304 devstack_localrc:
305 Q_AGENT: linuxbridge
Eduardo Olivares088707b2020-12-01 21:13:45 +0100306 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100307 Q_ML2_TENANT_NETWORK_TYPE: vxlan
308 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200309 devstack_local_conf:
310 post-config:
311 $NEUTRON_CONF:
312 DEFAULT:
313 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100314 vlan_transparent: true
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200315 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200316 AGENT:
317 debug_iptables_rules: true
318 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
319 # devstack-tempest job will be switched to use lib/neutron instead of
320 # lib/neutron-legacy
321 /$NEUTRON_CORE_PLUGIN_CONF:
322 ml2:
323 type_drivers: flat,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100324 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200325 test-config:
326 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100327 network-feature-enabled:
328 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200329 neutron_plugin_options:
330 available_type_drivers: flat,vlan,local,vxlan
331 q_agent: linuxbridge
Hang Yange6e0ccf2021-02-26 15:07:05 -0600332 firewall_driver: iptables
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100333 irrelevant-files:
334 - ^(test-|)requirements.txt$
335 - ^releasenotes/.*$
336 - ^doc/.*$
337 - ^setup.cfg$
338 - ^.*\.rst$
339 - ^neutron/locale/.*$
340 - ^neutron/tests/unit/.*$
341 - ^tools/.*$
342 - ^tox.ini$
343 - ^neutron/agent/linux/openvswitch_firewall/.*$
344 - ^neutron/agent/ovn/.*$
345 - ^neutron/agent/windows/.*$
346 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
347 - ^neutron/plugins/ml2/drivers/macvtap/.*$
348 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
349 - ^neutron/plugins/ml2/drivers/ovn/.*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200350
351- job:
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000352 name: neutron-tempest-plugin-scenario-ovn
353 parent: neutron-tempest-plugin-scenario
354 timeout: 10000
355 vars:
356 network_api_extensions: *api_extensions
Eduardo Olivares088707b2020-12-01 21:13:45 +0100357 network_api_extensions_ovn:
358 - vlan-transparent
Slawek Kaplonski28082072020-11-02 21:32:04 +0100359 # TODO(haleyb): Remove IPv6Test from blacklist when
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000360 # https://bugs.launchpad.net/neutron/+bug/1881558 is fixed.
Slawek Kaplonski28082072020-11-02 21:32:04 +0100361 # TODO(slaweq): Remove test_trunk_subport_lifecycle test from the
362 # blacklist when bug https://bugs.launchpad.net/neutron/+bug/1885900 will
363 # be fixed
Jakub Libosvar20591c52020-10-29 21:01:51 +0100364 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
365 # once east/west fragmentation is supported in core OVN
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600366 tempest_exclude_regex: "\
Slawek Kaplonski28082072020-11-02 21:32:04 +0100367 (?:neutron_tempest_plugin.scenario.test_ipv6.IPv6Test)|\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100368 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_trunk_subport_lifecycle)|\
369 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000370 devstack_localrc:
371 Q_AGENT: ovn
Eduardo Olivares088707b2020-12-01 21:13:45 +0100372 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000373 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
374 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
375 Q_ML2_TENANT_NETWORK_TYPE: geneve
376 Q_USE_PROVIDERNET_FOR_PUBLIC: true
377 PHYSICAL_NETWORK: public
378 ENABLE_CHASSIS_AS_GW: true
379 OVN_L3_CREATE_PUBLIC_NETWORK: true
380 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000381 ENABLE_TLS: True
382 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100383 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
384 # is included in an ovn released version
385 OVN_BUILD_FROM_SOURCE: True
386 OVN_BRANCH: "v20.12.0"
387 OVS_BRANCH: "branch-2.15"
Slawek Kaplonski862cbeb2021-03-20 10:05:26 +0100388 OVS_SYSCONFDIR: "/usr/local/etc/openvswitch"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000389 devstack_services:
390 br-ex-tcpdump: true
391 br-int-flows: true
392 q-ovn-metadata-agent: true
393 ovn-controller: true
394 ovn-northd: true
395 ovs-vswitchd: true
396 ovsdb-server: true
397 q-agt: false
398 q-dhcp: false
399 q-l3: false
400 q-meta: false
401 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100402 q-qos: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100403 # Cinder services
404 c-api: false
405 c-bak: false
406 c-sch: false
407 c-vol: false
408 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000409 s-account: false
410 s-container-sync: false
411 s-container: false
412 s-object: false
413 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000414 devstack_local_conf:
415 post-config:
416 $NEUTRON_CONF:
417 DEFAULT:
418 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100419 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000420 /$NEUTRON_CORE_PLUGIN_CONF:
421 ml2:
422 type_drivers: local,flat,vlan,geneve
423 test-config:
424 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100425 network-feature-enabled:
426 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000427 neutron_plugin_options:
428 available_type_drivers: local,flat,vlan,geneve
429 is_igmp_snooping_enabled: True
Hang Yange6e0ccf2021-02-26 15:07:05 -0600430 firewall_driver: ovn
Jakub Libosvar08f3c612021-02-07 15:50:23 +0100431 zuul_copy_output:
432 '{{ devstack_base_dir }}/data/ovs': 'logs'
433 '{{ devstack_base_dir }}/data/ovn': 'logs'
434 '{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
435 '{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100436 irrelevant-files:
437 - ^(test-|)requirements.txt$
438 - ^releasenotes/.*$
439 - ^doc/.*$
440 - ^setup.cfg$
441 - ^.*\.rst$
442 - ^neutron/locale/.*$
443 - ^neutron/tests/unit/.*$
444 - ^tools/.*$
445 - ^tox.ini$
446 - ^neutron/agent/dhcp/.*$
447 - ^neutron/agent/l2/.*$
448 - ^neutron/agent/l3/.*$
449 - ^neutron/agent/metadata/.*$
450 - ^neutron/agent/windows/.*$
451 - ^neutron/agent/dhcp_agent.py
452 - ^neutron/agent/l3_agent.py
453 - ^neutron/agent/metadata_agent.py
454 - ^neutron/agent/resource_cache.py
455 - ^neutron/agent/rpc.py
456 - ^neutron/agent/securitygroup_rpc.py
457 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
458 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
459 - ^neutron/plugins/ml2/drivers/macvtap/.*$
460 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
461 - ^neutron/scheduler/.*$
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000462
463- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200464 name: neutron-tempest-plugin-dvr-multinode-scenario
465 parent: tempest-multinode-full
466 description: |
467 Perform setup for Neutron tempest tests in multinode with DVR scenario
468 roles:
469 - zuul: openstack/devstack
470 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200471 - openstack/neutron
472 - openstack/neutron-tempest-plugin
473 - openstack/tempest
474 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
475 voting: false
476 vars:
477 tempest_concurrency: 4
478 tox_envlist: all
479 tempest_test_regex: ^neutron_tempest_plugin\.scenario
480 # NOTE(slaweq): in case of some tests, which requires advanced image,
481 # default test timeout set to 1200 seconds may be not enough if job is
482 # run on slow node
483 tempest_test_timeout: 2400
484 network_api_extensions_common: *api_extensions
485 network_api_extensions_dvr:
486 - dvr
487 devstack_localrc:
488 USE_PYTHON3: true
489 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
490 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200491 CIRROS_VERSION: 0.5.1
492 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
493 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Rodolfo Alonso Hernandez79c67962021-08-18 16:31:26 +0000494 ADVANCED_INSTANCE_TYPE: ntp_image_384M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200495 ADVANCED_INSTANCE_USER: ubuntu
496 BUILD_TIMEOUT: 784
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200497 Q_AGENT: openvswitch
498 Q_ML2_TENANT_NETWORK_TYPE: vxlan
499 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200500 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 Kaplonski579b6df2021-06-11 08:47:32 +0200506 tls-proxy: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200507 tempest: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200508 # Disable OVN services
509 br-ex-tcpdump: false
510 br-int-flows: false
511 ovn-controller: false
512 ovn-northd: false
513 ovs-vswitchd: false
514 ovsdb-server: false
515 q-ovn-metadata-agent: false
516 # Neutron services
517 q-agt: true
518 q-dhcp: true
519 q-l3: true
520 q-meta: true
521 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200522 neutron-dns: true
523 neutron-qos: true
524 neutron-segments: true
525 neutron-trunk: true
526 neutron-log: true
527 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100528 # Cinder services
529 c-api: false
530 c-bak: false
531 c-sch: false
532 c-vol: false
533 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100534 # We don't need Swift to be run in the Neutron jobs
535 s-account: false
536 s-container: false
537 s-object: false
538 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200539 devstack_local_conf:
540 post-config:
541 $NEUTRON_CONF:
542 quotas:
543 quota_router: 100
544 quota_floatingip: 500
545 quota_security_group: 100
546 quota_security_group_rule: 1000
547 DEFAULT:
548 router_distributed: True
549 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
550 # devstack-tempest job will be switched to use lib/neutron instead of
551 # lib/neutron-legacy
552 "/$NEUTRON_CORE_PLUGIN_CONF":
553 ml2:
554 type_drivers: flat,geneve,vlan,gre,local,vxlan
555 mechanism_drivers: openvswitch,l2population
556 ml2_type_vlan:
557 network_vlan_ranges: foo:1:10
558 ml2_type_vxlan:
559 vni_ranges: 1:2000
560 ml2_type_gre:
561 tunnel_id_ranges: 1:1000
562 agent:
563 enable_distributed_routing: True
564 l2_population: True
565 tunnel_types: vxlan,gre
566 ovs:
567 tunnel_bridge: br-tun
568 bridge_mappings: public:br-ex
569 $NEUTRON_L3_CONF:
570 DEFAULT:
571 agent_mode: dvr_snat
572 agent:
573 availability_zone: nova
574 $NEUTRON_DHCP_CONF:
575 agent:
576 availability_zone: nova
577 "/etc/neutron/api-paste.ini":
578 "composite:neutronapi_v2_0":
579 use: "call:neutron.auth:pipeline_factory"
580 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
581 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
582 test-config:
583 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100584 network-feature-enabled:
585 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200586 neutron_plugin_options:
587 provider_vlans: foo,
588 agent_availability_zone: nova
589 image_is_advanced: true
590 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
591 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600592 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200593 group-vars:
594 subnode:
595 devstack_services:
Slawek Kaplonski579b6df2021-06-11 08:47:32 +0200596 tls-proxy: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200597 br-ex-tcpdump: false
598 br-int-flows: false
599 # Disable OVN services
600 ovn-controller: false
601 ovn-northd: false
602 ovs-vswitchd: false
603 ovsdb-server: false
604 q-ovn-metadata-agent: false
605 # Neutron services
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200606 q-agt: true
607 q-l3: true
608 q-meta: true
609 neutron-qos: true
610 neutron-trunk: true
611 neutron-log: true
612 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100613 # Cinder services
614 c-bak: false
615 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100616 # We don't need Swift to be run in the Neutron jobs
617 s-account: false
618 s-container: false
619 s-object: false
620 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200621 devstack_localrc:
622 USE_PYTHON3: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200623 Q_AGENT: openvswitch
624 Q_ML2_TENANT_NETWORK_TYPE: vxlan
625 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200626 devstack_local_conf:
627 post-config:
628 $NEUTRON_CONF:
629 DEFAULT:
630 router_distributed: True
631 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
632 # devstack-tempest job will be switched to use lib/neutron instead of
633 # lib/neutron-legacy
634 "/$NEUTRON_CORE_PLUGIN_CONF":
635 agent:
636 enable_distributed_routing: True
637 l2_population: True
638 tunnel_types: vxlan,gre
639 ovs:
640 tunnel_bridge: br-tun
641 bridge_mappings: public:br-ex
642 $NEUTRON_L3_CONF:
643 DEFAULT:
644 agent_mode: dvr_snat
645 agent:
646 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100647 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200648
649- job:
650 name: neutron-tempest-plugin-designate-scenario
651 parent: neutron-tempest-plugin-scenario
652 description: Neutron designate integration scenario
653 required-projects:
654 - openstack/designate
655 - openstack/designate-dashboard
656 - openstack/designate-tempest-plugin
657 timeout: 3600
658 vars:
659 network_api_extensions_common: *api_extensions
660 devstack_localrc:
661 DESIGNATE_BACKEND_DRIVER: bind9
662 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100663 Q_ML2_TENANT_NETWORK_TYPE: vxlan
664 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200665 # In this job advanced image is not needed, so it's name should be
666 # empty
667 ADVANCED_IMAGE_NAME: ""
668 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
669 devstack_local_conf:
670 post-config:
671 $NEUTRON_CONF:
672 DEFAULT:
673 enable_dvr: false
674 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
675 # devstack-tempest job will be switched to use lib/neutron instead of
676 # lib/neutron-legacy
677 /$NEUTRON_CORE_PLUGIN_CONF:
678 agent:
679 tunnel_types: vxlan,gre
680 ovs:
681 tunnel_bridge: br-tun
682 bridge_mappings: public:br-ex
683 devstack_plugins:
684 designate: https://opendev.org/openstack/designate.git
685 devstack_services:
686 cinder: false
687 designate: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100688 # Disable OVN services
689 br-ex-tcpdump: false
690 br-int-flows: false
691 ovn-controller: false
692 ovn-northd: false
693 ovs-vswitchd: false
694 ovsdb-server: false
695 q-ovn-metadata-agent: false
696 # Neutron services
697 q-agt: true
698 q-dhcp: true
699 q-l3: true
700 q-meta: true
701 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200702 tempest_plugins:
703 - designate-tempest-plugin
704 - neutron-tempest-plugin
705 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100706 irrelevant-files:
707 - ^(test-|)requirements.txt$
708 - ^releasenotes/.*$
709 - ^doc/.*$
710 - ^setup.cfg$
711 - ^.*\.rst$
712 - ^neutron/locale/.*$
713 - ^neutron/tests/unit/.*$
714 - ^tools/.*$
715 - ^tox.ini$
716 - ^neutron/agent/.*$
717 - ^neutron/cmd/.*$
718 - ^neutron/privileged/.*$
719 - ^neutron/plugins/ml2/drivers/.*$
720 - ^neutron/scheduler/.*$
721 - ^neutron/services/(?!externaldns).*$
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200722
723- job:
724 name: neutron-tempest-plugin-sfc
725 parent: neutron-tempest-plugin-base
726 timeout: 10800
727 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200728 - openstack/networking-sfc
729 - openstack/neutron
730 - openstack/neutron-tempest-plugin
731 - openstack/tempest
732 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200733 devstack_services:
734 # Disable OVN services
735 br-ex-tcpdump: false
736 br-int-flows: false
737 ovn-controller: false
738 ovn-northd: false
739 ovs-vswitchd: false
740 ovsdb-server: false
741 q-ovn-metadata-agent: false
742 # Enable Neutron services that are not used by OVN
743 q-agt: true
744 q-dhcp: true
745 q-l3: true
746 q-meta: true
747 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200748 network_api_extensions_common: *api_extensions
749 tempest_test_regex: ^neutron_tempest_plugin\.sfc
750 devstack_plugins:
751 networking-sfc: https://opendev.org/openstack/networking-sfc
752 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
753 network_api_extensions_sfc:
754 - flow_classifier
755 - sfc
756 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200757 Q_AGENT: openvswitch
758 Q_ML2_TENANT_NETWORK_TYPE: vxlan
759 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200760 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
761 # TODO(bcafarel): tests still fail from time to time in parallel
762 # https://bugs.launchpad.net/neutron/+bug/1851500
763 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
764 tempest_concurrency: 1
765
766- job:
767 name: neutron-tempest-plugin-bgpvpn-bagpipe
768 parent: neutron-tempest-plugin-base
769 required-projects:
770 - openstack/networking-bagpipe
771 - openstack/networking-bgpvpn
772 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200773 devstack_services:
774 # Disable OVN services
775 br-ex-tcpdump: false
776 br-int-flows: false
777 ovn-controller: false
778 ovn-northd: false
779 ovs-vswitchd: false
780 ovsdb-server: false
781 q-ovn-metadata-agent: false
782 # Enable Neutron services that are not used by OVN
783 q-agt: true
784 q-dhcp: true
785 q-l3: true
786 q-meta: true
787 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200788 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
789 network_api_extensions: *api_extensions
790 network_api_extensions_bgpvpn:
791 - bgpvpn
792 - bgpvpn-routes-control
793 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200794 Q_AGENT: openvswitch
795 Q_ML2_TENANT_NETWORK_TYPE: vxlan
796 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200797 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
798 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
799 BAGPIPE_BGP_PEERS: "-"
800 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions + network_api_extensions_bgpvpn) | join(',') }}"
801 devstack_plugins:
802 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
803 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
804
805- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200806 name: neutron-tempest-plugin-dynamic-routing
807 parent: neutron-tempest-plugin-base
808 description: |
809 Perform setup common to all Neutron dynamic routing tempest tests
810 required-projects:
811 - openstack/neutron
812 - openstack/neutron-dynamic-routing
813 - openstack/os-ken
814 - openstack/tempest
815 pre-run: playbooks/dynamic-routing-pre-run.yaml
816 vars:
817 devstack_plugins:
818 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
819 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
820 network_api_extensions_common: *api_extensions
821 network_api_extensions_bgp:
822 - bgp
823 - bgp_dragent_scheduler
824 - bgp_4byte_asn
825 devstack_localrc:
826 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100827 Q_AGENT: openvswitch
828 Q_ML2_TENANT_NETWORK_TYPE: vxlan
829 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200830 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100831 # Disable OVN services
832 br-ex-tcpdump: false
833 br-int-flows: false
834 ovn-controller: false
835 ovn-northd: false
836 ovs-vswitchd: false
837 ovsdb-server: false
838 q-ovn-metadata-agent: false
839 # Neutron services
840 q-agt: true
841 q-dhcp: true
842 q-meta: true
843 q-metering: true
844 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200845 neutron-dr: true
846 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200847 tempest_concurrency: 1
848 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
849
850- job:
851 name: neutron-tempest-plugin-vpnaas
852 parent: neutron-tempest-plugin-base
853 timeout: 3900
854 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200855 - openstack/neutron
856 - openstack/neutron-vpnaas
857 - openstack/neutron-tempest-plugin
858 - openstack/tempest
859 vars:
860 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
861 devstack_plugins:
862 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
863 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
864 network_api_extensions_common: *api_extensions
865 network_api_extensions_vpnaas:
866 - vpnaas
867 devstack_localrc:
868 IPSEC_PACKAGE: strongswan
869 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"