blob: 8e21880bf6eb9882dbe279e689ba5933955c8260 [file] [log] [blame]
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +02002 name: neutron-tempest-plugin-base
3 parent: devstack-tempest
4 abstract: true
5 description: |
6 Perform setup common to all Neutron tempest tests
7 roles:
8 - zuul: openstack/devstack
9 required-projects:
10 - openstack/neutron
11 - openstack/neutron-tempest-plugin
12 - openstack/tempest
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020013 vars:
Slawek Kaplonski8988a012022-04-07 10:50:44 +020014 tempest_concurrency: 3 # out of 4
15 tox_envlist: all
16 # NOTE(slaweq): in case of some tests, which requires advanced image,
17 # default test timeout set to 1200 seconds may be not enough if job is
18 # run on slow node
19 tempest_test_timeout: 2400
20 tempest_test_regex: "\
21 (^neutron_tempest_plugin.api)|\
22 (^neutron_tempest_plugin.scenario)|\
23 (^tempest.api.compute.servers.test_attach_interfaces)|\
24 (^tempest.api.compute.servers.test_multiple_create)"
25 devstack_localrc:
26 USE_PYTHON3: true
27 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
28 PHYSICAL_NETWORK: public
29 IMAGE_URLS: https://cloud-images.ubuntu.com/minimal/releases/focal/release/ubuntu-20.04-minimal-cloudimg-amd64.img
30 CIRROS_VERSION: 0.5.1
31 DEFAULT_IMAGE_NAME: cirros-0.5.1-x86_64-uec
32 DEFAULT_IMAGE_FILE_NAME: cirros-0.5.1-x86_64-uec.tar.gz
33 ADVANCED_IMAGE_NAME: ubuntu-20.04-minimal-cloudimg-amd64
34 ADVANCED_INSTANCE_TYPE: ntp_image_256M
35 ADVANCED_INSTANCE_USER: ubuntu
36 CUSTOMIZE_IMAGE: true
37 BUILD_TIMEOUT: 784
38 # TODO(lucasagomes): Re-enable MOD_WSGI after
39 # https://bugs.launchpad.net/neutron/+bug/1912359 is implemented
40 NEUTRON_DEPLOY_MOD_WSGI: false
41 # TODO(ralonsoh): remove OVN_BUILD_FROM_SOURCE once the OS packages
42 # include at least OVN v20.12.0.
43 OVN_BUILD_FROM_SOURCE: True
44 OVN_BRANCH: "v21.03.0"
45 OVS_BRANCH: "8dc1733eaea866dce033b3c44853e1b09bf59fc7"
46 devstack_plugins:
47 neutron: https://opendev.org/openstack/neutron.git
48 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
49 tempest_plugins:
50 - neutron-tempest-plugin
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020051 # TODO(slaweq): find a way to put this list of extensions in
52 # neutron repository and keep it different per branch,
53 # then it could be removed from here
54 network_api_extensions_common: &api_extensions
Miguel Lavalleb1c7a3d2021-01-31 19:05:22 -060055 - address-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020056 - address-scope
57 - agent
58 - allowed-address-pairs
59 - auto-allocated-topology
60 - availability_zone
61 - binding
62 - default-subnetpools
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020063 - dns-domain-ports
64 - dns-integration
Slawek Kaplonski913c3062020-06-08 00:06:54 +020065 - dns-integration-domain-keywords
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020066 - empty-string-filtering
67 - expose-port-forwarding-in-fip
68 - expose-l3-conntrack-helper
69 - ext-gw-mode
70 - external-net
71 - extra_dhcp_opt
72 - extraroute
73 - extraroute-atomic
74 - filter-validation
75 - fip-port-details
76 - flavors
77 - floating-ip-port-forwarding
78 - floatingip-pools
79 - ip-substring-filtering
80 - l3-conntrack-helper
yangjianfeng2936a292022-02-04 11:22:11 +080081 - l3-ext-ndp-proxy
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020082 - l3-flavors
83 - l3-ha
yangjianfeng2936a292022-02-04 11:22:11 +080084 - l3-ndp-proxy
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020085 - l3_agent_scheduler
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020086 - metering
87 - multi-provider
88 - net-mtu
89 - net-mtu-writable
90 - network-ip-availability
91 - network_availability_zone
92 - network-segment-range
93 - pagination
Slawek Kaplonskiada16222021-10-07 11:49:51 +020094 - port-device-profile
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020095 - port-resource-request
elajkat4a1357b2021-08-31 10:16:25 +020096 - port-resource-request-groups
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020097 - port-mac-address-regenerate
98 - port-security
99 - port-security-groups-filtering
100 - project-id
101 - provider
102 - qos
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200103 - qos-fip
104 - quotas
105 - quota_details
Miguel Lavalleb1c7a3d2021-01-31 19:05:22 -0600106 - rbac-address-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200107 - rbac-address-scope
108 - rbac-policies
109 - rbac-security-groups
110 - rbac-subnetpool
111 - router
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200112 - router_availability_zone
113 - security-group
Hang Yange6e0ccf2021-02-26 15:07:05 -0600114 - security-groups-remote-address-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200115 - segment
116 - service-type
117 - sorting
118 - standard-attr-description
119 - standard-attr-revisions
120 - standard-attr-segment
121 - standard-attr-tag
122 - standard-attr-timestamp
Ihar Hrachyshkab0b597f2021-11-04 03:00:42 +0000123 - stateful-security-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200124 - subnet_allocation
125 - subnet-dns-publish-fixed-ip
Slawek Kaplonskia5cdede2021-06-23 09:37:04 +0200126 - subnet-service-types
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200127 - subnetpool-prefix-ops
128 - tag-ports-during-bulk-creation
129 - trunk
130 - trunk-details
131 - uplink-status-propagation
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200132 devstack_services:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200133 tempest: true
134 neutron-dns: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200135 neutron-log: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200136 neutron-qos: true
137 neutron-segments: true
138 neutron-trunk: true
139 neutron-uplink-status-propagation: true
140 neutron-network-segment-range: true
141 neutron-port-forwarding: true
142 neutron-conntrack-helper: true
143 neutron-tag-ports-during-bulk-creation: true
yangjianfeng2936a292022-02-04 11:22:11 +0800144 neutron-ndp-proxy: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200145 br-ex-tcpdump: true
146 br-int-flows: true
147 # Cinder services
148 c-api: false
149 c-bak: false
150 c-sch: false
151 c-vol: false
152 cinder: false
153 # We don't need Swift to be run in the Neutron jobs
154 s-account: false
155 s-container: false
156 s-object: false
157 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200158 devstack_local_conf:
159 post-config:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200160 $NEUTRON_CONF:
161 QUOTAS:
162 quota_router: 100
163 quota_floatingip: 500
164 quota_security_group: 150
165 quota_security_group_rule: 1000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200166 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
167 # devstack-tempest job will be switched to use lib/neutron instead of
168 # lib/neutron-legacy
169 /$NEUTRON_CORE_PLUGIN_CONF:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200170 ml2:
171 type_drivers: flat,geneve,vlan,gre,local,vxlan
172 ml2_type_vlan:
173 network_vlan_ranges: foo:1:10
174 ml2_type_vxlan:
175 vni_ranges: 1:2000
176 ml2_type_gre:
177 tunnel_id_ranges: 1:1000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200178 network_log:
179 local_output_log_base: /tmp/test_log.log
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200180 $NEUTRON_L3_CONF:
181 agent:
182 availability_zone: nova
183 $NEUTRON_DHCP_CONF:
184 agent:
185 availability_zone: nova
186 test-config:
187 $TEMPEST_CONFIG:
188 neutron_plugin_options:
189 provider_vlans: foo,
190 agent_availability_zone: nova
191 image_is_advanced: true
192 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
193 provider_net_base_segm_id: 1
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100194 irrelevant-files:
195 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530196 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100197 - ^releasenotes/.*$
198 - ^doc/.*$
199 - ^setup.cfg$
200 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530201 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100202 - ^neutron/locale/.*$
203 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530204 - ^neutron/tests/fullstack/.*
205 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100206 - ^tools/.*$
207 - ^tox.ini$
208 - ^neutron/agent/.*$
209 - ^neutron/privileged/.*$
Takashi Kajinamia78d12a2021-08-22 13:25:18 +0900210 - ^neutron_lib/tests/unit/.*$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100211 - ^neutron_tempest_plugin/scenario/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530212 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530213 - ^roles/.*functional.*$
214 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530215 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530216 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100217
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200218- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200219 name: neutron-tempest-plugin-openvswitch
220 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200221 timeout: 10000
222 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530223 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100224 devstack_services:
225 # Disable OVN services
226 br-ex-tcpdump: false
227 br-int-flows: false
228 ovn-controller: false
229 ovn-northd: false
230 ovs-vswitchd: false
231 ovsdb-server: false
232 q-ovn-metadata-agent: false
233 # Neutron services
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300234 neutron-local-ip-static: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100235 q-agt: true
236 q-dhcp: true
237 q-l3: true
238 q-meta: true
239 q-metering: true
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300240 network_api_extensions_openvswitch:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200241 - dhcp_agent_scheduler
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300242 - local_ip
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200243 - qos-bw-minimum-ingress
244 network_available_features: &available_features
245 - ipv6_metadata
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200246 devstack_localrc:
247 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100248 Q_ML2_TENANT_NETWORK_TYPE: vxlan
249 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200250 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_openvswitch) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200251 devstack_local_conf:
252 post-config:
253 $NEUTRON_CONF:
254 DEFAULT:
255 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200256 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200257 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
258 # devstack-tempest job will be switched to use lib/neutron instead of
259 # lib/neutron-legacy
260 /$NEUTRON_CORE_PLUGIN_CONF:
261 agent:
262 tunnel_types: vxlan,gre
263 ovs:
264 tunnel_bridge: br-tun
265 bridge_mappings: public:br-ex
Rodolfo Alonso Hernandez68596be2022-05-03 14:51:54 +0000266 openflow_processed_per_port: True
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200267 test-config:
268 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100269 network-feature-enabled:
270 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200271 neutron_plugin_options:
272 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600273 firewall_driver: openvswitch
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100274 irrelevant-files: &openvswitch-scenario-irrelevant-files
275 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530276 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100277 - ^releasenotes/.*$
278 - ^doc/.*$
279 - ^setup.cfg$
280 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530281 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100282 - ^neutron/locale/.*$
283 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530284 - ^neutron/tests/fullstack/.*
285 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100286 - ^tools/.*$
287 - ^tox.ini$
288 - ^neutron/agent/ovn/.*$
289 - ^neutron/agent/windows/.*$
290 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
291 - ^neutron/plugins/ml2/drivers/macvtap/.*$
292 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
293 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530294 - ^neutron/services/ovn_l3/.*$
295 - ^neutron/services/logapi/drivers/ovn/.*$
296 - ^neutron/services/portforwarding/drivers/ovn/.*$
297 - ^neutron/services/qos/drivers/linuxbridge/.*$
298 - ^neutron/services/qos/drivers/ovn/.*$
299 - ^neutron/services/trunk/drivers/linuxbridge/.*$
300 - ^neutron/services/trunk/drivers/ovn/.*$
301 - ^neutron/cmd/ovn/.*$
302 - ^neutron/common/ovn/.*$
303 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530304 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
305 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530306 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530307 - ^roles/.*functional.*$
308 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530309 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530310 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200311
312- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200313 name: neutron-tempest-plugin-openvswitch-iptables_hybrid
314 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200315 timeout: 10000
316 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530317 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100318 devstack_services:
319 # Disable OVN services
320 br-ex-tcpdump: false
321 br-int-flows: false
322 ovn-controller: false
323 ovn-northd: false
324 ovs-vswitchd: false
325 ovsdb-server: false
326 q-ovn-metadata-agent: false
327 # Neutron services
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300328 neutron-local-ip: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100329 q-agt: true
330 q-dhcp: true
331 q-l3: true
332 q-meta: true
333 q-metering: true
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300334 network_api_extensions_openvswitch:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200335 - dhcp_agent_scheduler
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300336 - local_ip
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200337 - logging
elajkat8bbd7432020-11-04 16:41:34 +0100338 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200339 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
340 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
Alex Katzbd2bfd42021-05-26 18:12:36 +0300341 # TODO(akatz): remove established tcp session verification test when the
342 # bug https://bugzilla.redhat.com/show_bug.cgi?id=1965036 will be fixed
343 tempest_exclude_regex: "\
344 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
345 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200346 devstack_localrc:
347 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100348 Q_ML2_TENANT_NETWORK_TYPE: vxlan
349 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200350 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_openvswitch) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200351 devstack_local_conf:
352 post-config:
353 $NEUTRON_CONF:
354 DEFAULT:
355 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200356 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200357 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
358 # devstack-tempest job will be switched to use lib/neutron instead of
359 # lib/neutron-legacy
360 /$NEUTRON_CORE_PLUGIN_CONF:
361 agent:
362 tunnel_types: vxlan,gre
363 ovs:
364 tunnel_bridge: br-tun
365 bridge_mappings: public:br-ex
366 securitygroup:
367 firewall_driver: iptables_hybrid
368 test-config:
369 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100370 network-feature-enabled:
371 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200372 neutron_plugin_options:
373 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600374 firewall_driver: iptables_hybrid
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100375 irrelevant-files:
376 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530377 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100378 - ^releasenotes/.*$
379 - ^doc/.*$
380 - ^setup.cfg$
381 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530382 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100383 - ^neutron/locale/.*$
384 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530385 - ^neutron/tests/fullstack/.*
386 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100387 - ^tools/.*$
388 - ^tox.ini$
389 - ^neutron/agent/linux/openvswitch_firewall/.*$
390 - ^neutron/agent/ovn/.*$
391 - ^neutron/agent/windows/.*$
392 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
393 - ^neutron/plugins/ml2/drivers/macvtap/.*$
394 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
395 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530396 - ^neutron/services/ovn_l3/.*$
397 - ^neutron/services/logapi/drivers/ovn/.*$
398 - ^neutron/services/portforwarding/drivers/ovn/.*$
399 - ^neutron/services/qos/drivers/linuxbridge/.*$
400 - ^neutron/services/qos/drivers/ovn/.*$
401 - ^neutron/services/trunk/drivers/linuxbridge/.*$
402 - ^neutron/services/trunk/drivers/ovn/.*$
403 - ^neutron/cmd/ovn/.*$
404 - ^neutron/common/ovn/.*$
405 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530406 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
407 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530408 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530409 - ^roles/.*functional.*$
410 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530411 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530412 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200413
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200414# TODO(slaweq): remove that job's definition as soon as new job
415# "neutron-tempest-plugin-openvswitch-iptables_hybrid" will be used in the
416# neutron repo as a parent for a
417# "neutron-ovs-tempest-plugin-scenario-iptables_hybrid-nftables" job
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200418- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200419 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
420 parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
421
422- job:
423 name: neutron-tempest-plugin-openvswitch-distributed-dhcp
424 parent: neutron-tempest-plugin-openvswitch
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200425 timeout: 10000
426 vars:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200427 network_api_extensions_openvswitch:
428 - local_ip
429 - qos-bw-minimum-ingress
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200430 # NOTE: DHCP extra options and dns services aren't supported with
431 # distributed DHCP L2 agent extension
432 tempest_exclude_regex: "\
433 (^neutron_tempest_plugin.scenario.test_dhcp.DHCPTest.test_extra_dhcp_opts)|\
434 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
435 devstack_services:
436 q-dhcp: false
437 q-distributed-dhcp: true
438
439- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200440 name: neutron-tempest-plugin-openvswitch-iptables_hybrid-distributed-dhcp
441 parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200442 timeout: 10000
443 vars:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200444 network_api_extensions_openvswitch:
445 - local_ip
446 - logging
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200447 # NOTE: DHCP extra options and dns services aren't supported with
448 # distributed DHCP L2 agent extension
449 tempest_exclude_regex: "\
450 (^neutron_tempest_plugin.scenario.test_dhcp.DHCPTest.test_extra_dhcp_opts)|\
451 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
452 devstack_services:
453 q-dhcp: false
454 q-distributed-dhcp: true
455
456- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200457 name: neutron-tempest-plugin-linuxbridge
458 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200459 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200460 roles:
461 - zuul: openstack/neutron
462 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200463 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530464 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100465 devstack_services:
466 # Disable OVN services
467 br-ex-tcpdump: false
468 br-int-flows: false
469 ovn-controller: false
470 ovn-northd: false
471 ovs-vswitchd: false
472 ovsdb-server: false
473 q-ovn-metadata-agent: false
474 # Neutron services
475 q-agt: true
476 q-dhcp: true
477 q-l3: true
478 q-meta: true
479 q-metering: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200480 # SG logging isn't supported by linuxbridge backend
481 neutron-log: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100482 network_api_extensions_linuxbridge:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200483 - dhcp_agent_scheduler
Eduardo Olivares088707b2020-12-01 21:13:45 +0100484 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100485 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100486 # TODO(eolivare): remove VLAN Transparency tests from blacklist
487 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
Slawek Kaplonskicc63c422021-07-21 10:20:18 +0200488 # TODO(slaweq): remove
489 # test_established_tcp_session_after_re_attachinging_sg from the
490 # exclude regex when bug https://bugs.launchpad.net/neutron/+bug/1936911
491 # will be fixed
Slawek Kaplonski3fe3a902022-04-13 09:46:24 +0200492 # TODO(slaweq) remove test_floatingip_port_details from the exclude
493 # regex when bug https://bugs.launchpad.net/neutron/+bug/1799790 will be
494 # fixed
Slawek Kaplonskicc63c422021-07-21 10:20:18 +0200495 tempest_exclude_regex: "\
496 (^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)|\
Slawek Kaplonski3fe3a902022-04-13 09:46:24 +0200497 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)|\
498 (^neutron_tempest_plugin.scenario.test_floatingip.FloatingIPPortDetailsTest.test_floatingip_port_details)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200499 devstack_localrc:
500 Q_AGENT: linuxbridge
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200501 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100502 Q_ML2_TENANT_NETWORK_TYPE: vxlan
503 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200504 devstack_local_conf:
505 post-config:
506 $NEUTRON_CONF:
507 DEFAULT:
508 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100509 vlan_transparent: true
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200510 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200511 AGENT:
512 debug_iptables_rules: true
Miguel Lavalle22173b82022-06-13 17:53:50 -0500513 EXPERIMENTAL:
514 linuxbridge: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200515 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
516 # devstack-tempest job will be switched to use lib/neutron instead of
517 # lib/neutron-legacy
518 /$NEUTRON_CORE_PLUGIN_CONF:
519 ml2:
520 type_drivers: flat,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100521 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200522 test-config:
523 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100524 network-feature-enabled:
525 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200526 neutron_plugin_options:
527 available_type_drivers: flat,vlan,local,vxlan
528 q_agent: linuxbridge
Hang Yange6e0ccf2021-02-26 15:07:05 -0600529 firewall_driver: iptables
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100530 irrelevant-files:
531 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530532 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100533 - ^releasenotes/.*$
534 - ^doc/.*$
535 - ^setup.cfg$
536 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530537 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100538 - ^neutron/locale/.*$
539 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530540 - ^neutron/tests/fullstack/.*
541 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100542 - ^tools/.*$
543 - ^tox.ini$
544 - ^neutron/agent/linux/openvswitch_firewall/.*$
545 - ^neutron/agent/ovn/.*$
546 - ^neutron/agent/windows/.*$
547 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
548 - ^neutron/plugins/ml2/drivers/macvtap/.*$
549 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
550 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530551 - ^neutron/services/ovn_l3/.*$
552 - ^neutron/services/logapi/drivers/openvswitch/.*$
553 - ^neutron/services/logapi/drivers/ovn/.*$
554 - ^neutron/services/portforwarding/drivers/ovn/.*$
555 - ^neutron/services/qos/drivers/openvswitch/.*$
556 - ^neutron/services/qos/drivers/ovn/.*$
557 - ^neutron/services/trunk/drivers/openvswitch/.*$
558 - ^neutron/services/trunk/drivers/ovn/.*$
559 - ^neutron/cmd/ovn/.*$
560 - ^neutron/common/ovn/.*$
561 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530562 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
563 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530564 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530565 - ^roles/.*functional.*$
566 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530567 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530568 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200569
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200570# TODO(slaweq): remove that job's definition as soon as new job
571# "neutron-tempest-plugin-linuxbridge" will be used in the neutron repo as
572# a parent for a "neutron-linuxbridge-tempest-plugin-scenario-nftables" job
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200573- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200574 name: neutron-tempest-plugin-scenario-linuxbridge
575 parent: neutron-tempest-plugin-linuxbridge
576
577- job:
578 name: neutron-tempest-plugin-ovn
579 parent: neutron-tempest-plugin-base-nested-switch
Rodolfo Alonso Hernandez99acc992021-11-03 08:30:33 +0000580 timeout: 10800
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000581 vars:
Eduardo Olivares088707b2020-12-01 21:13:45 +0100582 network_api_extensions_ovn:
583 - vlan-transparent
Jakub Libosvar20591c52020-10-29 21:01:51 +0100584 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
585 # once east/west fragmentation is supported in core OVN
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600586 tempest_exclude_regex: "\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100587 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000588 devstack_localrc:
589 Q_AGENT: ovn
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200590 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000591 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
592 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
593 Q_ML2_TENANT_NETWORK_TYPE: geneve
594 Q_USE_PROVIDERNET_FOR_PUBLIC: true
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200595 # NOTE(slaweq): In the job with OVN backend we can't use Ubuntu minimal
596 # image because kernel in that image don't supports MULTICAST traffic
597 # thus multicast scenario test with IGMP snooping enabled would fail
598 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
599 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
600 ADVANCED_INSTANCE_TYPE: ntp_image_384M
601 ADVANCED_INSTANCE_USER: ubuntu
602 CUSTOMIZE_IMAGE: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000603 ENABLE_CHASSIS_AS_GW: true
604 OVN_L3_CREATE_PUBLIC_NETWORK: true
605 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000606 ENABLE_TLS: True
607 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100608 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
609 # is included in an ovn released version
610 OVN_BUILD_FROM_SOURCE: True
Daniel Alvarez Sanchez19b0b992021-07-14 11:21:56 +0200611 OVN_BRANCH: "v21.06.0"
Rodolfo Alonso Hernandez93f1e9b2022-03-20 06:47:39 +0000612 OVS_BRANCH: "a4b04276ab5934d087669ff2d191a23931335c87"
Slawek Kaplonski862cbeb2021-03-20 10:05:26 +0100613 OVS_SYSCONFDIR: "/usr/local/etc/openvswitch"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000614 devstack_services:
615 br-ex-tcpdump: true
616 br-int-flows: true
617 q-ovn-metadata-agent: true
618 ovn-controller: true
619 ovn-northd: true
620 ovs-vswitchd: true
621 ovsdb-server: true
622 q-agt: false
623 q-dhcp: false
624 q-l3: false
625 q-meta: false
626 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100627 q-qos: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100628 # Cinder services
629 c-api: false
630 c-bak: false
631 c-sch: false
632 c-vol: false
633 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000634 s-account: false
635 s-container-sync: false
636 s-container: false
637 s-object: false
638 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000639 devstack_local_conf:
640 post-config:
641 $NEUTRON_CONF:
642 DEFAULT:
643 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100644 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000645 /$NEUTRON_CORE_PLUGIN_CONF:
646 ml2:
647 type_drivers: local,flat,vlan,geneve
648 test-config:
649 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100650 network-feature-enabled:
651 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000652 neutron_plugin_options:
653 available_type_drivers: local,flat,vlan,geneve
654 is_igmp_snooping_enabled: True
Hang Yange6e0ccf2021-02-26 15:07:05 -0600655 firewall_driver: ovn
Jakub Libosvar08f3c612021-02-07 15:50:23 +0100656 zuul_copy_output:
657 '{{ devstack_base_dir }}/data/ovs': 'logs'
658 '{{ devstack_base_dir }}/data/ovn': 'logs'
659 '{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
660 '{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200661 '/var/log/ovn': 'logs'
662 '/var/log/openvswitch': 'logs'
663 '/var/lib/ovn': 'logs'
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100664 irrelevant-files:
665 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530666 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100667 - ^releasenotes/.*$
668 - ^doc/.*$
669 - ^setup.cfg$
670 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530671 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100672 - ^neutron/locale/.*$
673 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530674 - ^neutron/tests/fullstack/.*
675 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100676 - ^tools/.*$
677 - ^tox.ini$
678 - ^neutron/agent/dhcp/.*$
679 - ^neutron/agent/l2/.*$
680 - ^neutron/agent/l3/.*$
681 - ^neutron/agent/metadata/.*$
682 - ^neutron/agent/windows/.*$
683 - ^neutron/agent/dhcp_agent.py
684 - ^neutron/agent/l3_agent.py
685 - ^neutron/agent/metadata_agent.py
686 - ^neutron/agent/resource_cache.py
687 - ^neutron/agent/rpc.py
688 - ^neutron/agent/securitygroup_rpc.py
689 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
690 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
691 - ^neutron/plugins/ml2/drivers/macvtap/.*$
692 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530693 - ^neutron/services/qos/drivers/linuxbridge/.*$
694 - ^neutron/services/qos/drivers/openvswitch/.*$
695 - ^neutron/services/trunk/drivers/linuxbridge/.*$
696 - ^neutron/services/trunk/drivers/openvswitch/.*$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100697 - ^neutron/scheduler/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530698 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530699 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
700 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530701 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530702 - ^roles/.*functional.*$
703 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530704 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530705 - ^zuul.d/(?!(project)).*\.yaml
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000706
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200707# TODO(slaweq): remove that job's definition as soon as new job
708# "neutron-tempest-plugin-ovn" will be used in the neutron-lib repo as
709# instead of old "neutron-tempest-plugin-api" job
710- job:
711 name: neutron-tempest-plugin-api
712 parent: neutron-tempest-plugin-ovn
713
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000714- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200715 name: neutron-tempest-plugin-dvr-multinode-scenario
716 parent: tempest-multinode-full
717 description: |
718 Perform setup for Neutron tempest tests in multinode with DVR scenario
719 roles:
720 - zuul: openstack/devstack
721 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200722 - openstack/neutron
723 - openstack/neutron-tempest-plugin
724 - openstack/tempest
725 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
726 voting: false
727 vars:
728 tempest_concurrency: 4
729 tox_envlist: all
730 tempest_test_regex: ^neutron_tempest_plugin\.scenario
731 # NOTE(slaweq): in case of some tests, which requires advanced image,
732 # default test timeout set to 1200 seconds may be not enough if job is
733 # run on slow node
734 tempest_test_timeout: 2400
735 network_api_extensions_common: *api_extensions
736 network_api_extensions_dvr:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200737 - dhcp_agent_scheduler
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200738 - dvr
739 devstack_localrc:
740 USE_PYTHON3: true
741 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
742 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200743 CIRROS_VERSION: 0.5.1
yatinkarel165e4092021-12-08 19:19:34 +0530744 DEFAULT_IMAGE_NAME: cirros-0.5.1-x86_64-uec
745 DEFAULT_IMAGE_FILE_NAME: cirros-0.5.1-x86_64-uec.tar.gz
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200746 IMAGE_URLS: https://cloud-images.ubuntu.com/minimal/releases/focal/release/ubuntu-20.04-minimal-cloudimg-amd64.img
747 ADVANCED_IMAGE_NAME: ubuntu-20.04-minimal-cloudimg-amd64
748 ADVANCED_INSTANCE_TYPE: ntp_image_256M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200749 ADVANCED_INSTANCE_USER: ubuntu
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200750 CUSTOMIZE_IMAGE: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200751 BUILD_TIMEOUT: 784
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200752 Q_AGENT: openvswitch
753 Q_ML2_TENANT_NETWORK_TYPE: vxlan
754 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200755 devstack_plugins:
756 neutron: https://opendev.org/openstack/neutron.git
757 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
758 tempest_plugins:
759 - neutron-tempest-plugin
760 devstack_services:
Slawek Kaplonski579b6df2021-06-11 08:47:32 +0200761 tls-proxy: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200762 tempest: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200763 # Disable OVN services
764 br-ex-tcpdump: false
765 br-int-flows: false
766 ovn-controller: false
767 ovn-northd: false
768 ovs-vswitchd: false
769 ovsdb-server: false
770 q-ovn-metadata-agent: false
771 # Neutron services
772 q-agt: true
773 q-dhcp: true
774 q-l3: true
775 q-meta: true
776 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200777 neutron-dns: true
778 neutron-qos: true
779 neutron-segments: true
780 neutron-trunk: true
781 neutron-log: true
782 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100783 # Cinder services
784 c-api: false
785 c-bak: false
786 c-sch: false
787 c-vol: false
788 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100789 # We don't need Swift to be run in the Neutron jobs
790 s-account: false
791 s-container: false
792 s-object: false
793 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200794 devstack_local_conf:
795 post-config:
796 $NEUTRON_CONF:
797 quotas:
798 quota_router: 100
799 quota_floatingip: 500
800 quota_security_group: 100
801 quota_security_group_rule: 1000
802 DEFAULT:
803 router_distributed: True
804 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
805 # devstack-tempest job will be switched to use lib/neutron instead of
806 # lib/neutron-legacy
807 "/$NEUTRON_CORE_PLUGIN_CONF":
808 ml2:
809 type_drivers: flat,geneve,vlan,gre,local,vxlan
810 mechanism_drivers: openvswitch,l2population
811 ml2_type_vlan:
812 network_vlan_ranges: foo:1:10
813 ml2_type_vxlan:
814 vni_ranges: 1:2000
815 ml2_type_gre:
816 tunnel_id_ranges: 1:1000
817 agent:
818 enable_distributed_routing: True
819 l2_population: True
820 tunnel_types: vxlan,gre
821 ovs:
822 tunnel_bridge: br-tun
823 bridge_mappings: public:br-ex
824 $NEUTRON_L3_CONF:
825 DEFAULT:
826 agent_mode: dvr_snat
827 agent:
828 availability_zone: nova
829 $NEUTRON_DHCP_CONF:
830 agent:
831 availability_zone: nova
832 "/etc/neutron/api-paste.ini":
833 "composite:neutronapi_v2_0":
834 use: "call:neutron.auth:pipeline_factory"
835 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
836 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
837 test-config:
838 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100839 network-feature-enabled:
840 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200841 neutron_plugin_options:
842 provider_vlans: foo,
843 agent_availability_zone: nova
844 image_is_advanced: true
845 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
846 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600847 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200848 group-vars:
849 subnode:
850 devstack_services:
Slawek Kaplonski579b6df2021-06-11 08:47:32 +0200851 tls-proxy: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200852 br-ex-tcpdump: false
853 br-int-flows: false
854 # Disable OVN services
855 ovn-controller: false
856 ovn-northd: false
857 ovs-vswitchd: false
858 ovsdb-server: false
859 q-ovn-metadata-agent: false
860 # Neutron services
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200861 q-agt: true
862 q-l3: true
863 q-meta: true
864 neutron-qos: true
865 neutron-trunk: true
866 neutron-log: true
867 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100868 # Cinder services
869 c-bak: false
870 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100871 # We don't need Swift to be run in the Neutron jobs
872 s-account: false
873 s-container: false
874 s-object: false
875 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200876 devstack_localrc:
877 USE_PYTHON3: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200878 Q_AGENT: openvswitch
879 Q_ML2_TENANT_NETWORK_TYPE: vxlan
880 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200881 devstack_local_conf:
882 post-config:
883 $NEUTRON_CONF:
884 DEFAULT:
885 router_distributed: True
886 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
887 # devstack-tempest job will be switched to use lib/neutron instead of
888 # lib/neutron-legacy
889 "/$NEUTRON_CORE_PLUGIN_CONF":
890 agent:
891 enable_distributed_routing: True
892 l2_population: True
893 tunnel_types: vxlan,gre
894 ovs:
895 tunnel_bridge: br-tun
896 bridge_mappings: public:br-ex
897 $NEUTRON_L3_CONF:
898 DEFAULT:
899 agent_mode: dvr_snat
900 agent:
901 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100902 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200903
904- job:
905 name: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200906 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200907 description: Neutron designate integration scenario
908 required-projects:
909 - openstack/designate
910 - openstack/designate-dashboard
911 - openstack/designate-tempest-plugin
912 timeout: 3600
913 vars:
914 network_api_extensions_common: *api_extensions
915 devstack_localrc:
916 DESIGNATE_BACKEND_DRIVER: bind9
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200917 # In this job advanced image is not needed, so it's name should be
918 # empty
919 ADVANCED_IMAGE_NAME: ""
920 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200921 devstack_plugins:
922 designate: https://opendev.org/openstack/designate.git
923 devstack_services:
924 cinder: false
925 designate: true
926 tempest_plugins:
927 - designate-tempest-plugin
928 - neutron-tempest-plugin
929 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100930 irrelevant-files:
931 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530932 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100933 - ^releasenotes/.*$
934 - ^doc/.*$
935 - ^setup.cfg$
936 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530937 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100938 - ^neutron/locale/.*$
939 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530940 - ^neutron/tests/fullstack/.*
941 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100942 - ^tools/.*$
943 - ^tox.ini$
944 - ^neutron/agent/.*$
945 - ^neutron/cmd/.*$
946 - ^neutron/privileged/.*$
947 - ^neutron/plugins/ml2/drivers/.*$
948 - ^neutron/scheduler/.*$
949 - ^neutron/services/(?!externaldns).*$
yatinkarel9d85f292022-01-27 17:26:57 +0530950 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530951 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
952 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530953 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530954 - ^roles/.*functional.*$
955 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530956 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530957 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200958
959- job:
960 name: neutron-tempest-plugin-sfc
961 parent: neutron-tempest-plugin-base
962 timeout: 10800
963 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200964 - openstack/networking-sfc
965 - openstack/neutron
966 - openstack/neutron-tempest-plugin
967 - openstack/tempest
968 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200969 devstack_services:
970 # Disable OVN services
971 br-ex-tcpdump: false
972 br-int-flows: false
973 ovn-controller: false
974 ovn-northd: false
975 ovs-vswitchd: false
976 ovsdb-server: false
977 q-ovn-metadata-agent: false
978 # Enable Neutron services that are not used by OVN
979 q-agt: true
980 q-dhcp: true
981 q-l3: true
982 q-meta: true
983 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200984 tempest_test_regex: ^neutron_tempest_plugin\.sfc
985 devstack_plugins:
986 networking-sfc: https://opendev.org/openstack/networking-sfc
987 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
988 network_api_extensions_sfc:
989 - flow_classifier
990 - sfc
991 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200992 Q_AGENT: openvswitch
993 Q_ML2_TENANT_NETWORK_TYPE: vxlan
994 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200995 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
996 # TODO(bcafarel): tests still fail from time to time in parallel
997 # https://bugs.launchpad.net/neutron/+bug/1851500
998 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
999 tempest_concurrency: 1
yatinkarel007c22f2021-12-10 15:15:45 +05301000 irrelevant-files:
1001 - ^(test-|)requirements.txt$
1002 - lower-constraints.txt
1003 - ^releasenotes/.*$
1004 - ^doc/.*$
1005 - ^.*\.conf\.sample$
1006 - ^setup.cfg$
1007 - ^.*\.rst$
1008 - ^neutron/locale/.*$
1009 - ^neutron/tests/unit/.*$
1010 - ^neutron/tests/fullstack/.*
1011 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301012 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301013 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|tap_as_a_service|vpnaas).*$
1014 - ^neutron_tempest_plugin/services/bgp/.*$
1015 - ^tools/.*$
1016 - ^tox.ini$
1017 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301018 - ^roles/.*functional.*$
1019 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301020 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301021 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001022
1023- job:
1024 name: neutron-tempest-plugin-bgpvpn-bagpipe
1025 parent: neutron-tempest-plugin-base
1026 required-projects:
1027 - openstack/networking-bagpipe
1028 - openstack/networking-bgpvpn
1029 vars:
elajkat3d7420a2021-05-12 11:28:40 +02001030 devstack_services:
1031 # Disable OVN services
1032 br-ex-tcpdump: false
1033 br-int-flows: false
1034 ovn-controller: false
1035 ovn-northd: false
1036 ovs-vswitchd: false
1037 ovsdb-server: false
1038 q-ovn-metadata-agent: false
1039 # Enable Neutron services that are not used by OVN
1040 q-agt: true
1041 q-dhcp: true
1042 q-l3: true
1043 q-meta: true
1044 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001045 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001046 network_api_extensions_bgpvpn:
1047 - bgpvpn
1048 - bgpvpn-routes-control
1049 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +02001050 Q_AGENT: openvswitch
1051 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1052 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001053 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
1054 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
1055 BAGPIPE_BGP_PEERS: "-"
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001056 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgpvpn) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001057 devstack_plugins:
1058 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
1059 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
yatinkarel007c22f2021-12-10 15:15:45 +05301060 irrelevant-files:
1061 - ^(test-|)requirements.txt$
1062 - lower-constraints.txt
1063 - ^releasenotes/.*$
1064 - ^doc/.*$
1065 - ^.*\.conf\.sample$
1066 - ^setup.cfg$
1067 - ^.*\.rst$
1068 - ^neutron/locale/.*$
1069 - ^neutron/tests/unit/.*$
1070 - ^neutron/tests/fullstack/.*
1071 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301072 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301073 - ^neutron_tempest_plugin/(fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
1074 - ^neutron_tempest_plugin/services/bgp/.*$
1075 - ^tools/.*$
1076 - ^tox.ini$
1077 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301078 - ^roles/.*functional.*$
1079 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301080 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301081 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001082
1083- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001084 name: neutron-tempest-plugin-dynamic-routing
1085 parent: neutron-tempest-plugin-base
1086 description: |
1087 Perform setup common to all Neutron dynamic routing tempest tests
1088 required-projects:
1089 - openstack/neutron
1090 - openstack/neutron-dynamic-routing
1091 - openstack/os-ken
1092 - openstack/tempest
1093 pre-run: playbooks/dynamic-routing-pre-run.yaml
1094 vars:
1095 devstack_plugins:
1096 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
1097 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001098 network_api_extensions_bgp:
1099 - bgp
1100 - bgp_dragent_scheduler
1101 - bgp_4byte_asn
1102 devstack_localrc:
1103 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +01001104 Q_AGENT: openvswitch
1105 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1106 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001107 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +01001108 # Disable OVN services
1109 br-ex-tcpdump: false
1110 br-int-flows: false
1111 ovn-controller: false
1112 ovn-northd: false
1113 ovs-vswitchd: false
1114 ovsdb-server: false
1115 q-ovn-metadata-agent: false
1116 # Neutron services
1117 q-agt: true
1118 q-dhcp: true
1119 q-meta: true
1120 q-metering: true
1121 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001122 neutron-dr: true
1123 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001124 tempest_concurrency: 1
1125 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
yatinkarel007c22f2021-12-10 15:15:45 +05301126 irrelevant-files:
1127 - ^(test-|)requirements.txt$
1128 - lower-constraints.txt
1129 - ^releasenotes/.*$
1130 - ^doc/.*$
1131 - ^.*\.conf\.sample$
1132 - ^setup.cfg$
1133 - ^.*\.rst$
1134 - ^neutron/locale/.*$
1135 - ^neutron/tests/unit/.*$
1136 - ^neutron/tests/fullstack/.*
1137 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301138 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301139 - ^neutron_tempest_plugin/(bgpvpn|fwaas|sfc|tap_as_a_service|vpnaas).*$
1140 - ^tools/.*$
1141 - ^tox.ini$
1142 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301143 - ^roles/.*functional.*$
1144 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301145 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301146 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001147
1148- job:
zhouhenglc446cc592022-02-09 10:19:06 +08001149 name: neutron-tempest-plugin-fwaas
1150 parent: neutron-tempest-plugin-base
1151 timeout: 10800
1152 required-projects:
1153 - openstack/devstack-gate
1154 - openstack/neutron-fwaas
1155 - openstack/neutron
1156 - openstack/neutron-tempest-plugin
1157 - openstack/tempest
1158 vars:
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001159 tempest_concurrency: 4
zhouhenglc446cc592022-02-09 10:19:06 +08001160 tempest_test_regex: ^neutron_tempest_plugin\.fwaas
1161 devstack_plugins:
1162 neutron-fwaas: https://opendev.org/openstack/neutron-fwaas.git
1163 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
zhouhenglc446cc592022-02-09 10:19:06 +08001164 network_api_extensions_fwaas:
1165 - fwaas_v2
1166 devstack_localrc:
1167 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_fwaas) | join(',') }}"
1168 Q_AGENT: openvswitch
1169 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1170 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1171 devstack_services:
1172 # Disable OVN services
1173 br-ex-tcpdump: false
1174 br-int-flows: false
1175 ovn-controller: false
1176 ovn-northd: false
1177 q-ovn-metadata-agent: false
1178 # Neutron services
1179 q-agt: true
1180 q-dhcp: true
1181 q-meta: true
1182 q-metering: true
1183 q-l3: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001184 neutron-log: false
yatinkarel91821d22022-05-19 11:11:50 +05301185 irrelevant-files:
1186 - ^(test-|)requirements.txt$
1187 - ^releasenotes/.*$
1188 - ^doc/.*$
1189 - ^.*\.conf\.sample$
1190 - ^setup.cfg$
1191 - ^.*\.rst$
1192 - ^neutron/locale/.*$
1193 - ^neutron/tests/unit/.*$
1194 - ^neutron/tests/fullstack/.*
1195 - ^neutron/tests/functional/.*
1196 - ^neutron_tempest_plugin/api/test_.*$
1197 - ^neutron_tempest_plugin/(bgpvpn|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
1198 - ^neutron_tempest_plugin/services/bgp/.*$
1199 - ^tools/.*$
1200 - ^tox.ini$
1201 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301202 - ^roles/.*functional.*$
1203 - ^playbooks/.*functional.*$
yatinkarel91821d22022-05-19 11:11:50 +05301204 - ^vagrant/.*$
1205 - ^zuul.d/(?!(project)).*\.yaml
zhouhenglc446cc592022-02-09 10:19:06 +08001206
1207- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001208 name: neutron-tempest-plugin-vpnaas
1209 parent: neutron-tempest-plugin-base
1210 timeout: 3900
1211 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001212 - openstack/neutron
1213 - openstack/neutron-vpnaas
1214 - openstack/neutron-tempest-plugin
1215 - openstack/tempest
1216 vars:
1217 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
1218 devstack_plugins:
1219 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
1220 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
1221 network_api_extensions_common: *api_extensions
1222 network_api_extensions_vpnaas:
1223 - vpnaas
1224 devstack_localrc:
1225 IPSEC_PACKAGE: strongswan
1226 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"
elajkat3a98dae2021-09-17 17:25:27 +02001227 Q_AGENT: openvswitch
1228 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1229 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1230 devstack_services:
1231 # Disable OVN services
1232 br-ex-tcpdump: false
1233 br-int-flows: false
1234 ovn-controller: false
1235 ovn-northd: false
1236 ovs-vswitchd: false
1237 ovsdb-server: false
1238 q-ovn-metadata-agent: false
1239 # Neutron services
1240 q-agt: true
1241 q-dhcp: true
1242 q-meta: true
1243 q-metering: true
1244 q-l3: true
yatinkarel007c22f2021-12-10 15:15:45 +05301245 irrelevant-files:
1246 - ^(test-|)requirements.txt$
1247 - lower-constraints.txt
1248 - ^releasenotes/.*$
1249 - ^doc/.*$
1250 - ^.*\.conf\.sample$
1251 - ^setup.cfg$
1252 - ^.*\.rst$
1253 - ^neutron/locale/.*$
1254 - ^neutron/tests/unit/.*$
1255 - ^neutron/tests/fullstack/.*
1256 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301257 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301258 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service).*$
1259 - ^neutron_tempest_plugin/services/bgp/.*$
1260 - ^tools/.*$
1261 - ^tox.ini$
1262 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301263 - ^roles/.*functional.*$
1264 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301265 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301266 - ^zuul.d/(?!(project)).*\.yaml
elajkat4abd0682021-08-06 16:05:23 +02001267
1268- job:
1269 name: neutron-tempest-plugin-tap-as-a-service
1270 parent: neutron-tempest-plugin-base
1271 description: |
1272 Perform setup common to all tap-as-a-service tempest tests
1273 roles:
1274 - zuul: openstack/devstack
1275 required-projects:
1276 - openstack/devstack-gate
1277 - openstack/neutron
1278 - openstack/neutron-tempest-plugin
1279 - openstack/tap-as-a-service
1280 - openstack/tempest
1281 vars:
1282 tempest_test_regex: ^neutron_tempest_plugin\.tap_as_a_service
1283 tox_envlist: all
elajkat4abd0682021-08-06 16:05:23 +02001284 network_api_extensions_tempest:
1285 - taas
1286 - taas-vlan-filter
1287 devstack_localrc:
1288 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
elajkat1f275e42021-10-15 12:47:55 +02001289 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
1290 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
1291 ADVANCED_INSTANCE_TYPE: ntp_image_384M
1292 ADVANCED_INSTANCE_USER: ubuntu
1293 CUSTOMIZE_IMAGE: false
elajkat4abd0682021-08-06 16:05:23 +02001294 BUILD_TIMEOUT: 784
1295 Q_AGENT: openvswitch
elajkat1f275e42021-10-15 12:47:55 +02001296 Q_ML2_TENANT_NETWORK_TYPE: vxlan,vlan
elajkat4abd0682021-08-06 16:05:23 +02001297 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1298 devstack_local_conf:
1299 post-config:
1300 /$NEUTRON_CORE_PLUGIN_CONF:
1301 AGENT:
elajkat1f275e42021-10-15 12:47:55 +02001302 tunnel_types: vxlan
1303 ml2_type_vlan:
1304 network_vlan_ranges: public
elajkat4abd0682021-08-06 16:05:23 +02001305 test-config:
1306 $TEMPEST_CONFIG:
elajkat1f275e42021-10-15 12:47:55 +02001307 neutron_plugin_options:
1308 image_is_advanced: true
1309 advanced_image_flavor_ref: d1
1310 taas:
elajkat4abd0682021-08-06 16:05:23 +02001311 provider_physical_network: public
1312 provider_segmentation_id: 100
1313 image_feature_enabled:
1314 api_v2: true
1315 devstack_plugins:
1316 neutron: git://opendev.org/openstack/neutron.git
1317 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
1318 tap-as-a-service: git://opendev.org/openstack/tap-as-a-service.git
1319 devstack_services:
1320 # Disable OVN services
1321 ovn-controller: false
1322 ovn-northd: false
1323 ovs-vswitchd: false
1324 ovsdb-server: false
1325 q-ovn-metadata-agent: false
1326 # Enable Neutron services that are not used by OVN
1327 q-agt: true
1328 q-dhcp: true
1329 q-l3: true
1330 q-meta: true
1331 q-metering: true
1332 br-ex-tcpdump: true
1333 br-int-flows: true
1334 base: false
1335 key: true
1336 mysql: true
1337 rabbit: true
1338 g-api: true
1339 g-reg: true
1340 n-api: true
1341 n-cond: true
1342 n-cpu: true
1343 n-crt: true
1344 n-sch: true
1345 placement-api: true
1346 n-api-meta: true
1347 q-svc: true
1348 quantum: true
1349 taas: true
1350 taas_openvswitch_agent: true
1351 tempest: true
1352 dstat: true
yatinkarel007c22f2021-12-10 15:15:45 +05301353 irrelevant-files:
elajkat4abd0682021-08-06 16:05:23 +02001354 - ^(test-|)requirements.txt$
yatinkarel007c22f2021-12-10 15:15:45 +05301355 - lower-constraints.txt
elajkat4abd0682021-08-06 16:05:23 +02001356 - ^releasenotes/.*$
1357 - ^doc/.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301358 - ^.*\.conf\.sample$
1359 - ^setup.cfg$
elajkat4abd0682021-08-06 16:05:23 +02001360 - ^.*\.rst$
yatinkarel007c22f2021-12-10 15:15:45 +05301361 - ^neutron/locale/.*$
1362 - ^neutron/tests/unit/.*$
1363 - ^neutron/tests/fullstack/.*
1364 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301365 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301366 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|vpnaas).*$
1367 - ^neutron_tempest_plugin/services/bgp/.*$
elajkat4abd0682021-08-06 16:05:23 +02001368 - ^tools/.*$
1369 - ^tox.ini$
yatinkarel007c22f2021-12-10 15:15:45 +05301370 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301371 - ^roles/.*functional.*$
1372 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301373 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301374 - ^zuul.d/(?!(project)).*\.yaml