blob: 1122a38e65074648a57ecab7dc8a56ac5749dff8 [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
63 - dhcp_agent_scheduler
64 - dns-domain-ports
65 - dns-integration
Slawek Kaplonski913c3062020-06-08 00:06:54 +020066 - dns-integration-domain-keywords
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020067 - empty-string-filtering
68 - expose-port-forwarding-in-fip
69 - expose-l3-conntrack-helper
70 - ext-gw-mode
71 - external-net
72 - extra_dhcp_opt
73 - extraroute
74 - extraroute-atomic
75 - filter-validation
76 - fip-port-details
77 - flavors
78 - floating-ip-port-forwarding
79 - floatingip-pools
80 - ip-substring-filtering
81 - l3-conntrack-helper
82 - l3-flavors
83 - l3-ha
84 - l3_agent_scheduler
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020085 - metering
86 - multi-provider
87 - net-mtu
88 - net-mtu-writable
89 - network-ip-availability
90 - network_availability_zone
91 - network-segment-range
92 - pagination
Slawek Kaplonskiada16222021-10-07 11:49:51 +020093 - port-device-profile
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020094 - port-resource-request
elajkat4a1357b2021-08-31 10:16:25 +020095 - port-resource-request-groups
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020096 - port-mac-address-regenerate
97 - port-security
98 - port-security-groups-filtering
99 - project-id
100 - provider
101 - qos
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200102 - qos-fip
103 - quotas
104 - quota_details
Miguel Lavalleb1c7a3d2021-01-31 19:05:22 -0600105 - rbac-address-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200106 - rbac-address-scope
107 - rbac-policies
108 - rbac-security-groups
109 - rbac-subnetpool
110 - router
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200111 - router_availability_zone
112 - security-group
Hang Yange6e0ccf2021-02-26 15:07:05 -0600113 - security-groups-remote-address-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200114 - segment
115 - service-type
116 - sorting
117 - standard-attr-description
118 - standard-attr-revisions
119 - standard-attr-segment
120 - standard-attr-tag
121 - standard-attr-timestamp
Ihar Hrachyshkab0b597f2021-11-04 03:00:42 +0000122 - stateful-security-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200123 - subnet_allocation
124 - subnet-dns-publish-fixed-ip
Slawek Kaplonskia5cdede2021-06-23 09:37:04 +0200125 - subnet-service-types
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200126 - subnetpool-prefix-ops
127 - tag-ports-during-bulk-creation
128 - trunk
129 - trunk-details
130 - uplink-status-propagation
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200131 devstack_services:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200132 tempest: true
133 neutron-dns: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200134 neutron-log: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200135 neutron-qos: true
136 neutron-segments: true
137 neutron-trunk: true
138 neutron-uplink-status-propagation: true
139 neutron-network-segment-range: true
140 neutron-port-forwarding: true
141 neutron-conntrack-helper: true
142 neutron-tag-ports-during-bulk-creation: true
143 br-ex-tcpdump: true
144 br-int-flows: true
145 # Cinder services
146 c-api: false
147 c-bak: false
148 c-sch: false
149 c-vol: false
150 cinder: false
151 # We don't need Swift to be run in the Neutron jobs
152 s-account: false
153 s-container: false
154 s-object: false
155 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200156 devstack_local_conf:
157 post-config:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200158 $NEUTRON_CONF:
159 QUOTAS:
160 quota_router: 100
161 quota_floatingip: 500
162 quota_security_group: 150
163 quota_security_group_rule: 1000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200164 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
165 # devstack-tempest job will be switched to use lib/neutron instead of
166 # lib/neutron-legacy
167 /$NEUTRON_CORE_PLUGIN_CONF:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200168 ml2:
169 type_drivers: flat,geneve,vlan,gre,local,vxlan
170 ml2_type_vlan:
171 network_vlan_ranges: foo:1:10
172 ml2_type_vxlan:
173 vni_ranges: 1:2000
174 ml2_type_gre:
175 tunnel_id_ranges: 1:1000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200176 network_log:
177 local_output_log_base: /tmp/test_log.log
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200178 $NEUTRON_L3_CONF:
179 agent:
180 availability_zone: nova
181 $NEUTRON_DHCP_CONF:
182 agent:
183 availability_zone: nova
184 test-config:
185 $TEMPEST_CONFIG:
186 neutron_plugin_options:
187 provider_vlans: foo,
188 agent_availability_zone: nova
189 image_is_advanced: true
190 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
191 provider_net_base_segm_id: 1
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100192 irrelevant-files:
193 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530194 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100195 - ^releasenotes/.*$
196 - ^doc/.*$
197 - ^setup.cfg$
198 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530199 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100200 - ^neutron/locale/.*$
201 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530202 - ^neutron/tests/fullstack/.*
203 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100204 - ^tools/.*$
205 - ^tox.ini$
206 - ^neutron/agent/.*$
207 - ^neutron/privileged/.*$
Takashi Kajinamia78d12a2021-08-22 13:25:18 +0900208 - ^neutron_lib/tests/unit/.*$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100209 - ^neutron_tempest_plugin/scenario/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530210 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530211 - ^roles/.*functional.*$
212 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530213 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530214 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100215
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200216- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200217 name: neutron-tempest-plugin-openvswitch
218 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200219 timeout: 10000
220 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530221 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100222 devstack_services:
223 # Disable OVN services
224 br-ex-tcpdump: false
225 br-int-flows: false
226 ovn-controller: false
227 ovn-northd: false
228 ovs-vswitchd: false
229 ovsdb-server: false
230 q-ovn-metadata-agent: false
231 # Neutron services
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300232 neutron-local-ip-static: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100233 q-agt: true
234 q-dhcp: true
235 q-l3: true
236 q-meta: true
237 q-metering: true
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300238 network_api_extensions_openvswitch:
239 - local_ip
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200240 - qos-bw-minimum-ingress
241 network_available_features: &available_features
242 - ipv6_metadata
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200243 devstack_localrc:
244 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100245 Q_ML2_TENANT_NETWORK_TYPE: vxlan
246 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200247 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_openvswitch) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200248 devstack_local_conf:
249 post-config:
250 $NEUTRON_CONF:
251 DEFAULT:
252 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200253 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200254 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
255 # devstack-tempest job will be switched to use lib/neutron instead of
256 # lib/neutron-legacy
257 /$NEUTRON_CORE_PLUGIN_CONF:
258 agent:
259 tunnel_types: vxlan,gre
260 ovs:
261 tunnel_bridge: br-tun
262 bridge_mappings: public:br-ex
Rodolfo Alonso Hernandez68596be2022-05-03 14:51:54 +0000263 openflow_processed_per_port: True
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200264 test-config:
265 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100266 network-feature-enabled:
267 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200268 neutron_plugin_options:
269 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600270 firewall_driver: openvswitch
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100271 irrelevant-files: &openvswitch-scenario-irrelevant-files
272 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530273 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100274 - ^releasenotes/.*$
275 - ^doc/.*$
276 - ^setup.cfg$
277 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530278 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100279 - ^neutron/locale/.*$
280 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530281 - ^neutron/tests/fullstack/.*
282 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100283 - ^tools/.*$
284 - ^tox.ini$
285 - ^neutron/agent/ovn/.*$
286 - ^neutron/agent/windows/.*$
287 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
288 - ^neutron/plugins/ml2/drivers/macvtap/.*$
289 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
290 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530291 - ^neutron/services/ovn_l3/.*$
292 - ^neutron/services/logapi/drivers/ovn/.*$
293 - ^neutron/services/portforwarding/drivers/ovn/.*$
294 - ^neutron/services/qos/drivers/linuxbridge/.*$
295 - ^neutron/services/qos/drivers/ovn/.*$
296 - ^neutron/services/trunk/drivers/linuxbridge/.*$
297 - ^neutron/services/trunk/drivers/ovn/.*$
298 - ^neutron/cmd/ovn/.*$
299 - ^neutron/common/ovn/.*$
300 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530301 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
302 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530303 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530304 - ^roles/.*functional.*$
305 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530306 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530307 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200308
309- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200310 name: neutron-tempest-plugin-openvswitch-iptables_hybrid
311 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200312 timeout: 10000
313 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530314 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100315 devstack_services:
316 # Disable OVN services
317 br-ex-tcpdump: false
318 br-int-flows: false
319 ovn-controller: false
320 ovn-northd: false
321 ovs-vswitchd: false
322 ovsdb-server: false
323 q-ovn-metadata-agent: false
324 # Neutron services
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300325 neutron-local-ip: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100326 q-agt: true
327 q-dhcp: true
328 q-l3: true
329 q-meta: true
330 q-metering: true
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300331 network_api_extensions_openvswitch:
332 - local_ip
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200333 - logging
elajkat8bbd7432020-11-04 16:41:34 +0100334 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200335 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
336 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
Alex Katzbd2bfd42021-05-26 18:12:36 +0300337 # TODO(akatz): remove established tcp session verification test when the
338 # bug https://bugzilla.redhat.com/show_bug.cgi?id=1965036 will be fixed
339 tempest_exclude_regex: "\
340 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
341 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200342 devstack_localrc:
343 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100344 Q_ML2_TENANT_NETWORK_TYPE: vxlan
345 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200346 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_openvswitch) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200347 devstack_local_conf:
348 post-config:
349 $NEUTRON_CONF:
350 DEFAULT:
351 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200352 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200353 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
354 # devstack-tempest job will be switched to use lib/neutron instead of
355 # lib/neutron-legacy
356 /$NEUTRON_CORE_PLUGIN_CONF:
357 agent:
358 tunnel_types: vxlan,gre
359 ovs:
360 tunnel_bridge: br-tun
361 bridge_mappings: public:br-ex
362 securitygroup:
363 firewall_driver: iptables_hybrid
364 test-config:
365 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100366 network-feature-enabled:
367 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200368 neutron_plugin_options:
369 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600370 firewall_driver: iptables_hybrid
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100371 irrelevant-files:
372 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530373 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100374 - ^releasenotes/.*$
375 - ^doc/.*$
376 - ^setup.cfg$
377 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530378 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100379 - ^neutron/locale/.*$
380 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530381 - ^neutron/tests/fullstack/.*
382 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100383 - ^tools/.*$
384 - ^tox.ini$
385 - ^neutron/agent/linux/openvswitch_firewall/.*$
386 - ^neutron/agent/ovn/.*$
387 - ^neutron/agent/windows/.*$
388 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
389 - ^neutron/plugins/ml2/drivers/macvtap/.*$
390 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
391 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530392 - ^neutron/services/ovn_l3/.*$
393 - ^neutron/services/logapi/drivers/ovn/.*$
394 - ^neutron/services/portforwarding/drivers/ovn/.*$
395 - ^neutron/services/qos/drivers/linuxbridge/.*$
396 - ^neutron/services/qos/drivers/ovn/.*$
397 - ^neutron/services/trunk/drivers/linuxbridge/.*$
398 - ^neutron/services/trunk/drivers/ovn/.*$
399 - ^neutron/cmd/ovn/.*$
400 - ^neutron/common/ovn/.*$
401 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530402 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
403 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530404 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530405 - ^roles/.*functional.*$
406 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530407 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530408 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200409
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200410# TODO(slaweq): remove that job's definition as soon as new job
411# "neutron-tempest-plugin-openvswitch-iptables_hybrid" will be used in the
412# neutron repo as a parent for a
413# "neutron-ovs-tempest-plugin-scenario-iptables_hybrid-nftables" job
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200414- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200415 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
416 parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
417
418- job:
419 name: neutron-tempest-plugin-openvswitch-distributed-dhcp
420 parent: neutron-tempest-plugin-openvswitch
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200421 timeout: 10000
422 vars:
423 # NOTE: DHCP extra options and dns services aren't supported with
424 # distributed DHCP L2 agent extension
425 tempest_exclude_regex: "\
426 (^neutron_tempest_plugin.scenario.test_dhcp.DHCPTest.test_extra_dhcp_opts)|\
427 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
428 devstack_services:
429 q-dhcp: false
430 q-distributed-dhcp: true
431
432- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200433 name: neutron-tempest-plugin-openvswitch-iptables_hybrid-distributed-dhcp
434 parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200435 timeout: 10000
436 vars:
437 # NOTE: DHCP extra options and dns services aren't supported with
438 # distributed DHCP L2 agent extension
439 tempest_exclude_regex: "\
440 (^neutron_tempest_plugin.scenario.test_dhcp.DHCPTest.test_extra_dhcp_opts)|\
441 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
442 devstack_services:
443 q-dhcp: false
444 q-distributed-dhcp: true
445
446- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200447 name: neutron-tempest-plugin-linuxbridge
448 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200449 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200450 roles:
451 - zuul: openstack/neutron
452 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200453 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530454 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100455 devstack_services:
456 # Disable OVN services
457 br-ex-tcpdump: false
458 br-int-flows: false
459 ovn-controller: false
460 ovn-northd: false
461 ovs-vswitchd: false
462 ovsdb-server: false
463 q-ovn-metadata-agent: false
464 # Neutron services
465 q-agt: true
466 q-dhcp: true
467 q-l3: true
468 q-meta: true
469 q-metering: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200470 # SG logging isn't supported by linuxbridge backend
471 neutron-log: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100472 network_api_extensions_linuxbridge:
473 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100474 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100475 # TODO(eolivare): remove VLAN Transparency tests from blacklist
476 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
Slawek Kaplonskicc63c422021-07-21 10:20:18 +0200477 # TODO(slaweq): remove
478 # test_established_tcp_session_after_re_attachinging_sg from the
479 # exclude regex when bug https://bugs.launchpad.net/neutron/+bug/1936911
480 # will be fixed
Slawek Kaplonski3fe3a902022-04-13 09:46:24 +0200481 # TODO(slaweq) remove test_floatingip_port_details from the exclude
482 # regex when bug https://bugs.launchpad.net/neutron/+bug/1799790 will be
483 # fixed
Slawek Kaplonskicc63c422021-07-21 10:20:18 +0200484 tempest_exclude_regex: "\
485 (^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)|\
Slawek Kaplonski3fe3a902022-04-13 09:46:24 +0200486 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)|\
487 (^neutron_tempest_plugin.scenario.test_floatingip.FloatingIPPortDetailsTest.test_floatingip_port_details)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200488 devstack_localrc:
489 Q_AGENT: linuxbridge
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200490 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100491 Q_ML2_TENANT_NETWORK_TYPE: vxlan
492 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200493 devstack_local_conf:
494 post-config:
495 $NEUTRON_CONF:
496 DEFAULT:
497 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100498 vlan_transparent: true
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200499 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200500 AGENT:
501 debug_iptables_rules: true
502 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
503 # devstack-tempest job will be switched to use lib/neutron instead of
504 # lib/neutron-legacy
505 /$NEUTRON_CORE_PLUGIN_CONF:
506 ml2:
507 type_drivers: flat,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100508 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200509 test-config:
510 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100511 network-feature-enabled:
512 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200513 neutron_plugin_options:
514 available_type_drivers: flat,vlan,local,vxlan
515 q_agent: linuxbridge
Hang Yange6e0ccf2021-02-26 15:07:05 -0600516 firewall_driver: iptables
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100517 irrelevant-files:
518 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530519 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100520 - ^releasenotes/.*$
521 - ^doc/.*$
522 - ^setup.cfg$
523 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530524 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100525 - ^neutron/locale/.*$
526 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530527 - ^neutron/tests/fullstack/.*
528 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100529 - ^tools/.*$
530 - ^tox.ini$
531 - ^neutron/agent/linux/openvswitch_firewall/.*$
532 - ^neutron/agent/ovn/.*$
533 - ^neutron/agent/windows/.*$
534 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
535 - ^neutron/plugins/ml2/drivers/macvtap/.*$
536 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
537 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530538 - ^neutron/services/ovn_l3/.*$
539 - ^neutron/services/logapi/drivers/openvswitch/.*$
540 - ^neutron/services/logapi/drivers/ovn/.*$
541 - ^neutron/services/portforwarding/drivers/ovn/.*$
542 - ^neutron/services/qos/drivers/openvswitch/.*$
543 - ^neutron/services/qos/drivers/ovn/.*$
544 - ^neutron/services/trunk/drivers/openvswitch/.*$
545 - ^neutron/services/trunk/drivers/ovn/.*$
546 - ^neutron/cmd/ovn/.*$
547 - ^neutron/common/ovn/.*$
548 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530549 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
550 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530551 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530552 - ^roles/.*functional.*$
553 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530554 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530555 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200556
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200557# TODO(slaweq): remove that job's definition as soon as new job
558# "neutron-tempest-plugin-linuxbridge" will be used in the neutron repo as
559# a parent for a "neutron-linuxbridge-tempest-plugin-scenario-nftables" job
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200560- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200561 name: neutron-tempest-plugin-scenario-linuxbridge
562 parent: neutron-tempest-plugin-linuxbridge
563
564- job:
565 name: neutron-tempest-plugin-ovn
566 parent: neutron-tempest-plugin-base-nested-switch
Rodolfo Alonso Hernandez99acc992021-11-03 08:30:33 +0000567 timeout: 10800
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000568 vars:
Eduardo Olivares088707b2020-12-01 21:13:45 +0100569 network_api_extensions_ovn:
570 - vlan-transparent
Jakub Libosvar20591c52020-10-29 21:01:51 +0100571 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
572 # once east/west fragmentation is supported in core OVN
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600573 tempest_exclude_regex: "\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100574 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000575 devstack_localrc:
576 Q_AGENT: ovn
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200577 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000578 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
579 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
580 Q_ML2_TENANT_NETWORK_TYPE: geneve
581 Q_USE_PROVIDERNET_FOR_PUBLIC: true
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200582 # NOTE(slaweq): In the job with OVN backend we can't use Ubuntu minimal
583 # image because kernel in that image don't supports MULTICAST traffic
584 # thus multicast scenario test with IGMP snooping enabled would fail
585 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
586 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
587 ADVANCED_INSTANCE_TYPE: ntp_image_384M
588 ADVANCED_INSTANCE_USER: ubuntu
589 CUSTOMIZE_IMAGE: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000590 ENABLE_CHASSIS_AS_GW: true
591 OVN_L3_CREATE_PUBLIC_NETWORK: true
592 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000593 ENABLE_TLS: True
594 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100595 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
596 # is included in an ovn released version
597 OVN_BUILD_FROM_SOURCE: True
Daniel Alvarez Sanchez19b0b992021-07-14 11:21:56 +0200598 OVN_BRANCH: "v21.06.0"
Rodolfo Alonso Hernandez93f1e9b2022-03-20 06:47:39 +0000599 OVS_BRANCH: "a4b04276ab5934d087669ff2d191a23931335c87"
Slawek Kaplonski862cbeb2021-03-20 10:05:26 +0100600 OVS_SYSCONFDIR: "/usr/local/etc/openvswitch"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000601 devstack_services:
602 br-ex-tcpdump: true
603 br-int-flows: true
604 q-ovn-metadata-agent: true
605 ovn-controller: true
606 ovn-northd: true
607 ovs-vswitchd: true
608 ovsdb-server: true
609 q-agt: false
610 q-dhcp: false
611 q-l3: false
612 q-meta: false
613 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100614 q-qos: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100615 # Cinder services
616 c-api: false
617 c-bak: false
618 c-sch: false
619 c-vol: false
620 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000621 s-account: false
622 s-container-sync: false
623 s-container: false
624 s-object: false
625 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000626 devstack_local_conf:
627 post-config:
628 $NEUTRON_CONF:
629 DEFAULT:
630 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100631 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000632 /$NEUTRON_CORE_PLUGIN_CONF:
633 ml2:
634 type_drivers: local,flat,vlan,geneve
635 test-config:
636 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100637 network-feature-enabled:
638 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000639 neutron_plugin_options:
640 available_type_drivers: local,flat,vlan,geneve
641 is_igmp_snooping_enabled: True
Hang Yange6e0ccf2021-02-26 15:07:05 -0600642 firewall_driver: ovn
Jakub Libosvar08f3c612021-02-07 15:50:23 +0100643 zuul_copy_output:
644 '{{ devstack_base_dir }}/data/ovs': 'logs'
645 '{{ devstack_base_dir }}/data/ovn': 'logs'
646 '{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
647 '{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200648 '/var/log/ovn': 'logs'
649 '/var/log/openvswitch': 'logs'
650 '/var/lib/ovn': 'logs'
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100651 irrelevant-files:
652 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530653 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100654 - ^releasenotes/.*$
655 - ^doc/.*$
656 - ^setup.cfg$
657 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530658 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100659 - ^neutron/locale/.*$
660 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530661 - ^neutron/tests/fullstack/.*
662 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100663 - ^tools/.*$
664 - ^tox.ini$
665 - ^neutron/agent/dhcp/.*$
666 - ^neutron/agent/l2/.*$
667 - ^neutron/agent/l3/.*$
668 - ^neutron/agent/metadata/.*$
669 - ^neutron/agent/windows/.*$
670 - ^neutron/agent/dhcp_agent.py
671 - ^neutron/agent/l3_agent.py
672 - ^neutron/agent/metadata_agent.py
673 - ^neutron/agent/resource_cache.py
674 - ^neutron/agent/rpc.py
675 - ^neutron/agent/securitygroup_rpc.py
676 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
677 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
678 - ^neutron/plugins/ml2/drivers/macvtap/.*$
679 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530680 - ^neutron/services/qos/drivers/linuxbridge/.*$
681 - ^neutron/services/qos/drivers/openvswitch/.*$
682 - ^neutron/services/trunk/drivers/linuxbridge/.*$
683 - ^neutron/services/trunk/drivers/openvswitch/.*$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100684 - ^neutron/scheduler/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530685 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530686 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
687 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530688 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530689 - ^roles/.*functional.*$
690 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530691 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530692 - ^zuul.d/(?!(project)).*\.yaml
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000693
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200694# TODO(slaweq): remove that job's definition as soon as new job
695# "neutron-tempest-plugin-ovn" will be used in the neutron-lib repo as
696# instead of old "neutron-tempest-plugin-api" job
697- job:
698 name: neutron-tempest-plugin-api
699 parent: neutron-tempest-plugin-ovn
700
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000701- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200702 name: neutron-tempest-plugin-dvr-multinode-scenario
703 parent: tempest-multinode-full
704 description: |
705 Perform setup for Neutron tempest tests in multinode with DVR scenario
706 roles:
707 - zuul: openstack/devstack
708 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200709 - openstack/neutron
710 - openstack/neutron-tempest-plugin
711 - openstack/tempest
712 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
713 voting: false
714 vars:
715 tempest_concurrency: 4
716 tox_envlist: all
717 tempest_test_regex: ^neutron_tempest_plugin\.scenario
718 # NOTE(slaweq): in case of some tests, which requires advanced image,
719 # default test timeout set to 1200 seconds may be not enough if job is
720 # run on slow node
721 tempest_test_timeout: 2400
722 network_api_extensions_common: *api_extensions
723 network_api_extensions_dvr:
724 - dvr
725 devstack_localrc:
726 USE_PYTHON3: true
727 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
728 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200729 CIRROS_VERSION: 0.5.1
yatinkarel165e4092021-12-08 19:19:34 +0530730 DEFAULT_IMAGE_NAME: cirros-0.5.1-x86_64-uec
731 DEFAULT_IMAGE_FILE_NAME: cirros-0.5.1-x86_64-uec.tar.gz
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200732 IMAGE_URLS: https://cloud-images.ubuntu.com/minimal/releases/focal/release/ubuntu-20.04-minimal-cloudimg-amd64.img
733 ADVANCED_IMAGE_NAME: ubuntu-20.04-minimal-cloudimg-amd64
734 ADVANCED_INSTANCE_TYPE: ntp_image_256M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200735 ADVANCED_INSTANCE_USER: ubuntu
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200736 CUSTOMIZE_IMAGE: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200737 BUILD_TIMEOUT: 784
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200738 Q_AGENT: openvswitch
739 Q_ML2_TENANT_NETWORK_TYPE: vxlan
740 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200741 devstack_plugins:
742 neutron: https://opendev.org/openstack/neutron.git
743 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
744 tempest_plugins:
745 - neutron-tempest-plugin
746 devstack_services:
Slawek Kaplonski579b6df2021-06-11 08:47:32 +0200747 tls-proxy: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200748 tempest: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200749 # Disable OVN services
750 br-ex-tcpdump: false
751 br-int-flows: false
752 ovn-controller: false
753 ovn-northd: false
754 ovs-vswitchd: false
755 ovsdb-server: false
756 q-ovn-metadata-agent: false
757 # Neutron services
758 q-agt: true
759 q-dhcp: true
760 q-l3: true
761 q-meta: true
762 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200763 neutron-dns: true
764 neutron-qos: true
765 neutron-segments: true
766 neutron-trunk: true
767 neutron-log: true
768 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100769 # Cinder services
770 c-api: false
771 c-bak: false
772 c-sch: false
773 c-vol: false
774 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100775 # We don't need Swift to be run in the Neutron jobs
776 s-account: false
777 s-container: false
778 s-object: false
779 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200780 devstack_local_conf:
781 post-config:
782 $NEUTRON_CONF:
783 quotas:
784 quota_router: 100
785 quota_floatingip: 500
786 quota_security_group: 100
787 quota_security_group_rule: 1000
788 DEFAULT:
789 router_distributed: True
790 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
791 # devstack-tempest job will be switched to use lib/neutron instead of
792 # lib/neutron-legacy
793 "/$NEUTRON_CORE_PLUGIN_CONF":
794 ml2:
795 type_drivers: flat,geneve,vlan,gre,local,vxlan
796 mechanism_drivers: openvswitch,l2population
797 ml2_type_vlan:
798 network_vlan_ranges: foo:1:10
799 ml2_type_vxlan:
800 vni_ranges: 1:2000
801 ml2_type_gre:
802 tunnel_id_ranges: 1:1000
803 agent:
804 enable_distributed_routing: True
805 l2_population: True
806 tunnel_types: vxlan,gre
807 ovs:
808 tunnel_bridge: br-tun
809 bridge_mappings: public:br-ex
810 $NEUTRON_L3_CONF:
811 DEFAULT:
812 agent_mode: dvr_snat
813 agent:
814 availability_zone: nova
815 $NEUTRON_DHCP_CONF:
816 agent:
817 availability_zone: nova
818 "/etc/neutron/api-paste.ini":
819 "composite:neutronapi_v2_0":
820 use: "call:neutron.auth:pipeline_factory"
821 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
822 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
823 test-config:
824 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100825 network-feature-enabled:
826 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200827 neutron_plugin_options:
828 provider_vlans: foo,
829 agent_availability_zone: nova
830 image_is_advanced: true
831 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
832 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600833 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200834 group-vars:
835 subnode:
836 devstack_services:
Slawek Kaplonski579b6df2021-06-11 08:47:32 +0200837 tls-proxy: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200838 br-ex-tcpdump: false
839 br-int-flows: false
840 # Disable OVN services
841 ovn-controller: false
842 ovn-northd: false
843 ovs-vswitchd: false
844 ovsdb-server: false
845 q-ovn-metadata-agent: false
846 # Neutron services
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200847 q-agt: true
848 q-l3: true
849 q-meta: true
850 neutron-qos: true
851 neutron-trunk: true
852 neutron-log: true
853 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100854 # Cinder services
855 c-bak: false
856 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100857 # We don't need Swift to be run in the Neutron jobs
858 s-account: false
859 s-container: false
860 s-object: false
861 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200862 devstack_localrc:
863 USE_PYTHON3: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200864 Q_AGENT: openvswitch
865 Q_ML2_TENANT_NETWORK_TYPE: vxlan
866 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200867 devstack_local_conf:
868 post-config:
869 $NEUTRON_CONF:
870 DEFAULT:
871 router_distributed: True
872 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
873 # devstack-tempest job will be switched to use lib/neutron instead of
874 # lib/neutron-legacy
875 "/$NEUTRON_CORE_PLUGIN_CONF":
876 agent:
877 enable_distributed_routing: True
878 l2_population: True
879 tunnel_types: vxlan,gre
880 ovs:
881 tunnel_bridge: br-tun
882 bridge_mappings: public:br-ex
883 $NEUTRON_L3_CONF:
884 DEFAULT:
885 agent_mode: dvr_snat
886 agent:
887 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100888 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200889
890- job:
891 name: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200892 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200893 description: Neutron designate integration scenario
894 required-projects:
895 - openstack/designate
896 - openstack/designate-dashboard
897 - openstack/designate-tempest-plugin
898 timeout: 3600
899 vars:
900 network_api_extensions_common: *api_extensions
901 devstack_localrc:
902 DESIGNATE_BACKEND_DRIVER: bind9
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200903 # In this job advanced image is not needed, so it's name should be
904 # empty
905 ADVANCED_IMAGE_NAME: ""
906 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200907 devstack_plugins:
908 designate: https://opendev.org/openstack/designate.git
909 devstack_services:
910 cinder: false
911 designate: true
912 tempest_plugins:
913 - designate-tempest-plugin
914 - neutron-tempest-plugin
915 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100916 irrelevant-files:
917 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530918 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100919 - ^releasenotes/.*$
920 - ^doc/.*$
921 - ^setup.cfg$
922 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530923 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100924 - ^neutron/locale/.*$
925 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530926 - ^neutron/tests/fullstack/.*
927 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100928 - ^tools/.*$
929 - ^tox.ini$
930 - ^neutron/agent/.*$
931 - ^neutron/cmd/.*$
932 - ^neutron/privileged/.*$
933 - ^neutron/plugins/ml2/drivers/.*$
934 - ^neutron/scheduler/.*$
935 - ^neutron/services/(?!externaldns).*$
yatinkarel9d85f292022-01-27 17:26:57 +0530936 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530937 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
938 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530939 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530940 - ^roles/.*functional.*$
941 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530942 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530943 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200944
945- job:
946 name: neutron-tempest-plugin-sfc
947 parent: neutron-tempest-plugin-base
948 timeout: 10800
949 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200950 - openstack/networking-sfc
951 - openstack/neutron
952 - openstack/neutron-tempest-plugin
953 - openstack/tempest
954 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200955 devstack_services:
956 # Disable OVN services
957 br-ex-tcpdump: false
958 br-int-flows: false
959 ovn-controller: false
960 ovn-northd: false
961 ovs-vswitchd: false
962 ovsdb-server: false
963 q-ovn-metadata-agent: false
964 # Enable Neutron services that are not used by OVN
965 q-agt: true
966 q-dhcp: true
967 q-l3: true
968 q-meta: true
969 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200970 tempest_test_regex: ^neutron_tempest_plugin\.sfc
971 devstack_plugins:
972 networking-sfc: https://opendev.org/openstack/networking-sfc
973 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
974 network_api_extensions_sfc:
975 - flow_classifier
976 - sfc
977 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200978 Q_AGENT: openvswitch
979 Q_ML2_TENANT_NETWORK_TYPE: vxlan
980 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200981 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
982 # TODO(bcafarel): tests still fail from time to time in parallel
983 # https://bugs.launchpad.net/neutron/+bug/1851500
984 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
985 tempest_concurrency: 1
yatinkarel007c22f2021-12-10 15:15:45 +0530986 irrelevant-files:
987 - ^(test-|)requirements.txt$
988 - lower-constraints.txt
989 - ^releasenotes/.*$
990 - ^doc/.*$
991 - ^.*\.conf\.sample$
992 - ^setup.cfg$
993 - ^.*\.rst$
994 - ^neutron/locale/.*$
995 - ^neutron/tests/unit/.*$
996 - ^neutron/tests/fullstack/.*
997 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +0530998 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530999 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|tap_as_a_service|vpnaas).*$
1000 - ^neutron_tempest_plugin/services/bgp/.*$
1001 - ^tools/.*$
1002 - ^tox.ini$
1003 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301004 - ^roles/.*functional.*$
1005 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301006 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301007 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001008
1009- job:
1010 name: neutron-tempest-plugin-bgpvpn-bagpipe
1011 parent: neutron-tempest-plugin-base
1012 required-projects:
1013 - openstack/networking-bagpipe
1014 - openstack/networking-bgpvpn
1015 vars:
elajkat3d7420a2021-05-12 11:28:40 +02001016 devstack_services:
1017 # Disable OVN services
1018 br-ex-tcpdump: false
1019 br-int-flows: false
1020 ovn-controller: false
1021 ovn-northd: false
1022 ovs-vswitchd: false
1023 ovsdb-server: false
1024 q-ovn-metadata-agent: false
1025 # Enable Neutron services that are not used by OVN
1026 q-agt: true
1027 q-dhcp: true
1028 q-l3: true
1029 q-meta: true
1030 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001031 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001032 network_api_extensions_bgpvpn:
1033 - bgpvpn
1034 - bgpvpn-routes-control
1035 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +02001036 Q_AGENT: openvswitch
1037 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1038 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001039 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
1040 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
1041 BAGPIPE_BGP_PEERS: "-"
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001042 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgpvpn) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001043 devstack_plugins:
1044 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
1045 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
yatinkarel007c22f2021-12-10 15:15:45 +05301046 irrelevant-files:
1047 - ^(test-|)requirements.txt$
1048 - lower-constraints.txt
1049 - ^releasenotes/.*$
1050 - ^doc/.*$
1051 - ^.*\.conf\.sample$
1052 - ^setup.cfg$
1053 - ^.*\.rst$
1054 - ^neutron/locale/.*$
1055 - ^neutron/tests/unit/.*$
1056 - ^neutron/tests/fullstack/.*
1057 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301058 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301059 - ^neutron_tempest_plugin/(fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
1060 - ^neutron_tempest_plugin/services/bgp/.*$
1061 - ^tools/.*$
1062 - ^tox.ini$
1063 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301064 - ^roles/.*functional.*$
1065 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301066 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301067 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001068
1069- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001070 name: neutron-tempest-plugin-dynamic-routing
1071 parent: neutron-tempest-plugin-base
1072 description: |
1073 Perform setup common to all Neutron dynamic routing tempest tests
1074 required-projects:
1075 - openstack/neutron
1076 - openstack/neutron-dynamic-routing
1077 - openstack/os-ken
1078 - openstack/tempest
1079 pre-run: playbooks/dynamic-routing-pre-run.yaml
1080 vars:
1081 devstack_plugins:
1082 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
1083 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001084 network_api_extensions_bgp:
1085 - bgp
1086 - bgp_dragent_scheduler
1087 - bgp_4byte_asn
1088 devstack_localrc:
1089 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +01001090 Q_AGENT: openvswitch
1091 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1092 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001093 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +01001094 # Disable OVN services
1095 br-ex-tcpdump: false
1096 br-int-flows: false
1097 ovn-controller: false
1098 ovn-northd: false
1099 ovs-vswitchd: false
1100 ovsdb-server: false
1101 q-ovn-metadata-agent: false
1102 # Neutron services
1103 q-agt: true
1104 q-dhcp: true
1105 q-meta: true
1106 q-metering: true
1107 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001108 neutron-dr: true
1109 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001110 tempest_concurrency: 1
1111 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
yatinkarel007c22f2021-12-10 15:15:45 +05301112 irrelevant-files:
1113 - ^(test-|)requirements.txt$
1114 - lower-constraints.txt
1115 - ^releasenotes/.*$
1116 - ^doc/.*$
1117 - ^.*\.conf\.sample$
1118 - ^setup.cfg$
1119 - ^.*\.rst$
1120 - ^neutron/locale/.*$
1121 - ^neutron/tests/unit/.*$
1122 - ^neutron/tests/fullstack/.*
1123 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301124 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301125 - ^neutron_tempest_plugin/(bgpvpn|fwaas|sfc|tap_as_a_service|vpnaas).*$
1126 - ^tools/.*$
1127 - ^tox.ini$
1128 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301129 - ^roles/.*functional.*$
1130 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301131 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301132 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001133
1134- job:
zhouhenglc446cc592022-02-09 10:19:06 +08001135 name: neutron-tempest-plugin-fwaas
1136 parent: neutron-tempest-plugin-base
1137 timeout: 10800
1138 required-projects:
1139 - openstack/devstack-gate
1140 - openstack/neutron-fwaas
1141 - openstack/neutron
1142 - openstack/neutron-tempest-plugin
1143 - openstack/tempest
1144 vars:
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001145 tempest_concurrency: 4
zhouhenglc446cc592022-02-09 10:19:06 +08001146 tempest_test_regex: ^neutron_tempest_plugin\.fwaas
1147 devstack_plugins:
1148 neutron-fwaas: https://opendev.org/openstack/neutron-fwaas.git
1149 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
zhouhenglc446cc592022-02-09 10:19:06 +08001150 network_api_extensions_fwaas:
1151 - fwaas_v2
1152 devstack_localrc:
1153 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_fwaas) | join(',') }}"
1154 Q_AGENT: openvswitch
1155 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1156 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1157 devstack_services:
1158 # Disable OVN services
1159 br-ex-tcpdump: false
1160 br-int-flows: false
1161 ovn-controller: false
1162 ovn-northd: false
1163 q-ovn-metadata-agent: false
1164 # Neutron services
1165 q-agt: true
1166 q-dhcp: true
1167 q-meta: true
1168 q-metering: true
1169 q-l3: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001170 neutron-log: false
yatinkarel91821d22022-05-19 11:11:50 +05301171 irrelevant-files:
1172 - ^(test-|)requirements.txt$
1173 - ^releasenotes/.*$
1174 - ^doc/.*$
1175 - ^.*\.conf\.sample$
1176 - ^setup.cfg$
1177 - ^.*\.rst$
1178 - ^neutron/locale/.*$
1179 - ^neutron/tests/unit/.*$
1180 - ^neutron/tests/fullstack/.*
1181 - ^neutron/tests/functional/.*
1182 - ^neutron_tempest_plugin/api/test_.*$
1183 - ^neutron_tempest_plugin/(bgpvpn|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
1184 - ^neutron_tempest_plugin/services/bgp/.*$
1185 - ^tools/.*$
1186 - ^tox.ini$
1187 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301188 - ^roles/.*functional.*$
1189 - ^playbooks/.*functional.*$
yatinkarel91821d22022-05-19 11:11:50 +05301190 - ^vagrant/.*$
1191 - ^zuul.d/(?!(project)).*\.yaml
zhouhenglc446cc592022-02-09 10:19:06 +08001192
1193- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001194 name: neutron-tempest-plugin-vpnaas
1195 parent: neutron-tempest-plugin-base
1196 timeout: 3900
1197 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001198 - openstack/neutron
1199 - openstack/neutron-vpnaas
1200 - openstack/neutron-tempest-plugin
1201 - openstack/tempest
1202 vars:
1203 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
1204 devstack_plugins:
1205 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
1206 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
1207 network_api_extensions_common: *api_extensions
1208 network_api_extensions_vpnaas:
1209 - vpnaas
1210 devstack_localrc:
1211 IPSEC_PACKAGE: strongswan
1212 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"
elajkat3a98dae2021-09-17 17:25:27 +02001213 Q_AGENT: openvswitch
1214 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1215 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1216 devstack_services:
1217 # Disable OVN services
1218 br-ex-tcpdump: false
1219 br-int-flows: false
1220 ovn-controller: false
1221 ovn-northd: false
1222 ovs-vswitchd: false
1223 ovsdb-server: false
1224 q-ovn-metadata-agent: false
1225 # Neutron services
1226 q-agt: true
1227 q-dhcp: true
1228 q-meta: true
1229 q-metering: true
1230 q-l3: true
yatinkarel007c22f2021-12-10 15:15:45 +05301231 irrelevant-files:
1232 - ^(test-|)requirements.txt$
1233 - lower-constraints.txt
1234 - ^releasenotes/.*$
1235 - ^doc/.*$
1236 - ^.*\.conf\.sample$
1237 - ^setup.cfg$
1238 - ^.*\.rst$
1239 - ^neutron/locale/.*$
1240 - ^neutron/tests/unit/.*$
1241 - ^neutron/tests/fullstack/.*
1242 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301243 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301244 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service).*$
1245 - ^neutron_tempest_plugin/services/bgp/.*$
1246 - ^tools/.*$
1247 - ^tox.ini$
1248 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301249 - ^roles/.*functional.*$
1250 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301251 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301252 - ^zuul.d/(?!(project)).*\.yaml
elajkat4abd0682021-08-06 16:05:23 +02001253
1254- job:
1255 name: neutron-tempest-plugin-tap-as-a-service
1256 parent: neutron-tempest-plugin-base
1257 description: |
1258 Perform setup common to all tap-as-a-service tempest tests
1259 roles:
1260 - zuul: openstack/devstack
1261 required-projects:
1262 - openstack/devstack-gate
1263 - openstack/neutron
1264 - openstack/neutron-tempest-plugin
1265 - openstack/tap-as-a-service
1266 - openstack/tempest
1267 vars:
1268 tempest_test_regex: ^neutron_tempest_plugin\.tap_as_a_service
1269 tox_envlist: all
elajkat4abd0682021-08-06 16:05:23 +02001270 network_api_extensions_tempest:
1271 - taas
1272 - taas-vlan-filter
1273 devstack_localrc:
1274 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
elajkat1f275e42021-10-15 12:47:55 +02001275 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
1276 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
1277 ADVANCED_INSTANCE_TYPE: ntp_image_384M
1278 ADVANCED_INSTANCE_USER: ubuntu
1279 CUSTOMIZE_IMAGE: false
elajkat4abd0682021-08-06 16:05:23 +02001280 BUILD_TIMEOUT: 784
1281 Q_AGENT: openvswitch
elajkat1f275e42021-10-15 12:47:55 +02001282 Q_ML2_TENANT_NETWORK_TYPE: vxlan,vlan
elajkat4abd0682021-08-06 16:05:23 +02001283 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1284 devstack_local_conf:
1285 post-config:
1286 /$NEUTRON_CORE_PLUGIN_CONF:
1287 AGENT:
elajkat1f275e42021-10-15 12:47:55 +02001288 tunnel_types: vxlan
1289 ml2_type_vlan:
1290 network_vlan_ranges: public
elajkat4abd0682021-08-06 16:05:23 +02001291 test-config:
1292 $TEMPEST_CONFIG:
elajkat1f275e42021-10-15 12:47:55 +02001293 neutron_plugin_options:
1294 image_is_advanced: true
1295 advanced_image_flavor_ref: d1
1296 taas:
elajkat4abd0682021-08-06 16:05:23 +02001297 provider_physical_network: public
1298 provider_segmentation_id: 100
1299 image_feature_enabled:
1300 api_v2: true
1301 devstack_plugins:
1302 neutron: git://opendev.org/openstack/neutron.git
1303 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
1304 tap-as-a-service: git://opendev.org/openstack/tap-as-a-service.git
1305 devstack_services:
1306 # Disable OVN services
1307 ovn-controller: false
1308 ovn-northd: false
1309 ovs-vswitchd: false
1310 ovsdb-server: false
1311 q-ovn-metadata-agent: false
1312 # Enable Neutron services that are not used by OVN
1313 q-agt: true
1314 q-dhcp: true
1315 q-l3: true
1316 q-meta: true
1317 q-metering: true
1318 br-ex-tcpdump: true
1319 br-int-flows: true
1320 base: false
1321 key: true
1322 mysql: true
1323 rabbit: true
1324 g-api: true
1325 g-reg: true
1326 n-api: true
1327 n-cond: true
1328 n-cpu: true
1329 n-crt: true
1330 n-sch: true
1331 placement-api: true
1332 n-api-meta: true
1333 q-svc: true
1334 quantum: true
1335 taas: true
1336 taas_openvswitch_agent: true
1337 tempest: true
1338 dstat: true
yatinkarel007c22f2021-12-10 15:15:45 +05301339 irrelevant-files:
elajkat4abd0682021-08-06 16:05:23 +02001340 - ^(test-|)requirements.txt$
yatinkarel007c22f2021-12-10 15:15:45 +05301341 - lower-constraints.txt
elajkat4abd0682021-08-06 16:05:23 +02001342 - ^releasenotes/.*$
1343 - ^doc/.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301344 - ^.*\.conf\.sample$
1345 - ^setup.cfg$
elajkat4abd0682021-08-06 16:05:23 +02001346 - ^.*\.rst$
yatinkarel007c22f2021-12-10 15:15:45 +05301347 - ^neutron/locale/.*$
1348 - ^neutron/tests/unit/.*$
1349 - ^neutron/tests/fullstack/.*
1350 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301351 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301352 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|vpnaas).*$
1353 - ^neutron_tempest_plugin/services/bgp/.*$
elajkat4abd0682021-08-06 16:05:23 +02001354 - ^tools/.*$
1355 - ^tox.ini$
yatinkarel007c22f2021-12-10 15:15:45 +05301356 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301357 - ^roles/.*functional.*$
1358 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301359 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301360 - ^zuul.d/(?!(project)).*\.yaml