blob: 7cd507927909454edf1bc12b87494d40a101cf78 [file] [log] [blame]
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +02002 name: neutron-tempest-plugin-base
3 parent: devstack-tempest
4 abstract: true
5 description: |
6 Perform setup common to all Neutron tempest tests
7 roles:
8 - zuul: openstack/devstack
9 required-projects:
10 - openstack/neutron
11 - openstack/neutron-tempest-plugin
12 - openstack/tempest
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020013 vars:
Slawek Kaplonski8988a012022-04-07 10:50:44 +020014 tempest_concurrency: 3 # out of 4
15 tox_envlist: all
16 # NOTE(slaweq): in case of some tests, which requires advanced image,
17 # default test timeout set to 1200 seconds may be not enough if job is
18 # run on slow node
19 tempest_test_timeout: 2400
20 tempest_test_regex: "\
21 (^neutron_tempest_plugin.api)|\
22 (^neutron_tempest_plugin.scenario)|\
23 (^tempest.api.compute.servers.test_attach_interfaces)|\
24 (^tempest.api.compute.servers.test_multiple_create)"
25 devstack_localrc:
26 USE_PYTHON3: true
27 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
28 PHYSICAL_NETWORK: public
29 IMAGE_URLS: https://cloud-images.ubuntu.com/minimal/releases/focal/release/ubuntu-20.04-minimal-cloudimg-amd64.img
30 CIRROS_VERSION: 0.5.1
31 DEFAULT_IMAGE_NAME: cirros-0.5.1-x86_64-uec
32 DEFAULT_IMAGE_FILE_NAME: cirros-0.5.1-x86_64-uec.tar.gz
33 ADVANCED_IMAGE_NAME: ubuntu-20.04-minimal-cloudimg-amd64
34 ADVANCED_INSTANCE_TYPE: ntp_image_256M
35 ADVANCED_INSTANCE_USER: ubuntu
36 CUSTOMIZE_IMAGE: true
37 BUILD_TIMEOUT: 784
38 # TODO(lucasagomes): Re-enable MOD_WSGI after
39 # https://bugs.launchpad.net/neutron/+bug/1912359 is implemented
40 NEUTRON_DEPLOY_MOD_WSGI: false
41 # TODO(ralonsoh): remove OVN_BUILD_FROM_SOURCE once the OS packages
42 # include at least OVN v20.12.0.
43 OVN_BUILD_FROM_SOURCE: True
44 OVN_BRANCH: "v21.03.0"
45 OVS_BRANCH: "8dc1733eaea866dce033b3c44853e1b09bf59fc7"
46 devstack_plugins:
47 neutron: https://opendev.org/openstack/neutron.git
48 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
49 tempest_plugins:
50 - neutron-tempest-plugin
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020051 # TODO(slaweq): find a way to put this list of extensions in
52 # neutron repository and keep it different per branch,
53 # then it could be removed from here
54 network_api_extensions_common: &api_extensions
Miguel Lavalleb1c7a3d2021-01-31 19:05:22 -060055 - address-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020056 - address-scope
57 - agent
58 - allowed-address-pairs
59 - auto-allocated-topology
60 - availability_zone
61 - binding
62 - default-subnetpools
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020063 - dns-domain-ports
64 - dns-integration
Slawek Kaplonski913c3062020-06-08 00:06:54 +020065 - dns-integration-domain-keywords
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020066 - empty-string-filtering
67 - expose-port-forwarding-in-fip
68 - expose-l3-conntrack-helper
69 - ext-gw-mode
70 - external-net
71 - extra_dhcp_opt
72 - extraroute
73 - extraroute-atomic
74 - filter-validation
75 - fip-port-details
76 - flavors
77 - floating-ip-port-forwarding
zhouhenglcbdacaa22022-09-08 08:47:04 +080078 - floating-ip-port-forwarding-detail
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020079 - floatingip-pools
80 - ip-substring-filtering
81 - l3-conntrack-helper
yangjianfeng2936a292022-02-04 11:22:11 +080082 - l3-ext-ndp-proxy
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020083 - l3-flavors
84 - l3-ha
yangjianfeng2936a292022-02-04 11:22:11 +080085 - l3-ndp-proxy
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020086 - l3_agent_scheduler
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020087 - metering
88 - multi-provider
89 - net-mtu
90 - net-mtu-writable
91 - network-ip-availability
92 - network_availability_zone
93 - network-segment-range
94 - pagination
Slawek Kaplonskiada16222021-10-07 11:49:51 +020095 - port-device-profile
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020096 - port-resource-request
elajkat4a1357b2021-08-31 10:16:25 +020097 - port-resource-request-groups
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020098 - port-mac-address-regenerate
99 - port-security
100 - port-security-groups-filtering
101 - project-id
102 - provider
103 - qos
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200104 - qos-fip
105 - quotas
106 - quota_details
Miguel Lavalleb1c7a3d2021-01-31 19:05:22 -0600107 - rbac-address-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200108 - rbac-address-scope
109 - rbac-policies
110 - rbac-security-groups
111 - rbac-subnetpool
112 - router
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200113 - router_availability_zone
114 - security-group
Hang Yange6e0ccf2021-02-26 15:07:05 -0600115 - security-groups-remote-address-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200116 - segment
117 - service-type
118 - sorting
119 - standard-attr-description
120 - standard-attr-revisions
121 - standard-attr-segment
122 - standard-attr-tag
123 - standard-attr-timestamp
Ihar Hrachyshkab0b597f2021-11-04 03:00:42 +0000124 - stateful-security-group
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200125 - subnet_allocation
126 - subnet-dns-publish-fixed-ip
Slawek Kaplonskia5cdede2021-06-23 09:37:04 +0200127 - subnet-service-types
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200128 - subnetpool-prefix-ops
129 - tag-ports-during-bulk-creation
130 - trunk
131 - trunk-details
132 - uplink-status-propagation
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200133 devstack_services:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200134 tempest: true
135 neutron-dns: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200136 neutron-log: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200137 neutron-qos: true
138 neutron-segments: true
139 neutron-trunk: true
140 neutron-uplink-status-propagation: true
141 neutron-network-segment-range: true
142 neutron-port-forwarding: true
143 neutron-conntrack-helper: true
144 neutron-tag-ports-during-bulk-creation: true
yangjianfeng2936a292022-02-04 11:22:11 +0800145 neutron-ndp-proxy: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200146 br-ex-tcpdump: true
147 br-int-flows: true
148 # Cinder services
149 c-api: false
150 c-bak: false
151 c-sch: false
152 c-vol: false
153 cinder: false
154 # We don't need Swift to be run in the Neutron jobs
155 s-account: false
156 s-container: false
157 s-object: false
158 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200159 devstack_local_conf:
160 post-config:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200161 $NEUTRON_CONF:
162 QUOTAS:
163 quota_router: 100
164 quota_floatingip: 500
165 quota_security_group: 150
166 quota_security_group_rule: 1000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200167 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
168 # devstack-tempest job will be switched to use lib/neutron instead of
169 # lib/neutron-legacy
170 /$NEUTRON_CORE_PLUGIN_CONF:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200171 ml2:
172 type_drivers: flat,geneve,vlan,gre,local,vxlan
173 ml2_type_vlan:
174 network_vlan_ranges: foo:1:10
175 ml2_type_vxlan:
176 vni_ranges: 1:2000
177 ml2_type_gre:
178 tunnel_id_ranges: 1:1000
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200179 network_log:
180 local_output_log_base: /tmp/test_log.log
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200181 $NEUTRON_L3_CONF:
182 agent:
183 availability_zone: nova
184 $NEUTRON_DHCP_CONF:
185 agent:
186 availability_zone: nova
187 test-config:
188 $TEMPEST_CONFIG:
189 neutron_plugin_options:
190 provider_vlans: foo,
191 agent_availability_zone: nova
192 image_is_advanced: true
193 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
194 provider_net_base_segm_id: 1
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100195 irrelevant-files:
196 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530197 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100198 - ^releasenotes/.*$
199 - ^doc/.*$
200 - ^setup.cfg$
201 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530202 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100203 - ^neutron/locale/.*$
204 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530205 - ^neutron/tests/fullstack/.*
206 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100207 - ^tools/.*$
208 - ^tox.ini$
209 - ^neutron/agent/.*$
210 - ^neutron/privileged/.*$
Takashi Kajinamia78d12a2021-08-22 13:25:18 +0900211 - ^neutron_lib/tests/unit/.*$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100212 - ^neutron_tempest_plugin/scenario/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530213 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530214 - ^roles/.*functional.*$
215 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530216 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530217 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100218
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200219- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200220 name: neutron-tempest-plugin-openvswitch
221 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200222 timeout: 10000
223 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530224 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100225 devstack_services:
226 # Disable OVN services
227 br-ex-tcpdump: false
228 br-int-flows: false
229 ovn-controller: false
230 ovn-northd: false
231 ovs-vswitchd: false
232 ovsdb-server: false
233 q-ovn-metadata-agent: false
234 # Neutron services
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300235 neutron-local-ip-static: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100236 q-agt: true
237 q-dhcp: true
238 q-l3: true
239 q-meta: true
240 q-metering: true
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300241 network_api_extensions_openvswitch:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200242 - dhcp_agent_scheduler
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300243 - local_ip
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200244 - qos-bw-minimum-ingress
245 network_available_features: &available_features
246 - ipv6_metadata
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200247 devstack_localrc:
248 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100249 Q_ML2_TENANT_NETWORK_TYPE: vxlan
250 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200251 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_openvswitch) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200252 devstack_local_conf:
253 post-config:
254 $NEUTRON_CONF:
255 DEFAULT:
256 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200257 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200258 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
259 # devstack-tempest job will be switched to use lib/neutron instead of
260 # lib/neutron-legacy
261 /$NEUTRON_CORE_PLUGIN_CONF:
262 agent:
263 tunnel_types: vxlan,gre
264 ovs:
265 tunnel_bridge: br-tun
266 bridge_mappings: public:br-ex
Rodolfo Alonso Hernandez68596be2022-05-03 14:51:54 +0000267 openflow_processed_per_port: True
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200268 test-config:
269 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100270 network-feature-enabled:
271 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200272 neutron_plugin_options:
273 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600274 firewall_driver: openvswitch
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100275 irrelevant-files: &openvswitch-scenario-irrelevant-files
276 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530277 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100278 - ^releasenotes/.*$
279 - ^doc/.*$
280 - ^setup.cfg$
281 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530282 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100283 - ^neutron/locale/.*$
284 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530285 - ^neutron/tests/fullstack/.*
286 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100287 - ^tools/.*$
288 - ^tox.ini$
289 - ^neutron/agent/ovn/.*$
290 - ^neutron/agent/windows/.*$
291 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
292 - ^neutron/plugins/ml2/drivers/macvtap/.*$
293 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
294 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530295 - ^neutron/services/ovn_l3/.*$
296 - ^neutron/services/logapi/drivers/ovn/.*$
297 - ^neutron/services/portforwarding/drivers/ovn/.*$
298 - ^neutron/services/qos/drivers/linuxbridge/.*$
299 - ^neutron/services/qos/drivers/ovn/.*$
300 - ^neutron/services/trunk/drivers/linuxbridge/.*$
301 - ^neutron/services/trunk/drivers/ovn/.*$
302 - ^neutron/cmd/ovn/.*$
303 - ^neutron/common/ovn/.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530304 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
305 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530306 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530307 - ^roles/.*functional.*$
308 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530309 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530310 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200311
312- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200313 name: neutron-tempest-plugin-openvswitch-iptables_hybrid
314 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200315 timeout: 10000
316 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530317 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100318 devstack_services:
319 # Disable OVN services
320 br-ex-tcpdump: false
321 br-int-flows: false
322 ovn-controller: false
323 ovn-northd: false
324 ovs-vswitchd: false
325 ovsdb-server: false
326 q-ovn-metadata-agent: false
327 # Neutron services
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300328 neutron-local-ip: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100329 q-agt: true
330 q-dhcp: true
331 q-l3: true
332 q-meta: true
333 q-metering: true
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300334 network_api_extensions_openvswitch:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200335 - dhcp_agent_scheduler
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300336 - local_ip
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200337 - logging
elajkat8bbd7432020-11-04 16:41:34 +0100338 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200339 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
340 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
Alex Katzbd2bfd42021-05-26 18:12:36 +0300341 # TODO(akatz): remove established tcp session verification test when the
342 # bug https://bugzilla.redhat.com/show_bug.cgi?id=1965036 will be fixed
343 tempest_exclude_regex: "\
344 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
345 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200346 devstack_localrc:
347 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100348 Q_ML2_TENANT_NETWORK_TYPE: vxlan
349 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200350 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_openvswitch) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200351 devstack_local_conf:
352 post-config:
353 $NEUTRON_CONF:
354 DEFAULT:
355 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200356 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200357 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
358 # devstack-tempest job will be switched to use lib/neutron instead of
359 # lib/neutron-legacy
360 /$NEUTRON_CORE_PLUGIN_CONF:
361 agent:
362 tunnel_types: vxlan,gre
363 ovs:
364 tunnel_bridge: br-tun
365 bridge_mappings: public:br-ex
366 securitygroup:
367 firewall_driver: iptables_hybrid
368 test-config:
369 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100370 network-feature-enabled:
371 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200372 neutron_plugin_options:
373 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600374 firewall_driver: iptables_hybrid
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100375 irrelevant-files:
376 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530377 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100378 - ^releasenotes/.*$
379 - ^doc/.*$
380 - ^setup.cfg$
381 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530382 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100383 - ^neutron/locale/.*$
384 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530385 - ^neutron/tests/fullstack/.*
386 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100387 - ^tools/.*$
388 - ^tox.ini$
389 - ^neutron/agent/linux/openvswitch_firewall/.*$
390 - ^neutron/agent/ovn/.*$
391 - ^neutron/agent/windows/.*$
392 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
393 - ^neutron/plugins/ml2/drivers/macvtap/.*$
394 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
395 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530396 - ^neutron/services/ovn_l3/.*$
397 - ^neutron/services/logapi/drivers/ovn/.*$
398 - ^neutron/services/portforwarding/drivers/ovn/.*$
399 - ^neutron/services/qos/drivers/linuxbridge/.*$
400 - ^neutron/services/qos/drivers/ovn/.*$
401 - ^neutron/services/trunk/drivers/linuxbridge/.*$
402 - ^neutron/services/trunk/drivers/ovn/.*$
403 - ^neutron/cmd/ovn/.*$
404 - ^neutron/common/ovn/.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530405 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
406 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530407 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530408 - ^roles/.*functional.*$
409 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530410 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530411 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200412
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200413# TODO(slaweq): remove that job's definition as soon as new job
414# "neutron-tempest-plugin-openvswitch-iptables_hybrid" will be used in the
415# neutron repo as a parent for a
416# "neutron-ovs-tempest-plugin-scenario-iptables_hybrid-nftables" job
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200417- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200418 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
419 parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
420
421- job:
422 name: neutron-tempest-plugin-openvswitch-distributed-dhcp
423 parent: neutron-tempest-plugin-openvswitch
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200424 timeout: 10000
425 vars:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200426 network_api_extensions_openvswitch:
427 - local_ip
428 - qos-bw-minimum-ingress
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200429 # NOTE: DHCP extra options and dns services aren't supported with
430 # distributed DHCP L2 agent extension
431 tempest_exclude_regex: "\
432 (^neutron_tempest_plugin.scenario.test_dhcp.DHCPTest.test_extra_dhcp_opts)|\
433 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
434 devstack_services:
435 q-dhcp: false
436 q-distributed-dhcp: true
437
438- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200439 name: neutron-tempest-plugin-openvswitch-iptables_hybrid-distributed-dhcp
440 parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200441 timeout: 10000
442 vars:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200443 network_api_extensions_openvswitch:
444 - local_ip
445 - logging
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200446 # NOTE: DHCP extra options and dns services aren't supported with
447 # distributed DHCP L2 agent extension
448 tempest_exclude_regex: "\
449 (^neutron_tempest_plugin.scenario.test_dhcp.DHCPTest.test_extra_dhcp_opts)|\
450 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
451 devstack_services:
452 q-dhcp: false
453 q-distributed-dhcp: true
454
455- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200456 name: neutron-tempest-plugin-linuxbridge
457 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200458 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200459 roles:
460 - zuul: openstack/neutron
461 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200462 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530463 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100464 devstack_services:
465 # Disable OVN services
466 br-ex-tcpdump: false
467 br-int-flows: false
468 ovn-controller: false
469 ovn-northd: false
470 ovs-vswitchd: false
471 ovsdb-server: false
472 q-ovn-metadata-agent: false
473 # Neutron services
474 q-agt: true
475 q-dhcp: true
476 q-l3: true
477 q-meta: true
478 q-metering: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200479 # SG logging isn't supported by linuxbridge backend
480 neutron-log: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100481 network_api_extensions_linuxbridge:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200482 - dhcp_agent_scheduler
Eduardo Olivares088707b2020-12-01 21:13:45 +0100483 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100484 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100485 # TODO(eolivare): remove VLAN Transparency tests from blacklist
486 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
Slawek Kaplonskicc63c422021-07-21 10:20:18 +0200487 # TODO(slaweq): remove
488 # test_established_tcp_session_after_re_attachinging_sg from the
489 # exclude regex when bug https://bugs.launchpad.net/neutron/+bug/1936911
490 # will be fixed
Slawek Kaplonski3fe3a902022-04-13 09:46:24 +0200491 # TODO(slaweq) remove test_floatingip_port_details from the exclude
492 # regex when bug https://bugs.launchpad.net/neutron/+bug/1799790 will be
493 # fixed
Slawek Kaplonskicc63c422021-07-21 10:20:18 +0200494 tempest_exclude_regex: "\
495 (^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)|\
Slawek Kaplonski3fe3a902022-04-13 09:46:24 +0200496 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)|\
497 (^neutron_tempest_plugin.scenario.test_floatingip.FloatingIPPortDetailsTest.test_floatingip_port_details)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200498 devstack_localrc:
499 Q_AGENT: linuxbridge
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200500 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100501 Q_ML2_TENANT_NETWORK_TYPE: vxlan
502 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200503 devstack_local_conf:
504 post-config:
505 $NEUTRON_CONF:
506 DEFAULT:
507 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100508 vlan_transparent: true
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200509 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200510 AGENT:
511 debug_iptables_rules: true
Miguel Lavalle22173b82022-06-13 17:53:50 -0500512 EXPERIMENTAL:
513 linuxbridge: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200514 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
515 # devstack-tempest job will be switched to use lib/neutron instead of
516 # lib/neutron-legacy
517 /$NEUTRON_CORE_PLUGIN_CONF:
518 ml2:
519 type_drivers: flat,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100520 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200521 test-config:
522 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100523 network-feature-enabled:
524 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200525 neutron_plugin_options:
526 available_type_drivers: flat,vlan,local,vxlan
527 q_agent: linuxbridge
Hang Yange6e0ccf2021-02-26 15:07:05 -0600528 firewall_driver: iptables
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100529 irrelevant-files:
530 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530531 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100532 - ^releasenotes/.*$
533 - ^doc/.*$
534 - ^setup.cfg$
535 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530536 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100537 - ^neutron/locale/.*$
538 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530539 - ^neutron/tests/fullstack/.*
540 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100541 - ^tools/.*$
542 - ^tox.ini$
543 - ^neutron/agent/linux/openvswitch_firewall/.*$
544 - ^neutron/agent/ovn/.*$
545 - ^neutron/agent/windows/.*$
546 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
547 - ^neutron/plugins/ml2/drivers/macvtap/.*$
548 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
549 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530550 - ^neutron/services/ovn_l3/.*$
551 - ^neutron/services/logapi/drivers/openvswitch/.*$
552 - ^neutron/services/logapi/drivers/ovn/.*$
553 - ^neutron/services/portforwarding/drivers/ovn/.*$
554 - ^neutron/services/qos/drivers/openvswitch/.*$
555 - ^neutron/services/qos/drivers/ovn/.*$
556 - ^neutron/services/trunk/drivers/openvswitch/.*$
557 - ^neutron/services/trunk/drivers/ovn/.*$
558 - ^neutron/cmd/ovn/.*$
559 - ^neutron/common/ovn/.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530560 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
561 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530562 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530563 - ^roles/.*functional.*$
564 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530565 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530566 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200567
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200568# TODO(slaweq): remove that job's definition as soon as new job
569# "neutron-tempest-plugin-linuxbridge" will be used in the neutron repo as
570# a parent for a "neutron-linuxbridge-tempest-plugin-scenario-nftables" job
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200571- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200572 name: neutron-tempest-plugin-scenario-linuxbridge
573 parent: neutron-tempest-plugin-linuxbridge
574
575- job:
576 name: neutron-tempest-plugin-ovn
577 parent: neutron-tempest-plugin-base-nested-switch
Rodolfo Alonso Hernandez99acc992021-11-03 08:30:33 +0000578 timeout: 10800
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000579 vars:
Eduardo Olivares088707b2020-12-01 21:13:45 +0100580 network_api_extensions_ovn:
581 - vlan-transparent
Jakub Libosvar20591c52020-10-29 21:01:51 +0100582 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
583 # once east/west fragmentation is supported in core OVN
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600584 tempest_exclude_regex: "\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100585 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000586 devstack_localrc:
587 Q_AGENT: ovn
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200588 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000589 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
590 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
591 Q_ML2_TENANT_NETWORK_TYPE: geneve
592 Q_USE_PROVIDERNET_FOR_PUBLIC: true
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200593 # NOTE(slaweq): In the job with OVN backend we can't use Ubuntu minimal
594 # image because kernel in that image don't supports MULTICAST traffic
595 # thus multicast scenario test with IGMP snooping enabled would fail
596 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
597 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
598 ADVANCED_INSTANCE_TYPE: ntp_image_384M
599 ADVANCED_INSTANCE_USER: ubuntu
600 CUSTOMIZE_IMAGE: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000601 ENABLE_CHASSIS_AS_GW: true
602 OVN_L3_CREATE_PUBLIC_NETWORK: true
603 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000604 ENABLE_TLS: True
605 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100606 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
607 # is included in an ovn released version
608 OVN_BUILD_FROM_SOURCE: True
Daniel Alvarez Sanchez19b0b992021-07-14 11:21:56 +0200609 OVN_BRANCH: "v21.06.0"
Rodolfo Alonso Hernandez93f1e9b2022-03-20 06:47:39 +0000610 OVS_BRANCH: "a4b04276ab5934d087669ff2d191a23931335c87"
Slawek Kaplonski862cbeb2021-03-20 10:05:26 +0100611 OVS_SYSCONFDIR: "/usr/local/etc/openvswitch"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000612 devstack_services:
613 br-ex-tcpdump: true
614 br-int-flows: true
615 q-ovn-metadata-agent: true
616 ovn-controller: true
617 ovn-northd: true
618 ovs-vswitchd: true
619 ovsdb-server: true
620 q-agt: false
621 q-dhcp: false
622 q-l3: false
623 q-meta: false
624 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100625 q-qos: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100626 # Cinder services
627 c-api: false
628 c-bak: false
629 c-sch: false
630 c-vol: false
631 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000632 s-account: false
633 s-container-sync: false
634 s-container: false
635 s-object: false
636 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000637 devstack_local_conf:
638 post-config:
639 $NEUTRON_CONF:
640 DEFAULT:
641 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100642 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000643 /$NEUTRON_CORE_PLUGIN_CONF:
644 ml2:
645 type_drivers: local,flat,vlan,geneve
646 test-config:
647 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100648 network-feature-enabled:
649 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000650 neutron_plugin_options:
651 available_type_drivers: local,flat,vlan,geneve
652 is_igmp_snooping_enabled: True
Hang Yange6e0ccf2021-02-26 15:07:05 -0600653 firewall_driver: ovn
Jakub Libosvar08f3c612021-02-07 15:50:23 +0100654 zuul_copy_output:
655 '{{ devstack_base_dir }}/data/ovs': 'logs'
656 '{{ devstack_base_dir }}/data/ovn': 'logs'
657 '{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
658 '{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200659 '/var/log/ovn': 'logs'
660 '/var/log/openvswitch': 'logs'
661 '/var/lib/ovn': 'logs'
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100662 irrelevant-files:
663 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530664 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100665 - ^releasenotes/.*$
666 - ^doc/.*$
667 - ^setup.cfg$
668 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530669 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100670 - ^neutron/locale/.*$
671 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530672 - ^neutron/tests/fullstack/.*
673 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100674 - ^tools/.*$
675 - ^tox.ini$
676 - ^neutron/agent/dhcp/.*$
677 - ^neutron/agent/l2/.*$
678 - ^neutron/agent/l3/.*$
679 - ^neutron/agent/metadata/.*$
680 - ^neutron/agent/windows/.*$
681 - ^neutron/agent/dhcp_agent.py
682 - ^neutron/agent/l3_agent.py
683 - ^neutron/agent/metadata_agent.py
684 - ^neutron/agent/resource_cache.py
685 - ^neutron/agent/rpc.py
686 - ^neutron/agent/securitygroup_rpc.py
687 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
688 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
689 - ^neutron/plugins/ml2/drivers/macvtap/.*$
690 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530691 - ^neutron/services/qos/drivers/linuxbridge/.*$
692 - ^neutron/services/qos/drivers/openvswitch/.*$
693 - ^neutron/services/trunk/drivers/linuxbridge/.*$
694 - ^neutron/services/trunk/drivers/openvswitch/.*$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100695 - ^neutron/scheduler/.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530696 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
697 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530698 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530699 - ^roles/.*functional.*$
700 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530701 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530702 - ^zuul.d/(?!(project)).*\.yaml
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000703
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200704# TODO(slaweq): remove that job's definition as soon as new job
705# "neutron-tempest-plugin-ovn" will be used in the neutron-lib repo as
706# instead of old "neutron-tempest-plugin-api" job
707- job:
708 name: neutron-tempest-plugin-api
709 parent: neutron-tempest-plugin-ovn
710
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000711- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200712 name: neutron-tempest-plugin-dvr-multinode-scenario
713 parent: tempest-multinode-full
714 description: |
715 Perform setup for Neutron tempest tests in multinode with DVR scenario
716 roles:
717 - zuul: openstack/devstack
718 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200719 - openstack/neutron
720 - openstack/neutron-tempest-plugin
721 - openstack/tempest
722 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
723 voting: false
724 vars:
725 tempest_concurrency: 4
726 tox_envlist: all
727 tempest_test_regex: ^neutron_tempest_plugin\.scenario
728 # NOTE(slaweq): in case of some tests, which requires advanced image,
729 # default test timeout set to 1200 seconds may be not enough if job is
730 # run on slow node
731 tempest_test_timeout: 2400
732 network_api_extensions_common: *api_extensions
733 network_api_extensions_dvr:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200734 - dhcp_agent_scheduler
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200735 - dvr
736 devstack_localrc:
737 USE_PYTHON3: true
738 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
739 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200740 CIRROS_VERSION: 0.5.1
yatinkarel165e4092021-12-08 19:19:34 +0530741 DEFAULT_IMAGE_NAME: cirros-0.5.1-x86_64-uec
742 DEFAULT_IMAGE_FILE_NAME: cirros-0.5.1-x86_64-uec.tar.gz
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200743 IMAGE_URLS: https://cloud-images.ubuntu.com/minimal/releases/focal/release/ubuntu-20.04-minimal-cloudimg-amd64.img
744 ADVANCED_IMAGE_NAME: ubuntu-20.04-minimal-cloudimg-amd64
745 ADVANCED_INSTANCE_TYPE: ntp_image_256M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200746 ADVANCED_INSTANCE_USER: ubuntu
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200747 CUSTOMIZE_IMAGE: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200748 BUILD_TIMEOUT: 784
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200749 Q_AGENT: openvswitch
750 Q_ML2_TENANT_NETWORK_TYPE: vxlan
751 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200752 devstack_plugins:
753 neutron: https://opendev.org/openstack/neutron.git
754 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
755 tempest_plugins:
756 - neutron-tempest-plugin
757 devstack_services:
Slawek Kaplonski579b6df2021-06-11 08:47:32 +0200758 tls-proxy: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200759 tempest: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200760 # Disable OVN services
761 br-ex-tcpdump: false
762 br-int-flows: false
763 ovn-controller: false
764 ovn-northd: false
765 ovs-vswitchd: false
766 ovsdb-server: false
767 q-ovn-metadata-agent: false
768 # Neutron services
769 q-agt: true
770 q-dhcp: true
771 q-l3: true
772 q-meta: true
773 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200774 neutron-dns: true
775 neutron-qos: true
776 neutron-segments: true
777 neutron-trunk: true
778 neutron-log: true
779 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100780 # Cinder services
781 c-api: false
782 c-bak: false
783 c-sch: false
784 c-vol: false
785 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100786 # We don't need Swift to be run in the Neutron jobs
787 s-account: false
788 s-container: false
789 s-object: false
790 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200791 devstack_local_conf:
792 post-config:
793 $NEUTRON_CONF:
794 quotas:
795 quota_router: 100
796 quota_floatingip: 500
797 quota_security_group: 100
798 quota_security_group_rule: 1000
799 DEFAULT:
800 router_distributed: True
801 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
802 # devstack-tempest job will be switched to use lib/neutron instead of
803 # lib/neutron-legacy
804 "/$NEUTRON_CORE_PLUGIN_CONF":
805 ml2:
806 type_drivers: flat,geneve,vlan,gre,local,vxlan
807 mechanism_drivers: openvswitch,l2population
808 ml2_type_vlan:
809 network_vlan_ranges: foo:1:10
810 ml2_type_vxlan:
811 vni_ranges: 1:2000
812 ml2_type_gre:
813 tunnel_id_ranges: 1:1000
814 agent:
815 enable_distributed_routing: True
816 l2_population: True
817 tunnel_types: vxlan,gre
818 ovs:
819 tunnel_bridge: br-tun
820 bridge_mappings: public:br-ex
821 $NEUTRON_L3_CONF:
822 DEFAULT:
823 agent_mode: dvr_snat
824 agent:
825 availability_zone: nova
826 $NEUTRON_DHCP_CONF:
827 agent:
828 availability_zone: nova
829 "/etc/neutron/api-paste.ini":
830 "composite:neutronapi_v2_0":
831 use: "call:neutron.auth:pipeline_factory"
832 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
833 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
834 test-config:
835 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100836 network-feature-enabled:
837 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200838 neutron_plugin_options:
839 provider_vlans: foo,
840 agent_availability_zone: nova
841 image_is_advanced: true
842 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
843 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600844 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200845 group-vars:
846 subnode:
847 devstack_services:
Slawek Kaplonski579b6df2021-06-11 08:47:32 +0200848 tls-proxy: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200849 br-ex-tcpdump: false
850 br-int-flows: false
851 # Disable OVN services
852 ovn-controller: false
853 ovn-northd: false
854 ovs-vswitchd: false
855 ovsdb-server: false
856 q-ovn-metadata-agent: false
857 # Neutron services
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200858 q-agt: true
859 q-l3: true
860 q-meta: true
861 neutron-qos: true
862 neutron-trunk: true
863 neutron-log: true
864 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100865 # Cinder services
866 c-bak: false
867 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100868 # We don't need Swift to be run in the Neutron jobs
869 s-account: false
870 s-container: false
871 s-object: false
872 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200873 devstack_localrc:
874 USE_PYTHON3: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200875 Q_AGENT: openvswitch
876 Q_ML2_TENANT_NETWORK_TYPE: vxlan
877 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200878 devstack_local_conf:
879 post-config:
880 $NEUTRON_CONF:
881 DEFAULT:
882 router_distributed: True
883 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
884 # devstack-tempest job will be switched to use lib/neutron instead of
885 # lib/neutron-legacy
886 "/$NEUTRON_CORE_PLUGIN_CONF":
887 agent:
888 enable_distributed_routing: True
889 l2_population: True
890 tunnel_types: vxlan,gre
891 ovs:
892 tunnel_bridge: br-tun
893 bridge_mappings: public:br-ex
894 $NEUTRON_L3_CONF:
895 DEFAULT:
896 agent_mode: dvr_snat
897 agent:
898 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100899 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200900
901- job:
902 name: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200903 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200904 description: Neutron designate integration scenario
905 required-projects:
906 - openstack/designate
907 - openstack/designate-dashboard
908 - openstack/designate-tempest-plugin
909 timeout: 3600
910 vars:
911 network_api_extensions_common: *api_extensions
912 devstack_localrc:
913 DESIGNATE_BACKEND_DRIVER: bind9
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200914 # In this job advanced image is not needed, so it's name should be
915 # empty
916 ADVANCED_IMAGE_NAME: ""
917 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200918 devstack_plugins:
919 designate: https://opendev.org/openstack/designate.git
920 devstack_services:
921 cinder: false
922 designate: true
923 tempest_plugins:
924 - designate-tempest-plugin
925 - neutron-tempest-plugin
926 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100927 irrelevant-files:
928 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530929 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100930 - ^releasenotes/.*$
931 - ^doc/.*$
932 - ^setup.cfg$
933 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530934 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100935 - ^neutron/locale/.*$
936 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530937 - ^neutron/tests/fullstack/.*
938 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100939 - ^tools/.*$
940 - ^tox.ini$
941 - ^neutron/agent/.*$
942 - ^neutron/cmd/.*$
943 - ^neutron/privileged/.*$
944 - ^neutron/plugins/ml2/drivers/.*$
945 - ^neutron/scheduler/.*$
946 - ^neutron/services/(?!externaldns).*$
yatinkarel9d85f292022-01-27 17:26:57 +0530947 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530948 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
949 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530950 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530951 - ^roles/.*functional.*$
952 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530953 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530954 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200955
956- job:
957 name: neutron-tempest-plugin-sfc
958 parent: neutron-tempest-plugin-base
959 timeout: 10800
960 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200961 - openstack/networking-sfc
962 - openstack/neutron
963 - openstack/neutron-tempest-plugin
964 - openstack/tempest
965 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200966 devstack_services:
967 # Disable OVN services
968 br-ex-tcpdump: false
969 br-int-flows: false
970 ovn-controller: false
971 ovn-northd: false
972 ovs-vswitchd: false
973 ovsdb-server: false
974 q-ovn-metadata-agent: false
975 # Enable Neutron services that are not used by OVN
976 q-agt: true
977 q-dhcp: true
978 q-l3: true
979 q-meta: true
980 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200981 tempest_test_regex: ^neutron_tempest_plugin\.sfc
982 devstack_plugins:
983 networking-sfc: https://opendev.org/openstack/networking-sfc
984 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
985 network_api_extensions_sfc:
986 - flow_classifier
987 - sfc
988 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200989 Q_AGENT: openvswitch
990 Q_ML2_TENANT_NETWORK_TYPE: vxlan
991 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200992 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
993 # TODO(bcafarel): tests still fail from time to time in parallel
994 # https://bugs.launchpad.net/neutron/+bug/1851500
995 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
996 tempest_concurrency: 1
yatinkarel007c22f2021-12-10 15:15:45 +0530997 irrelevant-files:
998 - ^(test-|)requirements.txt$
999 - lower-constraints.txt
1000 - ^releasenotes/.*$
1001 - ^doc/.*$
1002 - ^.*\.conf\.sample$
1003 - ^setup.cfg$
1004 - ^.*\.rst$
1005 - ^neutron/locale/.*$
1006 - ^neutron/tests/unit/.*$
1007 - ^neutron/tests/fullstack/.*
1008 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301009 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301010 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|tap_as_a_service|vpnaas).*$
1011 - ^neutron_tempest_plugin/services/bgp/.*$
1012 - ^tools/.*$
1013 - ^tox.ini$
1014 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301015 - ^roles/.*functional.*$
1016 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301017 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301018 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001019
1020- job:
1021 name: neutron-tempest-plugin-bgpvpn-bagpipe
1022 parent: neutron-tempest-plugin-base
1023 required-projects:
1024 - openstack/networking-bagpipe
1025 - openstack/networking-bgpvpn
1026 vars:
elajkat3d7420a2021-05-12 11:28:40 +02001027 devstack_services:
1028 # Disable OVN services
1029 br-ex-tcpdump: false
1030 br-int-flows: false
1031 ovn-controller: false
1032 ovn-northd: false
1033 ovs-vswitchd: false
1034 ovsdb-server: false
1035 q-ovn-metadata-agent: false
1036 # Enable Neutron services that are not used by OVN
1037 q-agt: true
1038 q-dhcp: true
1039 q-l3: true
1040 q-meta: true
1041 q-metering: true
yatinkarelb8e69d32022-09-13 17:48:00 +05301042 tempest_concurrency: 4
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001043 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001044 network_api_extensions_bgpvpn:
1045 - bgpvpn
1046 - bgpvpn-routes-control
1047 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +02001048 Q_AGENT: openvswitch
1049 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1050 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001051 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
1052 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
1053 BAGPIPE_BGP_PEERS: "-"
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001054 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgpvpn) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001055 devstack_plugins:
1056 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
1057 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
yatinkarel007c22f2021-12-10 15:15:45 +05301058 irrelevant-files:
1059 - ^(test-|)requirements.txt$
1060 - lower-constraints.txt
1061 - ^releasenotes/.*$
1062 - ^doc/.*$
1063 - ^.*\.conf\.sample$
1064 - ^setup.cfg$
1065 - ^.*\.rst$
1066 - ^neutron/locale/.*$
1067 - ^neutron/tests/unit/.*$
1068 - ^neutron/tests/fullstack/.*
1069 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301070 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301071 - ^neutron_tempest_plugin/(fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
1072 - ^neutron_tempest_plugin/services/bgp/.*$
1073 - ^tools/.*$
1074 - ^tox.ini$
1075 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301076 - ^roles/.*functional.*$
1077 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301078 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301079 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001080
1081- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001082 name: neutron-tempest-plugin-dynamic-routing
1083 parent: neutron-tempest-plugin-base
1084 description: |
1085 Perform setup common to all Neutron dynamic routing tempest tests
1086 required-projects:
1087 - openstack/neutron
1088 - openstack/neutron-dynamic-routing
1089 - openstack/os-ken
1090 - openstack/tempest
1091 pre-run: playbooks/dynamic-routing-pre-run.yaml
1092 vars:
1093 devstack_plugins:
1094 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
1095 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001096 network_api_extensions_bgp:
1097 - bgp
1098 - bgp_dragent_scheduler
1099 - bgp_4byte_asn
1100 devstack_localrc:
1101 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +01001102 Q_AGENT: openvswitch
1103 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1104 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001105 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +01001106 # Disable OVN services
1107 br-ex-tcpdump: false
1108 br-int-flows: false
1109 ovn-controller: false
1110 ovn-northd: false
1111 ovs-vswitchd: false
1112 ovsdb-server: false
1113 q-ovn-metadata-agent: false
1114 # Neutron services
1115 q-agt: true
1116 q-dhcp: true
1117 q-meta: true
1118 q-metering: true
1119 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001120 neutron-dr: true
1121 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001122 tempest_concurrency: 1
1123 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
yatinkarel007c22f2021-12-10 15:15:45 +05301124 irrelevant-files:
1125 - ^(test-|)requirements.txt$
1126 - lower-constraints.txt
1127 - ^releasenotes/.*$
1128 - ^doc/.*$
1129 - ^.*\.conf\.sample$
1130 - ^setup.cfg$
1131 - ^.*\.rst$
1132 - ^neutron/locale/.*$
1133 - ^neutron/tests/unit/.*$
1134 - ^neutron/tests/fullstack/.*
1135 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301136 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301137 - ^neutron_tempest_plugin/(bgpvpn|fwaas|sfc|tap_as_a_service|vpnaas).*$
1138 - ^tools/.*$
1139 - ^tox.ini$
1140 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301141 - ^roles/.*functional.*$
1142 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301143 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301144 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001145
1146- job:
zhouhenglc446cc592022-02-09 10:19:06 +08001147 name: neutron-tempest-plugin-fwaas
1148 parent: neutron-tempest-plugin-base
1149 timeout: 10800
1150 required-projects:
1151 - openstack/devstack-gate
1152 - openstack/neutron-fwaas
1153 - openstack/neutron
1154 - openstack/neutron-tempest-plugin
1155 - openstack/tempest
1156 vars:
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001157 tempest_concurrency: 4
zhouhenglc446cc592022-02-09 10:19:06 +08001158 tempest_test_regex: ^neutron_tempest_plugin\.fwaas
1159 devstack_plugins:
1160 neutron-fwaas: https://opendev.org/openstack/neutron-fwaas.git
1161 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
zhouhenglc446cc592022-02-09 10:19:06 +08001162 network_api_extensions_fwaas:
1163 - fwaas_v2
1164 devstack_localrc:
1165 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_fwaas) | join(',') }}"
1166 Q_AGENT: openvswitch
1167 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1168 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1169 devstack_services:
1170 # Disable OVN services
1171 br-ex-tcpdump: false
1172 br-int-flows: false
1173 ovn-controller: false
1174 ovn-northd: false
1175 q-ovn-metadata-agent: false
1176 # Neutron services
1177 q-agt: true
1178 q-dhcp: true
1179 q-meta: true
1180 q-metering: true
1181 q-l3: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001182 neutron-log: false
yatinkarel91821d22022-05-19 11:11:50 +05301183 irrelevant-files:
1184 - ^(test-|)requirements.txt$
1185 - ^releasenotes/.*$
1186 - ^doc/.*$
1187 - ^.*\.conf\.sample$
1188 - ^setup.cfg$
1189 - ^.*\.rst$
1190 - ^neutron/locale/.*$
1191 - ^neutron/tests/unit/.*$
1192 - ^neutron/tests/fullstack/.*
1193 - ^neutron/tests/functional/.*
1194 - ^neutron_tempest_plugin/api/test_.*$
1195 - ^neutron_tempest_plugin/(bgpvpn|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
1196 - ^neutron_tempest_plugin/services/bgp/.*$
1197 - ^tools/.*$
1198 - ^tox.ini$
1199 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301200 - ^roles/.*functional.*$
1201 - ^playbooks/.*functional.*$
yatinkarel91821d22022-05-19 11:11:50 +05301202 - ^vagrant/.*$
1203 - ^zuul.d/(?!(project)).*\.yaml
zhouhenglc446cc592022-02-09 10:19:06 +08001204
1205- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001206 name: neutron-tempest-plugin-vpnaas
1207 parent: neutron-tempest-plugin-base
1208 timeout: 3900
1209 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001210 - openstack/neutron
1211 - openstack/neutron-vpnaas
1212 - openstack/neutron-tempest-plugin
1213 - openstack/tempest
1214 vars:
yatinkarelb8e69d32022-09-13 17:48:00 +05301215 tempest_concurrency: 4
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001216 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
1217 devstack_plugins:
1218 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
1219 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
1220 network_api_extensions_common: *api_extensions
1221 network_api_extensions_vpnaas:
1222 - vpnaas
1223 devstack_localrc:
1224 IPSEC_PACKAGE: strongswan
1225 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"
elajkat3a98dae2021-09-17 17:25:27 +02001226 Q_AGENT: openvswitch
1227 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1228 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1229 devstack_services:
1230 # Disable OVN services
1231 br-ex-tcpdump: false
1232 br-int-flows: false
1233 ovn-controller: false
1234 ovn-northd: false
1235 ovs-vswitchd: false
1236 ovsdb-server: false
1237 q-ovn-metadata-agent: false
1238 # Neutron services
1239 q-agt: true
1240 q-dhcp: true
1241 q-meta: true
1242 q-metering: true
1243 q-l3: true
yatinkarel007c22f2021-12-10 15:15:45 +05301244 irrelevant-files:
1245 - ^(test-|)requirements.txt$
1246 - lower-constraints.txt
1247 - ^releasenotes/.*$
1248 - ^doc/.*$
1249 - ^.*\.conf\.sample$
1250 - ^setup.cfg$
1251 - ^.*\.rst$
1252 - ^neutron/locale/.*$
1253 - ^neutron/tests/unit/.*$
1254 - ^neutron/tests/fullstack/.*
1255 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301256 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301257 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service).*$
1258 - ^neutron_tempest_plugin/services/bgp/.*$
1259 - ^tools/.*$
1260 - ^tox.ini$
1261 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301262 - ^roles/.*functional.*$
1263 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301264 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301265 - ^zuul.d/(?!(project)).*\.yaml
elajkat4abd0682021-08-06 16:05:23 +02001266
1267- job:
1268 name: neutron-tempest-plugin-tap-as-a-service
1269 parent: neutron-tempest-plugin-base
1270 description: |
1271 Perform setup common to all tap-as-a-service tempest tests
1272 roles:
1273 - zuul: openstack/devstack
1274 required-projects:
1275 - openstack/devstack-gate
1276 - openstack/neutron
1277 - openstack/neutron-tempest-plugin
1278 - openstack/tap-as-a-service
1279 - openstack/tempest
1280 vars:
yatinkarelb8e69d32022-09-13 17:48:00 +05301281 tempest_concurrency: 4
elajkat4abd0682021-08-06 16:05:23 +02001282 tempest_test_regex: ^neutron_tempest_plugin\.tap_as_a_service
1283 tox_envlist: all
elajkat4abd0682021-08-06 16:05:23 +02001284 network_api_extensions_tempest:
1285 - taas
1286 - taas-vlan-filter
1287 devstack_localrc:
1288 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
elajkat1f275e42021-10-15 12:47:55 +02001289 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
1290 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
1291 ADVANCED_INSTANCE_TYPE: ntp_image_384M
1292 ADVANCED_INSTANCE_USER: ubuntu
1293 CUSTOMIZE_IMAGE: false
elajkat4abd0682021-08-06 16:05:23 +02001294 BUILD_TIMEOUT: 784
1295 Q_AGENT: openvswitch
elajkat1f275e42021-10-15 12:47:55 +02001296 Q_ML2_TENANT_NETWORK_TYPE: vxlan,vlan
elajkat4abd0682021-08-06 16:05:23 +02001297 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1298 devstack_local_conf:
1299 post-config:
1300 /$NEUTRON_CORE_PLUGIN_CONF:
1301 AGENT:
elajkat1f275e42021-10-15 12:47:55 +02001302 tunnel_types: vxlan
1303 ml2_type_vlan:
1304 network_vlan_ranges: public
elajkat4abd0682021-08-06 16:05:23 +02001305 test-config:
1306 $TEMPEST_CONFIG:
elajkat1f275e42021-10-15 12:47:55 +02001307 neutron_plugin_options:
1308 image_is_advanced: true
1309 advanced_image_flavor_ref: d1
1310 taas:
elajkat4abd0682021-08-06 16:05:23 +02001311 provider_physical_network: public
1312 provider_segmentation_id: 100
1313 image_feature_enabled:
1314 api_v2: true
1315 devstack_plugins:
1316 neutron: git://opendev.org/openstack/neutron.git
1317 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
1318 tap-as-a-service: git://opendev.org/openstack/tap-as-a-service.git
1319 devstack_services:
1320 # Disable OVN services
1321 ovn-controller: false
1322 ovn-northd: false
1323 ovs-vswitchd: false
1324 ovsdb-server: false
1325 q-ovn-metadata-agent: false
1326 # Enable Neutron services that are not used by OVN
1327 q-agt: true
1328 q-dhcp: true
1329 q-l3: true
1330 q-meta: true
1331 q-metering: true
1332 br-ex-tcpdump: true
1333 br-int-flows: true
1334 base: false
1335 key: true
1336 mysql: true
1337 rabbit: true
1338 g-api: true
1339 g-reg: true
1340 n-api: true
1341 n-cond: true
1342 n-cpu: true
1343 n-crt: true
1344 n-sch: true
1345 placement-api: true
1346 n-api-meta: true
1347 q-svc: true
1348 quantum: true
1349 taas: true
1350 taas_openvswitch_agent: true
1351 tempest: true
1352 dstat: true
yatinkarel007c22f2021-12-10 15:15:45 +05301353 irrelevant-files:
elajkat4abd0682021-08-06 16:05:23 +02001354 - ^(test-|)requirements.txt$
yatinkarel007c22f2021-12-10 15:15:45 +05301355 - lower-constraints.txt
elajkat4abd0682021-08-06 16:05:23 +02001356 - ^releasenotes/.*$
1357 - ^doc/.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301358 - ^.*\.conf\.sample$
1359 - ^setup.cfg$
elajkat4abd0682021-08-06 16:05:23 +02001360 - ^.*\.rst$
yatinkarel007c22f2021-12-10 15:15:45 +05301361 - ^neutron/locale/.*$
1362 - ^neutron/tests/unit/.*$
1363 - ^neutron/tests/fullstack/.*
1364 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301365 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301366 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|vpnaas).*$
1367 - ^neutron_tempest_plugin/services/bgp/.*$
elajkat4abd0682021-08-06 16:05:23 +02001368 - ^tools/.*$
1369 - ^tox.ini$
yatinkarel007c22f2021-12-10 15:15:45 +05301370 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301371 - ^roles/.*functional.*$
1372 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301373 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301374 - ^zuul.d/(?!(project)).*\.yaml