blob: 7bb7149c061568c329a0c783acaab87962ae553d [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:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100221 devstack_services:
222 # Disable OVN services
223 br-ex-tcpdump: false
224 br-int-flows: false
225 ovn-controller: false
226 ovn-northd: false
227 ovs-vswitchd: false
228 ovsdb-server: false
229 q-ovn-metadata-agent: false
230 # Neutron services
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300231 neutron-local-ip-static: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100232 q-agt: true
233 q-dhcp: true
234 q-l3: true
235 q-meta: true
236 q-metering: true
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300237 network_api_extensions_openvswitch:
238 - local_ip
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200239 - qos-bw-minimum-ingress
240 network_available_features: &available_features
241 - ipv6_metadata
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200242 devstack_localrc:
243 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100244 Q_ML2_TENANT_NETWORK_TYPE: vxlan
245 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200246 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_openvswitch) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200247 devstack_local_conf:
248 post-config:
249 $NEUTRON_CONF:
250 DEFAULT:
251 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200252 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200253 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
254 # devstack-tempest job will be switched to use lib/neutron instead of
255 # lib/neutron-legacy
256 /$NEUTRON_CORE_PLUGIN_CONF:
257 agent:
258 tunnel_types: vxlan,gre
259 ovs:
260 tunnel_bridge: br-tun
261 bridge_mappings: public:br-ex
Rodolfo Alonso Hernandez68596be2022-05-03 14:51:54 +0000262 openflow_processed_per_port: True
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200263 test-config:
264 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100265 network-feature-enabled:
266 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200267 neutron_plugin_options:
268 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600269 firewall_driver: openvswitch
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100270 irrelevant-files: &openvswitch-scenario-irrelevant-files
271 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530272 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100273 - ^releasenotes/.*$
274 - ^doc/.*$
275 - ^setup.cfg$
276 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530277 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100278 - ^neutron/locale/.*$
279 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530280 - ^neutron/tests/fullstack/.*
281 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100282 - ^tools/.*$
283 - ^tox.ini$
284 - ^neutron/agent/ovn/.*$
285 - ^neutron/agent/windows/.*$
286 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
287 - ^neutron/plugins/ml2/drivers/macvtap/.*$
288 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
289 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530290 - ^neutron/services/ovn_l3/.*$
291 - ^neutron/services/logapi/drivers/ovn/.*$
292 - ^neutron/services/portforwarding/drivers/ovn/.*$
293 - ^neutron/services/qos/drivers/linuxbridge/.*$
294 - ^neutron/services/qos/drivers/ovn/.*$
295 - ^neutron/services/trunk/drivers/linuxbridge/.*$
296 - ^neutron/services/trunk/drivers/ovn/.*$
297 - ^neutron/cmd/ovn/.*$
298 - ^neutron/common/ovn/.*$
299 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530300 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
301 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530302 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530303 - ^roles/.*functional.*$
304 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530305 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530306 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200307
308- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200309 name: neutron-tempest-plugin-openvswitch-iptables_hybrid
310 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200311 timeout: 10000
312 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100313 devstack_services:
314 # Disable OVN services
315 br-ex-tcpdump: false
316 br-int-flows: false
317 ovn-controller: false
318 ovn-northd: false
319 ovs-vswitchd: false
320 ovsdb-server: false
321 q-ovn-metadata-agent: false
322 # Neutron services
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300323 neutron-local-ip: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100324 q-agt: true
325 q-dhcp: true
326 q-l3: true
327 q-meta: true
328 q-metering: true
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300329 network_api_extensions_openvswitch:
330 - local_ip
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200331 - logging
elajkat8bbd7432020-11-04 16:41:34 +0100332 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200333 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
334 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
Alex Katzbd2bfd42021-05-26 18:12:36 +0300335 # TODO(akatz): remove established tcp session verification test when the
336 # bug https://bugzilla.redhat.com/show_bug.cgi?id=1965036 will be fixed
337 tempest_exclude_regex: "\
338 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
339 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200340 devstack_localrc:
341 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100342 Q_ML2_TENANT_NETWORK_TYPE: vxlan
343 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200344 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_openvswitch) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200345 devstack_local_conf:
346 post-config:
347 $NEUTRON_CONF:
348 DEFAULT:
349 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200350 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200351 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
352 # devstack-tempest job will be switched to use lib/neutron instead of
353 # lib/neutron-legacy
354 /$NEUTRON_CORE_PLUGIN_CONF:
355 agent:
356 tunnel_types: vxlan,gre
357 ovs:
358 tunnel_bridge: br-tun
359 bridge_mappings: public:br-ex
360 securitygroup:
361 firewall_driver: iptables_hybrid
362 test-config:
363 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100364 network-feature-enabled:
365 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200366 neutron_plugin_options:
367 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600368 firewall_driver: iptables_hybrid
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100369 irrelevant-files:
370 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530371 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100372 - ^releasenotes/.*$
373 - ^doc/.*$
374 - ^setup.cfg$
375 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530376 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100377 - ^neutron/locale/.*$
378 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530379 - ^neutron/tests/fullstack/.*
380 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100381 - ^tools/.*$
382 - ^tox.ini$
383 - ^neutron/agent/linux/openvswitch_firewall/.*$
384 - ^neutron/agent/ovn/.*$
385 - ^neutron/agent/windows/.*$
386 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
387 - ^neutron/plugins/ml2/drivers/macvtap/.*$
388 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
389 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530390 - ^neutron/services/ovn_l3/.*$
391 - ^neutron/services/logapi/drivers/ovn/.*$
392 - ^neutron/services/portforwarding/drivers/ovn/.*$
393 - ^neutron/services/qos/drivers/linuxbridge/.*$
394 - ^neutron/services/qos/drivers/ovn/.*$
395 - ^neutron/services/trunk/drivers/linuxbridge/.*$
396 - ^neutron/services/trunk/drivers/ovn/.*$
397 - ^neutron/cmd/ovn/.*$
398 - ^neutron/common/ovn/.*$
399 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530400 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
401 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530402 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530403 - ^roles/.*functional.*$
404 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530405 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530406 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200407
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200408# TODO(slaweq): remove that job's definition as soon as new job
409# "neutron-tempest-plugin-openvswitch-iptables_hybrid" will be used in the
410# neutron repo as a parent for a
411# "neutron-ovs-tempest-plugin-scenario-iptables_hybrid-nftables" job
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200412- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200413 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
414 parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
415
416- job:
417 name: neutron-tempest-plugin-openvswitch-distributed-dhcp
418 parent: neutron-tempest-plugin-openvswitch
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200419 timeout: 10000
420 vars:
421 # NOTE: DHCP extra options and dns services aren't supported with
422 # distributed DHCP L2 agent extension
423 tempest_exclude_regex: "\
424 (^neutron_tempest_plugin.scenario.test_dhcp.DHCPTest.test_extra_dhcp_opts)|\
425 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
426 devstack_services:
427 q-dhcp: false
428 q-distributed-dhcp: true
429
430- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200431 name: neutron-tempest-plugin-openvswitch-iptables_hybrid-distributed-dhcp
432 parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200433 timeout: 10000
434 vars:
435 # NOTE: DHCP extra options and dns services aren't supported with
436 # distributed DHCP L2 agent extension
437 tempest_exclude_regex: "\
438 (^neutron_tempest_plugin.scenario.test_dhcp.DHCPTest.test_extra_dhcp_opts)|\
439 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
440 devstack_services:
441 q-dhcp: false
442 q-distributed-dhcp: true
443
444- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200445 name: neutron-tempest-plugin-linuxbridge
446 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200447 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200448 roles:
449 - zuul: openstack/neutron
450 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200451 vars:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100452 devstack_services:
453 # Disable OVN services
454 br-ex-tcpdump: false
455 br-int-flows: false
456 ovn-controller: false
457 ovn-northd: false
458 ovs-vswitchd: false
459 ovsdb-server: false
460 q-ovn-metadata-agent: false
461 # Neutron services
462 q-agt: true
463 q-dhcp: true
464 q-l3: true
465 q-meta: true
466 q-metering: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200467 # SG logging isn't supported by linuxbridge backend
468 neutron-log: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100469 network_api_extensions_linuxbridge:
470 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100471 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100472 # TODO(eolivare): remove VLAN Transparency tests from blacklist
473 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
Slawek Kaplonskicc63c422021-07-21 10:20:18 +0200474 # TODO(slaweq): remove
475 # test_established_tcp_session_after_re_attachinging_sg from the
476 # exclude regex when bug https://bugs.launchpad.net/neutron/+bug/1936911
477 # will be fixed
Slawek Kaplonski3fe3a902022-04-13 09:46:24 +0200478 # TODO(slaweq) remove test_floatingip_port_details from the exclude
479 # regex when bug https://bugs.launchpad.net/neutron/+bug/1799790 will be
480 # fixed
Slawek Kaplonskicc63c422021-07-21 10:20:18 +0200481 tempest_exclude_regex: "\
482 (^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)|\
Slawek Kaplonski3fe3a902022-04-13 09:46:24 +0200483 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)|\
484 (^neutron_tempest_plugin.scenario.test_floatingip.FloatingIPPortDetailsTest.test_floatingip_port_details)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200485 devstack_localrc:
486 Q_AGENT: linuxbridge
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200487 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100488 Q_ML2_TENANT_NETWORK_TYPE: vxlan
489 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200490 devstack_local_conf:
491 post-config:
492 $NEUTRON_CONF:
493 DEFAULT:
494 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100495 vlan_transparent: true
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200496 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200497 AGENT:
498 debug_iptables_rules: true
499 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
500 # devstack-tempest job will be switched to use lib/neutron instead of
501 # lib/neutron-legacy
502 /$NEUTRON_CORE_PLUGIN_CONF:
503 ml2:
504 type_drivers: flat,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100505 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200506 test-config:
507 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100508 network-feature-enabled:
509 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200510 neutron_plugin_options:
511 available_type_drivers: flat,vlan,local,vxlan
512 q_agent: linuxbridge
Hang Yange6e0ccf2021-02-26 15:07:05 -0600513 firewall_driver: iptables
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100514 irrelevant-files:
515 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530516 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100517 - ^releasenotes/.*$
518 - ^doc/.*$
519 - ^setup.cfg$
520 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530521 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100522 - ^neutron/locale/.*$
523 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530524 - ^neutron/tests/fullstack/.*
525 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100526 - ^tools/.*$
527 - ^tox.ini$
528 - ^neutron/agent/linux/openvswitch_firewall/.*$
529 - ^neutron/agent/ovn/.*$
530 - ^neutron/agent/windows/.*$
531 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
532 - ^neutron/plugins/ml2/drivers/macvtap/.*$
533 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
534 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530535 - ^neutron/services/ovn_l3/.*$
536 - ^neutron/services/logapi/drivers/openvswitch/.*$
537 - ^neutron/services/logapi/drivers/ovn/.*$
538 - ^neutron/services/portforwarding/drivers/ovn/.*$
539 - ^neutron/services/qos/drivers/openvswitch/.*$
540 - ^neutron/services/qos/drivers/ovn/.*$
541 - ^neutron/services/trunk/drivers/openvswitch/.*$
542 - ^neutron/services/trunk/drivers/ovn/.*$
543 - ^neutron/cmd/ovn/.*$
544 - ^neutron/common/ovn/.*$
545 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530546 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
547 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530548 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530549 - ^roles/.*functional.*$
550 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530551 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530552 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200553
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200554# TODO(slaweq): remove that job's definition as soon as new job
555# "neutron-tempest-plugin-linuxbridge" will be used in the neutron repo as
556# a parent for a "neutron-linuxbridge-tempest-plugin-scenario-nftables" job
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200557- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200558 name: neutron-tempest-plugin-scenario-linuxbridge
559 parent: neutron-tempest-plugin-linuxbridge
560
561- job:
562 name: neutron-tempest-plugin-ovn
563 parent: neutron-tempest-plugin-base-nested-switch
Rodolfo Alonso Hernandez99acc992021-11-03 08:30:33 +0000564 timeout: 10800
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000565 vars:
Eduardo Olivares088707b2020-12-01 21:13:45 +0100566 network_api_extensions_ovn:
567 - vlan-transparent
Jakub Libosvar20591c52020-10-29 21:01:51 +0100568 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
569 # once east/west fragmentation is supported in core OVN
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600570 tempest_exclude_regex: "\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100571 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000572 devstack_localrc:
573 Q_AGENT: ovn
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200574 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000575 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
576 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
577 Q_ML2_TENANT_NETWORK_TYPE: geneve
578 Q_USE_PROVIDERNET_FOR_PUBLIC: true
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200579 # NOTE(slaweq): In the job with OVN backend we can't use Ubuntu minimal
580 # image because kernel in that image don't supports MULTICAST traffic
581 # thus multicast scenario test with IGMP snooping enabled would fail
582 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
583 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
584 ADVANCED_INSTANCE_TYPE: ntp_image_384M
585 ADVANCED_INSTANCE_USER: ubuntu
586 CUSTOMIZE_IMAGE: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000587 ENABLE_CHASSIS_AS_GW: true
588 OVN_L3_CREATE_PUBLIC_NETWORK: true
589 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000590 ENABLE_TLS: True
591 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100592 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
593 # is included in an ovn released version
594 OVN_BUILD_FROM_SOURCE: True
Daniel Alvarez Sanchez19b0b992021-07-14 11:21:56 +0200595 OVN_BRANCH: "v21.06.0"
Rodolfo Alonso Hernandez93f1e9b2022-03-20 06:47:39 +0000596 OVS_BRANCH: "a4b04276ab5934d087669ff2d191a23931335c87"
Slawek Kaplonski862cbeb2021-03-20 10:05:26 +0100597 OVS_SYSCONFDIR: "/usr/local/etc/openvswitch"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000598 devstack_services:
599 br-ex-tcpdump: true
600 br-int-flows: true
601 q-ovn-metadata-agent: true
602 ovn-controller: true
603 ovn-northd: true
604 ovs-vswitchd: true
605 ovsdb-server: true
606 q-agt: false
607 q-dhcp: false
608 q-l3: false
609 q-meta: false
610 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100611 q-qos: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100612 # Cinder services
613 c-api: false
614 c-bak: false
615 c-sch: false
616 c-vol: false
617 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000618 s-account: false
619 s-container-sync: false
620 s-container: false
621 s-object: false
622 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000623 devstack_local_conf:
624 post-config:
625 $NEUTRON_CONF:
626 DEFAULT:
627 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100628 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000629 /$NEUTRON_CORE_PLUGIN_CONF:
630 ml2:
631 type_drivers: local,flat,vlan,geneve
632 test-config:
633 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100634 network-feature-enabled:
635 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000636 neutron_plugin_options:
637 available_type_drivers: local,flat,vlan,geneve
638 is_igmp_snooping_enabled: True
Hang Yange6e0ccf2021-02-26 15:07:05 -0600639 firewall_driver: ovn
Jakub Libosvar08f3c612021-02-07 15:50:23 +0100640 zuul_copy_output:
641 '{{ devstack_base_dir }}/data/ovs': 'logs'
642 '{{ devstack_base_dir }}/data/ovn': 'logs'
643 '{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
644 '{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200645 '/var/log/ovn': 'logs'
646 '/var/log/openvswitch': 'logs'
647 '/var/lib/ovn': 'logs'
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100648 irrelevant-files:
649 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530650 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100651 - ^releasenotes/.*$
652 - ^doc/.*$
653 - ^setup.cfg$
654 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530655 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100656 - ^neutron/locale/.*$
657 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530658 - ^neutron/tests/fullstack/.*
659 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100660 - ^tools/.*$
661 - ^tox.ini$
662 - ^neutron/agent/dhcp/.*$
663 - ^neutron/agent/l2/.*$
664 - ^neutron/agent/l3/.*$
665 - ^neutron/agent/metadata/.*$
666 - ^neutron/agent/windows/.*$
667 - ^neutron/agent/dhcp_agent.py
668 - ^neutron/agent/l3_agent.py
669 - ^neutron/agent/metadata_agent.py
670 - ^neutron/agent/resource_cache.py
671 - ^neutron/agent/rpc.py
672 - ^neutron/agent/securitygroup_rpc.py
673 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
674 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
675 - ^neutron/plugins/ml2/drivers/macvtap/.*$
676 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530677 - ^neutron/services/qos/drivers/linuxbridge/.*$
678 - ^neutron/services/qos/drivers/openvswitch/.*$
679 - ^neutron/services/trunk/drivers/linuxbridge/.*$
680 - ^neutron/services/trunk/drivers/openvswitch/.*$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100681 - ^neutron/scheduler/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530682 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530683 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
684 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530685 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530686 - ^roles/.*functional.*$
687 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530688 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530689 - ^zuul.d/(?!(project)).*\.yaml
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000690
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200691# TODO(slaweq): remove that job's definition as soon as new job
692# "neutron-tempest-plugin-ovn" will be used in the neutron-lib repo as
693# instead of old "neutron-tempest-plugin-api" job
694- job:
695 name: neutron-tempest-plugin-api
696 parent: neutron-tempest-plugin-ovn
697
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000698- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200699 name: neutron-tempest-plugin-dvr-multinode-scenario
700 parent: tempest-multinode-full
701 description: |
702 Perform setup for Neutron tempest tests in multinode with DVR scenario
703 roles:
704 - zuul: openstack/devstack
705 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200706 - openstack/neutron
707 - openstack/neutron-tempest-plugin
708 - openstack/tempest
709 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
710 voting: false
711 vars:
712 tempest_concurrency: 4
713 tox_envlist: all
714 tempest_test_regex: ^neutron_tempest_plugin\.scenario
715 # NOTE(slaweq): in case of some tests, which requires advanced image,
716 # default test timeout set to 1200 seconds may be not enough if job is
717 # run on slow node
718 tempest_test_timeout: 2400
719 network_api_extensions_common: *api_extensions
720 network_api_extensions_dvr:
721 - dvr
722 devstack_localrc:
723 USE_PYTHON3: true
724 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
725 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200726 CIRROS_VERSION: 0.5.1
yatinkarel165e4092021-12-08 19:19:34 +0530727 DEFAULT_IMAGE_NAME: cirros-0.5.1-x86_64-uec
728 DEFAULT_IMAGE_FILE_NAME: cirros-0.5.1-x86_64-uec.tar.gz
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200729 IMAGE_URLS: https://cloud-images.ubuntu.com/minimal/releases/focal/release/ubuntu-20.04-minimal-cloudimg-amd64.img
730 ADVANCED_IMAGE_NAME: ubuntu-20.04-minimal-cloudimg-amd64
731 ADVANCED_INSTANCE_TYPE: ntp_image_256M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200732 ADVANCED_INSTANCE_USER: ubuntu
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200733 CUSTOMIZE_IMAGE: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200734 BUILD_TIMEOUT: 784
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200735 Q_AGENT: openvswitch
736 Q_ML2_TENANT_NETWORK_TYPE: vxlan
737 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200738 devstack_plugins:
739 neutron: https://opendev.org/openstack/neutron.git
740 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
741 tempest_plugins:
742 - neutron-tempest-plugin
743 devstack_services:
Slawek Kaplonski579b6df2021-06-11 08:47:32 +0200744 tls-proxy: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200745 tempest: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200746 # Disable OVN services
747 br-ex-tcpdump: false
748 br-int-flows: false
749 ovn-controller: false
750 ovn-northd: false
751 ovs-vswitchd: false
752 ovsdb-server: false
753 q-ovn-metadata-agent: false
754 # Neutron services
755 q-agt: true
756 q-dhcp: true
757 q-l3: true
758 q-meta: true
759 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200760 neutron-dns: true
761 neutron-qos: true
762 neutron-segments: true
763 neutron-trunk: true
764 neutron-log: true
765 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100766 # Cinder services
767 c-api: false
768 c-bak: false
769 c-sch: false
770 c-vol: false
771 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100772 # We don't need Swift to be run in the Neutron jobs
773 s-account: false
774 s-container: false
775 s-object: false
776 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200777 devstack_local_conf:
778 post-config:
779 $NEUTRON_CONF:
780 quotas:
781 quota_router: 100
782 quota_floatingip: 500
783 quota_security_group: 100
784 quota_security_group_rule: 1000
785 DEFAULT:
786 router_distributed: True
787 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
788 # devstack-tempest job will be switched to use lib/neutron instead of
789 # lib/neutron-legacy
790 "/$NEUTRON_CORE_PLUGIN_CONF":
791 ml2:
792 type_drivers: flat,geneve,vlan,gre,local,vxlan
793 mechanism_drivers: openvswitch,l2population
794 ml2_type_vlan:
795 network_vlan_ranges: foo:1:10
796 ml2_type_vxlan:
797 vni_ranges: 1:2000
798 ml2_type_gre:
799 tunnel_id_ranges: 1:1000
800 agent:
801 enable_distributed_routing: True
802 l2_population: True
803 tunnel_types: vxlan,gre
804 ovs:
805 tunnel_bridge: br-tun
806 bridge_mappings: public:br-ex
807 $NEUTRON_L3_CONF:
808 DEFAULT:
809 agent_mode: dvr_snat
810 agent:
811 availability_zone: nova
812 $NEUTRON_DHCP_CONF:
813 agent:
814 availability_zone: nova
815 "/etc/neutron/api-paste.ini":
816 "composite:neutronapi_v2_0":
817 use: "call:neutron.auth:pipeline_factory"
818 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
819 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
820 test-config:
821 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100822 network-feature-enabled:
823 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200824 neutron_plugin_options:
825 provider_vlans: foo,
826 agent_availability_zone: nova
827 image_is_advanced: true
828 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
829 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600830 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200831 group-vars:
832 subnode:
833 devstack_services:
Slawek Kaplonski579b6df2021-06-11 08:47:32 +0200834 tls-proxy: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200835 br-ex-tcpdump: false
836 br-int-flows: false
837 # Disable OVN services
838 ovn-controller: false
839 ovn-northd: false
840 ovs-vswitchd: false
841 ovsdb-server: false
842 q-ovn-metadata-agent: false
843 # Neutron services
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200844 q-agt: true
845 q-l3: true
846 q-meta: true
847 neutron-qos: true
848 neutron-trunk: true
849 neutron-log: true
850 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100851 # Cinder services
852 c-bak: false
853 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100854 # We don't need Swift to be run in the Neutron jobs
855 s-account: false
856 s-container: false
857 s-object: false
858 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200859 devstack_localrc:
860 USE_PYTHON3: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200861 Q_AGENT: openvswitch
862 Q_ML2_TENANT_NETWORK_TYPE: vxlan
863 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200864 devstack_local_conf:
865 post-config:
866 $NEUTRON_CONF:
867 DEFAULT:
868 router_distributed: True
869 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
870 # devstack-tempest job will be switched to use lib/neutron instead of
871 # lib/neutron-legacy
872 "/$NEUTRON_CORE_PLUGIN_CONF":
873 agent:
874 enable_distributed_routing: True
875 l2_population: True
876 tunnel_types: vxlan,gre
877 ovs:
878 tunnel_bridge: br-tun
879 bridge_mappings: public:br-ex
880 $NEUTRON_L3_CONF:
881 DEFAULT:
882 agent_mode: dvr_snat
883 agent:
884 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100885 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200886
887- job:
888 name: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200889 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200890 description: Neutron designate integration scenario
891 required-projects:
892 - openstack/designate
893 - openstack/designate-dashboard
894 - openstack/designate-tempest-plugin
895 timeout: 3600
896 vars:
897 network_api_extensions_common: *api_extensions
898 devstack_localrc:
899 DESIGNATE_BACKEND_DRIVER: bind9
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200900 # In this job advanced image is not needed, so it's name should be
901 # empty
902 ADVANCED_IMAGE_NAME: ""
903 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200904 devstack_plugins:
905 designate: https://opendev.org/openstack/designate.git
906 devstack_services:
907 cinder: false
908 designate: true
909 tempest_plugins:
910 - designate-tempest-plugin
911 - neutron-tempest-plugin
912 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100913 irrelevant-files:
914 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530915 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100916 - ^releasenotes/.*$
917 - ^doc/.*$
918 - ^setup.cfg$
919 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530920 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100921 - ^neutron/locale/.*$
922 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530923 - ^neutron/tests/fullstack/.*
924 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100925 - ^tools/.*$
926 - ^tox.ini$
927 - ^neutron/agent/.*$
928 - ^neutron/cmd/.*$
929 - ^neutron/privileged/.*$
930 - ^neutron/plugins/ml2/drivers/.*$
931 - ^neutron/scheduler/.*$
932 - ^neutron/services/(?!externaldns).*$
yatinkarel9d85f292022-01-27 17:26:57 +0530933 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530934 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
935 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530936 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530937 - ^roles/.*functional.*$
938 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530939 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530940 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200941
942- job:
943 name: neutron-tempest-plugin-sfc
944 parent: neutron-tempest-plugin-base
945 timeout: 10800
946 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200947 - openstack/networking-sfc
948 - openstack/neutron
949 - openstack/neutron-tempest-plugin
950 - openstack/tempest
951 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200952 devstack_services:
953 # Disable OVN services
954 br-ex-tcpdump: false
955 br-int-flows: false
956 ovn-controller: false
957 ovn-northd: false
958 ovs-vswitchd: false
959 ovsdb-server: false
960 q-ovn-metadata-agent: false
961 # Enable Neutron services that are not used by OVN
962 q-agt: true
963 q-dhcp: true
964 q-l3: true
965 q-meta: true
966 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200967 tempest_test_regex: ^neutron_tempest_plugin\.sfc
968 devstack_plugins:
969 networking-sfc: https://opendev.org/openstack/networking-sfc
970 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
971 network_api_extensions_sfc:
972 - flow_classifier
973 - sfc
974 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200975 Q_AGENT: openvswitch
976 Q_ML2_TENANT_NETWORK_TYPE: vxlan
977 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200978 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
979 # TODO(bcafarel): tests still fail from time to time in parallel
980 # https://bugs.launchpad.net/neutron/+bug/1851500
981 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
982 tempest_concurrency: 1
yatinkarel007c22f2021-12-10 15:15:45 +0530983 irrelevant-files:
984 - ^(test-|)requirements.txt$
985 - lower-constraints.txt
986 - ^releasenotes/.*$
987 - ^doc/.*$
988 - ^.*\.conf\.sample$
989 - ^setup.cfg$
990 - ^.*\.rst$
991 - ^neutron/locale/.*$
992 - ^neutron/tests/unit/.*$
993 - ^neutron/tests/fullstack/.*
994 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +0530995 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530996 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|tap_as_a_service|vpnaas).*$
997 - ^neutron_tempest_plugin/services/bgp/.*$
998 - ^tools/.*$
999 - ^tox.ini$
1000 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301001 - ^roles/.*functional.*$
1002 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301003 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301004 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001005
1006- job:
1007 name: neutron-tempest-plugin-bgpvpn-bagpipe
1008 parent: neutron-tempest-plugin-base
1009 required-projects:
1010 - openstack/networking-bagpipe
1011 - openstack/networking-bgpvpn
1012 vars:
elajkat3d7420a2021-05-12 11:28:40 +02001013 devstack_services:
1014 # Disable OVN services
1015 br-ex-tcpdump: false
1016 br-int-flows: false
1017 ovn-controller: false
1018 ovn-northd: false
1019 ovs-vswitchd: false
1020 ovsdb-server: false
1021 q-ovn-metadata-agent: false
1022 # Enable Neutron services that are not used by OVN
1023 q-agt: true
1024 q-dhcp: true
1025 q-l3: true
1026 q-meta: true
1027 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001028 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001029 network_api_extensions_bgpvpn:
1030 - bgpvpn
1031 - bgpvpn-routes-control
1032 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +02001033 Q_AGENT: openvswitch
1034 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1035 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001036 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
1037 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
1038 BAGPIPE_BGP_PEERS: "-"
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001039 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgpvpn) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001040 devstack_plugins:
1041 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
1042 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
yatinkarel007c22f2021-12-10 15:15:45 +05301043 irrelevant-files:
1044 - ^(test-|)requirements.txt$
1045 - lower-constraints.txt
1046 - ^releasenotes/.*$
1047 - ^doc/.*$
1048 - ^.*\.conf\.sample$
1049 - ^setup.cfg$
1050 - ^.*\.rst$
1051 - ^neutron/locale/.*$
1052 - ^neutron/tests/unit/.*$
1053 - ^neutron/tests/fullstack/.*
1054 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301055 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301056 - ^neutron_tempest_plugin/(fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
1057 - ^neutron_tempest_plugin/services/bgp/.*$
1058 - ^tools/.*$
1059 - ^tox.ini$
1060 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301061 - ^roles/.*functional.*$
1062 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301063 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301064 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001065
1066- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001067 name: neutron-tempest-plugin-dynamic-routing
1068 parent: neutron-tempest-plugin-base
1069 description: |
1070 Perform setup common to all Neutron dynamic routing tempest tests
1071 required-projects:
1072 - openstack/neutron
1073 - openstack/neutron-dynamic-routing
1074 - openstack/os-ken
1075 - openstack/tempest
1076 pre-run: playbooks/dynamic-routing-pre-run.yaml
1077 vars:
1078 devstack_plugins:
1079 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
1080 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001081 network_api_extensions_bgp:
1082 - bgp
1083 - bgp_dragent_scheduler
1084 - bgp_4byte_asn
1085 devstack_localrc:
1086 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +01001087 Q_AGENT: openvswitch
1088 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1089 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001090 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +01001091 # Disable OVN services
1092 br-ex-tcpdump: false
1093 br-int-flows: false
1094 ovn-controller: false
1095 ovn-northd: false
1096 ovs-vswitchd: false
1097 ovsdb-server: false
1098 q-ovn-metadata-agent: false
1099 # Neutron services
1100 q-agt: true
1101 q-dhcp: true
1102 q-meta: true
1103 q-metering: true
1104 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001105 neutron-dr: true
1106 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001107 tempest_concurrency: 1
1108 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
yatinkarel007c22f2021-12-10 15:15:45 +05301109 irrelevant-files:
1110 - ^(test-|)requirements.txt$
1111 - lower-constraints.txt
1112 - ^releasenotes/.*$
1113 - ^doc/.*$
1114 - ^.*\.conf\.sample$
1115 - ^setup.cfg$
1116 - ^.*\.rst$
1117 - ^neutron/locale/.*$
1118 - ^neutron/tests/unit/.*$
1119 - ^neutron/tests/fullstack/.*
1120 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301121 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301122 - ^neutron_tempest_plugin/(bgpvpn|fwaas|sfc|tap_as_a_service|vpnaas).*$
1123 - ^tools/.*$
1124 - ^tox.ini$
1125 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301126 - ^roles/.*functional.*$
1127 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301128 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301129 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001130
1131- job:
zhouhenglc446cc592022-02-09 10:19:06 +08001132 name: neutron-tempest-plugin-fwaas
1133 parent: neutron-tempest-plugin-base
1134 timeout: 10800
1135 required-projects:
1136 - openstack/devstack-gate
1137 - openstack/neutron-fwaas
1138 - openstack/neutron
1139 - openstack/neutron-tempest-plugin
1140 - openstack/tempest
1141 vars:
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001142 tempest_concurrency: 4
zhouhenglc446cc592022-02-09 10:19:06 +08001143 tempest_test_regex: ^neutron_tempest_plugin\.fwaas
1144 devstack_plugins:
1145 neutron-fwaas: https://opendev.org/openstack/neutron-fwaas.git
1146 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
zhouhenglc446cc592022-02-09 10:19:06 +08001147 network_api_extensions_fwaas:
1148 - fwaas_v2
1149 devstack_localrc:
1150 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_fwaas) | join(',') }}"
1151 Q_AGENT: openvswitch
1152 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1153 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1154 devstack_services:
1155 # Disable OVN services
1156 br-ex-tcpdump: false
1157 br-int-flows: false
1158 ovn-controller: false
1159 ovn-northd: false
1160 q-ovn-metadata-agent: false
1161 # Neutron services
1162 q-agt: true
1163 q-dhcp: true
1164 q-meta: true
1165 q-metering: true
1166 q-l3: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001167 neutron-log: false
yatinkarel91821d22022-05-19 11:11:50 +05301168 irrelevant-files:
1169 - ^(test-|)requirements.txt$
1170 - ^releasenotes/.*$
1171 - ^doc/.*$
1172 - ^.*\.conf\.sample$
1173 - ^setup.cfg$
1174 - ^.*\.rst$
1175 - ^neutron/locale/.*$
1176 - ^neutron/tests/unit/.*$
1177 - ^neutron/tests/fullstack/.*
1178 - ^neutron/tests/functional/.*
1179 - ^neutron_tempest_plugin/api/test_.*$
1180 - ^neutron_tempest_plugin/(bgpvpn|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
1181 - ^neutron_tempest_plugin/services/bgp/.*$
1182 - ^tools/.*$
1183 - ^tox.ini$
1184 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301185 - ^roles/.*functional.*$
1186 - ^playbooks/.*functional.*$
yatinkarel91821d22022-05-19 11:11:50 +05301187 - ^vagrant/.*$
1188 - ^zuul.d/(?!(project)).*\.yaml
zhouhenglc446cc592022-02-09 10:19:06 +08001189
1190- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001191 name: neutron-tempest-plugin-vpnaas
1192 parent: neutron-tempest-plugin-base
1193 timeout: 3900
1194 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001195 - openstack/neutron
1196 - openstack/neutron-vpnaas
1197 - openstack/neutron-tempest-plugin
1198 - openstack/tempest
1199 vars:
1200 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
1201 devstack_plugins:
1202 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
1203 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
1204 network_api_extensions_common: *api_extensions
1205 network_api_extensions_vpnaas:
1206 - vpnaas
1207 devstack_localrc:
1208 IPSEC_PACKAGE: strongswan
1209 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"
elajkat3a98dae2021-09-17 17:25:27 +02001210 Q_AGENT: openvswitch
1211 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1212 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1213 devstack_services:
1214 # Disable OVN services
1215 br-ex-tcpdump: false
1216 br-int-flows: false
1217 ovn-controller: false
1218 ovn-northd: false
1219 ovs-vswitchd: false
1220 ovsdb-server: false
1221 q-ovn-metadata-agent: false
1222 # Neutron services
1223 q-agt: true
1224 q-dhcp: true
1225 q-meta: true
1226 q-metering: true
1227 q-l3: true
yatinkarel007c22f2021-12-10 15:15:45 +05301228 irrelevant-files:
1229 - ^(test-|)requirements.txt$
1230 - lower-constraints.txt
1231 - ^releasenotes/.*$
1232 - ^doc/.*$
1233 - ^.*\.conf\.sample$
1234 - ^setup.cfg$
1235 - ^.*\.rst$
1236 - ^neutron/locale/.*$
1237 - ^neutron/tests/unit/.*$
1238 - ^neutron/tests/fullstack/.*
1239 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301240 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301241 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service).*$
1242 - ^neutron_tempest_plugin/services/bgp/.*$
1243 - ^tools/.*$
1244 - ^tox.ini$
1245 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301246 - ^roles/.*functional.*$
1247 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301248 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301249 - ^zuul.d/(?!(project)).*\.yaml
elajkat4abd0682021-08-06 16:05:23 +02001250
1251- job:
1252 name: neutron-tempest-plugin-tap-as-a-service
1253 parent: neutron-tempest-plugin-base
1254 description: |
1255 Perform setup common to all tap-as-a-service tempest tests
1256 roles:
1257 - zuul: openstack/devstack
1258 required-projects:
1259 - openstack/devstack-gate
1260 - openstack/neutron
1261 - openstack/neutron-tempest-plugin
1262 - openstack/tap-as-a-service
1263 - openstack/tempest
1264 vars:
1265 tempest_test_regex: ^neutron_tempest_plugin\.tap_as_a_service
1266 tox_envlist: all
elajkat4abd0682021-08-06 16:05:23 +02001267 network_api_extensions_tempest:
1268 - taas
1269 - taas-vlan-filter
1270 devstack_localrc:
1271 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
elajkat1f275e42021-10-15 12:47:55 +02001272 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
1273 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
1274 ADVANCED_INSTANCE_TYPE: ntp_image_384M
1275 ADVANCED_INSTANCE_USER: ubuntu
1276 CUSTOMIZE_IMAGE: false
elajkat4abd0682021-08-06 16:05:23 +02001277 BUILD_TIMEOUT: 784
1278 Q_AGENT: openvswitch
elajkat1f275e42021-10-15 12:47:55 +02001279 Q_ML2_TENANT_NETWORK_TYPE: vxlan,vlan
elajkat4abd0682021-08-06 16:05:23 +02001280 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1281 devstack_local_conf:
1282 post-config:
1283 /$NEUTRON_CORE_PLUGIN_CONF:
1284 AGENT:
elajkat1f275e42021-10-15 12:47:55 +02001285 tunnel_types: vxlan
1286 ml2_type_vlan:
1287 network_vlan_ranges: public
elajkat4abd0682021-08-06 16:05:23 +02001288 test-config:
1289 $TEMPEST_CONFIG:
elajkat1f275e42021-10-15 12:47:55 +02001290 neutron_plugin_options:
1291 image_is_advanced: true
1292 advanced_image_flavor_ref: d1
1293 taas:
elajkat4abd0682021-08-06 16:05:23 +02001294 provider_physical_network: public
1295 provider_segmentation_id: 100
1296 image_feature_enabled:
1297 api_v2: true
1298 devstack_plugins:
1299 neutron: git://opendev.org/openstack/neutron.git
1300 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
1301 tap-as-a-service: git://opendev.org/openstack/tap-as-a-service.git
1302 devstack_services:
1303 # Disable OVN services
1304 ovn-controller: false
1305 ovn-northd: false
1306 ovs-vswitchd: false
1307 ovsdb-server: false
1308 q-ovn-metadata-agent: false
1309 # Enable Neutron services that are not used by OVN
1310 q-agt: true
1311 q-dhcp: true
1312 q-l3: true
1313 q-meta: true
1314 q-metering: true
1315 br-ex-tcpdump: true
1316 br-int-flows: true
1317 base: false
1318 key: true
1319 mysql: true
1320 rabbit: true
1321 g-api: true
1322 g-reg: true
1323 n-api: true
1324 n-cond: true
1325 n-cpu: true
1326 n-crt: true
1327 n-sch: true
1328 placement-api: true
1329 n-api-meta: true
1330 q-svc: true
1331 quantum: true
1332 taas: true
1333 taas_openvswitch_agent: true
1334 tempest: true
1335 dstat: true
yatinkarel007c22f2021-12-10 15:15:45 +05301336 irrelevant-files:
elajkat4abd0682021-08-06 16:05:23 +02001337 - ^(test-|)requirements.txt$
yatinkarel007c22f2021-12-10 15:15:45 +05301338 - lower-constraints.txt
elajkat4abd0682021-08-06 16:05:23 +02001339 - ^releasenotes/.*$
1340 - ^doc/.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301341 - ^.*\.conf\.sample$
1342 - ^setup.cfg$
elajkat4abd0682021-08-06 16:05:23 +02001343 - ^.*\.rst$
yatinkarel007c22f2021-12-10 15:15:45 +05301344 - ^neutron/locale/.*$
1345 - ^neutron/tests/unit/.*$
1346 - ^neutron/tests/fullstack/.*
1347 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301348 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301349 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|vpnaas).*$
1350 - ^neutron_tempest_plugin/services/bgp/.*$
elajkat4abd0682021-08-06 16:05:23 +02001351 - ^tools/.*$
1352 - ^tox.ini$
yatinkarel007c22f2021-12-10 15:15:45 +05301353 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301354 - ^roles/.*functional.*$
1355 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301356 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301357 - ^zuul.d/(?!(project)).*\.yaml