blob: 39d1d892c9ef5bc8c70ab41fed57032305b853a7 [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
Slawek Kaplonskifea6b0b2023-01-04 10:16:20 +010030 CIRROS_VERSION: 0.6.1
31 DEFAULT_IMAGE_NAME: cirros-0.6.1-x86_64-uec
32 DEFAULT_IMAGE_FILE_NAME: cirros-0.6.1-x86_64-uec.tar.gz
Slawek Kaplonski8988a012022-04-07 10:50:44 +020033 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 /$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:
yatinkarel3ff83002022-09-27 10:55:55 +0530193 - ^\.pylintrc$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100194 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530195 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100196 - ^releasenotes/.*$
197 - ^doc/.*$
198 - ^setup.cfg$
199 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530200 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100201 - ^neutron/locale/.*$
202 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530203 - ^neutron/tests/fullstack/.*
204 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100205 - ^tools/.*$
206 - ^tox.ini$
yatinkarel1ecc1e52023-03-28 12:01:02 +0530207 - ^plugin.spec$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100208 - ^neutron/agent/.*$
209 - ^neutron/privileged/.*$
Takashi Kajinamia78d12a2021-08-22 13:25:18 +0900210 - ^neutron_lib/tests/unit/.*$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100211 - ^neutron_tempest_plugin/scenario/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530212 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530213 - ^roles/.*functional.*$
214 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530215 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530216 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100217
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200218- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200219 name: neutron-tempest-plugin-openvswitch
220 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200221 timeout: 10000
222 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530223 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100224 devstack_services:
225 # Disable OVN services
226 br-ex-tcpdump: false
227 br-int-flows: false
228 ovn-controller: false
229 ovn-northd: false
230 ovs-vswitchd: false
231 ovsdb-server: false
232 q-ovn-metadata-agent: false
233 # Neutron services
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300234 neutron-local-ip-static: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100235 q-agt: true
236 q-dhcp: true
237 q-l3: true
238 q-meta: true
239 q-metering: true
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300240 network_api_extensions_openvswitch:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200241 - dhcp_agent_scheduler
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300242 - local_ip
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200243 - qos-bw-minimum-ingress
244 network_available_features: &available_features
245 - ipv6_metadata
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200246 devstack_localrc:
247 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100248 Q_ML2_TENANT_NETWORK_TYPE: vxlan
249 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200250 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_openvswitch) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200251 devstack_local_conf:
252 post-config:
253 $NEUTRON_CONF:
254 DEFAULT:
255 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200256 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200257 /$NEUTRON_CORE_PLUGIN_CONF:
258 agent:
259 tunnel_types: vxlan,gre
260 ovs:
261 tunnel_bridge: br-tun
262 bridge_mappings: public:br-ex
Rodolfo Alonso Hernandez68596be2022-05-03 14:51:54 +0000263 openflow_processed_per_port: True
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200264 test-config:
265 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100266 network-feature-enabled:
267 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200268 neutron_plugin_options:
269 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600270 firewall_driver: openvswitch
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100271 irrelevant-files: &openvswitch-scenario-irrelevant-files
yatinkarel3ff83002022-09-27 10:55:55 +0530272 - ^\.pylintrc$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100273 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530274 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100275 - ^releasenotes/.*$
276 - ^doc/.*$
277 - ^setup.cfg$
278 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530279 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100280 - ^neutron/locale/.*$
281 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530282 - ^neutron/tests/fullstack/.*
283 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100284 - ^tools/.*$
285 - ^tox.ini$
yatinkarel1ecc1e52023-03-28 12:01:02 +0530286 - ^plugin.spec$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100287 - ^neutron/agent/ovn/.*$
288 - ^neutron/agent/windows/.*$
289 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
290 - ^neutron/plugins/ml2/drivers/macvtap/.*$
291 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
292 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530293 - ^neutron/services/ovn_l3/.*$
294 - ^neutron/services/logapi/drivers/ovn/.*$
295 - ^neutron/services/portforwarding/drivers/ovn/.*$
296 - ^neutron/services/qos/drivers/linuxbridge/.*$
297 - ^neutron/services/qos/drivers/ovn/.*$
298 - ^neutron/services/trunk/drivers/linuxbridge/.*$
299 - ^neutron/services/trunk/drivers/ovn/.*$
300 - ^neutron/cmd/ovn/.*$
301 - ^neutron/common/ovn/.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530302 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
303 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530304 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530305 - ^roles/.*functional.*$
306 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530307 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530308 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200309
310- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200311 name: neutron-tempest-plugin-openvswitch-iptables_hybrid
312 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200313 timeout: 10000
314 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530315 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100316 devstack_services:
317 # Disable OVN services
318 br-ex-tcpdump: false
319 br-int-flows: false
320 ovn-controller: false
321 ovn-northd: false
322 ovs-vswitchd: false
323 ovsdb-server: false
324 q-ovn-metadata-agent: false
325 # Neutron services
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300326 neutron-local-ip: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100327 q-agt: true
328 q-dhcp: true
329 q-l3: true
330 q-meta: true
331 q-metering: true
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300332 network_api_extensions_openvswitch:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200333 - dhcp_agent_scheduler
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300334 - local_ip
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200335 - logging
elajkat8bbd7432020-11-04 16:41:34 +0100336 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200337 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
338 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
Alex Katzbd2bfd42021-05-26 18:12:36 +0300339 # TODO(akatz): remove established tcp session verification test when the
340 # bug https://bugzilla.redhat.com/show_bug.cgi?id=1965036 will be fixed
341 tempest_exclude_regex: "\
342 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
Slawek Kaplonski83979b92022-12-15 14:15:12 +0100343 (^neutron_tempest_plugin.scenario.test_security_groups.StatefulNetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)|\
344 (^neutron_tempest_plugin.scenario.test_security_groups.StatelessNetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200345 devstack_localrc:
346 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100347 Q_ML2_TENANT_NETWORK_TYPE: vxlan
348 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200349 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_openvswitch) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200350 devstack_local_conf:
351 post-config:
352 $NEUTRON_CONF:
353 DEFAULT:
354 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200355 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200356 /$NEUTRON_CORE_PLUGIN_CONF:
357 agent:
358 tunnel_types: vxlan,gre
359 ovs:
360 tunnel_bridge: br-tun
361 bridge_mappings: public:br-ex
362 securitygroup:
363 firewall_driver: iptables_hybrid
364 test-config:
365 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100366 network-feature-enabled:
367 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200368 neutron_plugin_options:
369 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600370 firewall_driver: iptables_hybrid
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100371 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +0530372 - ^\.pylintrc$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100373 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530374 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100375 - ^releasenotes/.*$
376 - ^doc/.*$
377 - ^setup.cfg$
378 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530379 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100380 - ^neutron/locale/.*$
381 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530382 - ^neutron/tests/fullstack/.*
383 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100384 - ^tools/.*$
385 - ^tox.ini$
yatinkarel1ecc1e52023-03-28 12:01:02 +0530386 - ^plugin.spec$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100387 - ^neutron/agent/linux/openvswitch_firewall/.*$
388 - ^neutron/agent/ovn/.*$
389 - ^neutron/agent/windows/.*$
390 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
391 - ^neutron/plugins/ml2/drivers/macvtap/.*$
392 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
393 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530394 - ^neutron/services/ovn_l3/.*$
395 - ^neutron/services/logapi/drivers/ovn/.*$
396 - ^neutron/services/portforwarding/drivers/ovn/.*$
397 - ^neutron/services/qos/drivers/linuxbridge/.*$
398 - ^neutron/services/qos/drivers/ovn/.*$
399 - ^neutron/services/trunk/drivers/linuxbridge/.*$
400 - ^neutron/services/trunk/drivers/ovn/.*$
401 - ^neutron/cmd/ovn/.*$
402 - ^neutron/common/ovn/.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530403 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
404 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530405 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530406 - ^roles/.*functional.*$
407 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530408 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530409 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200410
Sławek Kapłoński6a074c92022-12-13 15:28:29 +0100411- job:
412 name: neutron-tempest-plugin-openvswitch-enforce-scope-new-defaults
413 parent: neutron-tempest-plugin-openvswitch
414 vars:
415 devstack_localrc:
416 # Enabeling the scope and new defaults for services.
417 # NOTE: (gmann) We need to keep keystone scope check disable as
418 # services (except ironic) does not support the system scope and
419 # they need keystone to continue working with project scope. Until
420 # Keystone policies are changed to work for both system as well as
421 # for project scoped, we need to keep scope check disable for
422 # keystone.
423 NOVA_ENFORCE_SCOPE: true
424 GLANCE_ENFORCE_SCOPE: true
425 NEUTRON_ENFORCE_SCOPE: true
426
427
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200428# TODO(slaweq): remove that job's definition as soon as new job
429# "neutron-tempest-plugin-openvswitch-iptables_hybrid" will be used in the
430# neutron repo as a parent for a
431# "neutron-ovs-tempest-plugin-scenario-iptables_hybrid-nftables" job
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200432- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200433 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
434 parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
435
436- job:
437 name: neutron-tempest-plugin-openvswitch-distributed-dhcp
438 parent: neutron-tempest-plugin-openvswitch
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200439 timeout: 10000
440 vars:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200441 network_api_extensions_openvswitch:
442 - local_ip
443 - qos-bw-minimum-ingress
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200444 # NOTE: DHCP extra options and dns services aren't supported with
445 # distributed DHCP L2 agent extension
446 tempest_exclude_regex: "\
447 (^neutron_tempest_plugin.scenario.test_dhcp.DHCPTest.test_extra_dhcp_opts)|\
448 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
449 devstack_services:
450 q-dhcp: false
451 q-distributed-dhcp: true
452
453- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200454 name: neutron-tempest-plugin-openvswitch-iptables_hybrid-distributed-dhcp
455 parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200456 timeout: 10000
457 vars:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200458 network_api_extensions_openvswitch:
459 - local_ip
460 - logging
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200461 # NOTE: DHCP extra options and dns services aren't supported with
462 # distributed DHCP L2 agent extension
463 tempest_exclude_regex: "\
464 (^neutron_tempest_plugin.scenario.test_dhcp.DHCPTest.test_extra_dhcp_opts)|\
465 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
466 devstack_services:
467 q-dhcp: false
468 q-distributed-dhcp: true
469
470- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200471 name: neutron-tempest-plugin-linuxbridge
472 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200473 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200474 roles:
475 - zuul: openstack/neutron
476 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200477 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530478 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100479 devstack_services:
480 # Disable OVN services
481 br-ex-tcpdump: false
482 br-int-flows: false
483 ovn-controller: false
484 ovn-northd: false
485 ovs-vswitchd: false
486 ovsdb-server: false
487 q-ovn-metadata-agent: false
488 # Neutron services
489 q-agt: true
490 q-dhcp: true
491 q-l3: true
492 q-meta: true
493 q-metering: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200494 # SG logging isn't supported by linuxbridge backend
495 neutron-log: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100496 network_api_extensions_linuxbridge:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200497 - dhcp_agent_scheduler
Eduardo Olivares088707b2020-12-01 21:13:45 +0100498 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100499 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100500 # TODO(eolivare): remove VLAN Transparency tests from blacklist
501 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
Slawek Kaplonskicc63c422021-07-21 10:20:18 +0200502 # TODO(slaweq): remove
503 # test_established_tcp_session_after_re_attachinging_sg from the
504 # exclude regex when bug https://bugs.launchpad.net/neutron/+bug/1936911
505 # will be fixed
Slawek Kaplonski3fe3a902022-04-13 09:46:24 +0200506 # TODO(slaweq) remove test_floatingip_port_details from the exclude
507 # regex when bug https://bugs.launchpad.net/neutron/+bug/1799790 will be
508 # fixed
Slawek Kaplonskicc63c422021-07-21 10:20:18 +0200509 tempest_exclude_regex: "\
510 (^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)|\
Slawek Kaplonski83979b92022-12-15 14:15:12 +0100511 (^neutron_tempest_plugin.scenario.test_security_groups.StatefulNetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)|\
512 (^neutron_tempest_plugin.scenario.test_security_groups.StatelessNetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)|\
Slawek Kaplonski3fe3a902022-04-13 09:46:24 +0200513 (^neutron_tempest_plugin.scenario.test_floatingip.FloatingIPPortDetailsTest.test_floatingip_port_details)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200514 devstack_localrc:
515 Q_AGENT: linuxbridge
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200516 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100517 Q_ML2_TENANT_NETWORK_TYPE: vxlan
518 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200519 devstack_local_conf:
520 post-config:
521 $NEUTRON_CONF:
522 DEFAULT:
523 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100524 vlan_transparent: true
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200525 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200526 AGENT:
527 debug_iptables_rules: true
Miguel Lavalle22173b82022-06-13 17:53:50 -0500528 EXPERIMENTAL:
529 linuxbridge: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200530 /$NEUTRON_CORE_PLUGIN_CONF:
531 ml2:
532 type_drivers: flat,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100533 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200534 test-config:
535 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100536 network-feature-enabled:
537 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200538 neutron_plugin_options:
539 available_type_drivers: flat,vlan,local,vxlan
540 q_agent: linuxbridge
Hang Yange6e0ccf2021-02-26 15:07:05 -0600541 firewall_driver: iptables
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100542 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +0530543 - ^\.pylintrc$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100544 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530545 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100546 - ^releasenotes/.*$
547 - ^doc/.*$
548 - ^setup.cfg$
549 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530550 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100551 - ^neutron/locale/.*$
552 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530553 - ^neutron/tests/fullstack/.*
554 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100555 - ^tools/.*$
556 - ^tox.ini$
yatinkarel1ecc1e52023-03-28 12:01:02 +0530557 - ^plugin.spec$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100558 - ^neutron/agent/linux/openvswitch_firewall/.*$
559 - ^neutron/agent/ovn/.*$
560 - ^neutron/agent/windows/.*$
561 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
562 - ^neutron/plugins/ml2/drivers/macvtap/.*$
563 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
564 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530565 - ^neutron/services/ovn_l3/.*$
566 - ^neutron/services/logapi/drivers/openvswitch/.*$
567 - ^neutron/services/logapi/drivers/ovn/.*$
568 - ^neutron/services/portforwarding/drivers/ovn/.*$
569 - ^neutron/services/qos/drivers/openvswitch/.*$
570 - ^neutron/services/qos/drivers/ovn/.*$
571 - ^neutron/services/trunk/drivers/openvswitch/.*$
572 - ^neutron/services/trunk/drivers/ovn/.*$
573 - ^neutron/cmd/ovn/.*$
574 - ^neutron/common/ovn/.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530575 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
576 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530577 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530578 - ^roles/.*functional.*$
579 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530580 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530581 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200582
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200583# TODO(slaweq): remove that job's definition as soon as new job
584# "neutron-tempest-plugin-linuxbridge" will be used in the neutron repo as
585# a parent for a "neutron-linuxbridge-tempest-plugin-scenario-nftables" job
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200586- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200587 name: neutron-tempest-plugin-scenario-linuxbridge
588 parent: neutron-tempest-plugin-linuxbridge
589
590- job:
591 name: neutron-tempest-plugin-ovn
592 parent: neutron-tempest-plugin-base-nested-switch
Rodolfo Alonso Hernandez99acc992021-11-03 08:30:33 +0000593 timeout: 10800
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000594 vars:
Eduardo Olivares088707b2020-12-01 21:13:45 +0100595 network_api_extensions_ovn:
596 - vlan-transparent
Jakub Libosvar20591c52020-10-29 21:01:51 +0100597 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
598 # once east/west fragmentation is supported in core OVN
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600599 tempest_exclude_regex: "\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100600 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000601 devstack_localrc:
602 Q_AGENT: ovn
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200603 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000604 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
605 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
606 Q_ML2_TENANT_NETWORK_TYPE: geneve
607 Q_USE_PROVIDERNET_FOR_PUBLIC: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000608 ENABLE_CHASSIS_AS_GW: true
609 OVN_L3_CREATE_PUBLIC_NETWORK: true
610 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000611 ENABLE_TLS: True
612 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100613 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
614 # is included in an ovn released version
615 OVN_BUILD_FROM_SOURCE: True
Daniel Alvarez Sanchez19b0b992021-07-14 11:21:56 +0200616 OVN_BRANCH: "v21.06.0"
Rodolfo Alonso Hernandez93f1e9b2022-03-20 06:47:39 +0000617 OVS_BRANCH: "a4b04276ab5934d087669ff2d191a23931335c87"
Slawek Kaplonski862cbeb2021-03-20 10:05:26 +0100618 OVS_SYSCONFDIR: "/usr/local/etc/openvswitch"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000619 devstack_services:
620 br-ex-tcpdump: true
621 br-int-flows: true
622 q-ovn-metadata-agent: true
623 ovn-controller: true
624 ovn-northd: true
625 ovs-vswitchd: true
626 ovsdb-server: true
627 q-agt: false
628 q-dhcp: false
629 q-l3: false
630 q-meta: false
631 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100632 q-qos: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100633 # Cinder services
634 c-api: false
635 c-bak: false
636 c-sch: false
637 c-vol: false
638 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000639 s-account: false
640 s-container-sync: false
641 s-container: false
642 s-object: false
643 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000644 devstack_local_conf:
645 post-config:
646 $NEUTRON_CONF:
647 DEFAULT:
648 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100649 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000650 /$NEUTRON_CORE_PLUGIN_CONF:
651 ml2:
652 type_drivers: local,flat,vlan,geneve
653 test-config:
654 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100655 network-feature-enabled:
656 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000657 neutron_plugin_options:
658 available_type_drivers: local,flat,vlan,geneve
659 is_igmp_snooping_enabled: True
Hang Yange6e0ccf2021-02-26 15:07:05 -0600660 firewall_driver: ovn
Jakub Libosvar08f3c612021-02-07 15:50:23 +0100661 zuul_copy_output:
662 '{{ devstack_base_dir }}/data/ovs': 'logs'
663 '{{ devstack_base_dir }}/data/ovn': 'logs'
664 '{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
665 '{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200666 '/var/log/ovn': 'logs'
667 '/var/log/openvswitch': 'logs'
668 '/var/lib/ovn': 'logs'
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100669 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +0530670 - ^\.pylintrc$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100671 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530672 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100673 - ^releasenotes/.*$
674 - ^doc/.*$
675 - ^setup.cfg$
676 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530677 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100678 - ^neutron/locale/.*$
679 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530680 - ^neutron/tests/fullstack/.*
681 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100682 - ^tools/.*$
683 - ^tox.ini$
yatinkarel1ecc1e52023-03-28 12:01:02 +0530684 - ^plugin.spec$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100685 - ^neutron/agent/dhcp/.*$
686 - ^neutron/agent/l2/.*$
687 - ^neutron/agent/l3/.*$
688 - ^neutron/agent/metadata/.*$
689 - ^neutron/agent/windows/.*$
690 - ^neutron/agent/dhcp_agent.py
691 - ^neutron/agent/l3_agent.py
692 - ^neutron/agent/metadata_agent.py
693 - ^neutron/agent/resource_cache.py
694 - ^neutron/agent/rpc.py
695 - ^neutron/agent/securitygroup_rpc.py
696 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
697 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
698 - ^neutron/plugins/ml2/drivers/macvtap/.*$
699 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530700 - ^neutron/services/qos/drivers/linuxbridge/.*$
701 - ^neutron/services/qos/drivers/openvswitch/.*$
702 - ^neutron/services/trunk/drivers/linuxbridge/.*$
703 - ^neutron/services/trunk/drivers/openvswitch/.*$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100704 - ^neutron/scheduler/.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530705 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
706 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530707 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530708 - ^roles/.*functional.*$
709 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530710 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530711 - ^zuul.d/(?!(project)).*\.yaml
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000712
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200713# TODO(slaweq): remove that job's definition as soon as new job
714# "neutron-tempest-plugin-ovn" will be used in the neutron-lib repo as
715# instead of old "neutron-tempest-plugin-api" job
716- job:
717 name: neutron-tempest-plugin-api
718 parent: neutron-tempest-plugin-ovn
719
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000720- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200721 name: neutron-tempest-plugin-dvr-multinode-scenario
722 parent: tempest-multinode-full
723 description: |
724 Perform setup for Neutron tempest tests in multinode with DVR scenario
725 roles:
726 - zuul: openstack/devstack
727 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200728 - openstack/neutron
729 - openstack/neutron-tempest-plugin
730 - openstack/tempest
731 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
732 voting: false
733 vars:
734 tempest_concurrency: 4
735 tox_envlist: all
736 tempest_test_regex: ^neutron_tempest_plugin\.scenario
737 # NOTE(slaweq): in case of some tests, which requires advanced image,
738 # default test timeout set to 1200 seconds may be not enough if job is
739 # run on slow node
740 tempest_test_timeout: 2400
741 network_api_extensions_common: *api_extensions
742 network_api_extensions_dvr:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200743 - dhcp_agent_scheduler
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200744 - dvr
745 devstack_localrc:
746 USE_PYTHON3: true
747 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
748 PHYSICAL_NETWORK: default
Slawek Kaplonskifea6b0b2023-01-04 10:16:20 +0100749 CIRROS_VERSION: 0.6.1
750 DEFAULT_IMAGE_NAME: cirros-0.6.1-x86_64-uec
751 DEFAULT_IMAGE_FILE_NAME: cirros-0.6.1-x86_64-uec.tar.gz
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200752 IMAGE_URLS: https://cloud-images.ubuntu.com/minimal/releases/focal/release/ubuntu-20.04-minimal-cloudimg-amd64.img
753 ADVANCED_IMAGE_NAME: ubuntu-20.04-minimal-cloudimg-amd64
754 ADVANCED_INSTANCE_TYPE: ntp_image_256M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200755 ADVANCED_INSTANCE_USER: ubuntu
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200756 CUSTOMIZE_IMAGE: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200757 BUILD_TIMEOUT: 784
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200758 Q_AGENT: openvswitch
759 Q_ML2_TENANT_NETWORK_TYPE: vxlan
760 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200761 devstack_plugins:
762 neutron: https://opendev.org/openstack/neutron.git
763 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
764 tempest_plugins:
765 - neutron-tempest-plugin
766 devstack_services:
Slawek Kaplonski579b6df2021-06-11 08:47:32 +0200767 tls-proxy: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200768 tempest: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200769 # Disable OVN services
770 br-ex-tcpdump: false
771 br-int-flows: false
772 ovn-controller: false
773 ovn-northd: false
774 ovs-vswitchd: false
775 ovsdb-server: false
776 q-ovn-metadata-agent: false
777 # Neutron services
778 q-agt: true
779 q-dhcp: true
780 q-l3: true
781 q-meta: true
782 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200783 neutron-dns: true
784 neutron-qos: true
785 neutron-segments: true
786 neutron-trunk: true
787 neutron-log: true
788 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100789 # Cinder services
790 c-api: false
791 c-bak: false
792 c-sch: false
793 c-vol: false
794 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100795 # We don't need Swift to be run in the Neutron jobs
796 s-account: false
797 s-container: false
798 s-object: false
799 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200800 devstack_local_conf:
801 post-config:
802 $NEUTRON_CONF:
803 quotas:
804 quota_router: 100
805 quota_floatingip: 500
806 quota_security_group: 100
807 quota_security_group_rule: 1000
808 DEFAULT:
809 router_distributed: True
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200810 "/$NEUTRON_CORE_PLUGIN_CONF":
811 ml2:
812 type_drivers: flat,geneve,vlan,gre,local,vxlan
813 mechanism_drivers: openvswitch,l2population
814 ml2_type_vlan:
815 network_vlan_ranges: foo:1:10
816 ml2_type_vxlan:
817 vni_ranges: 1:2000
818 ml2_type_gre:
819 tunnel_id_ranges: 1:1000
820 agent:
821 enable_distributed_routing: True
822 l2_population: True
823 tunnel_types: vxlan,gre
824 ovs:
825 tunnel_bridge: br-tun
826 bridge_mappings: public:br-ex
827 $NEUTRON_L3_CONF:
828 DEFAULT:
829 agent_mode: dvr_snat
830 agent:
831 availability_zone: nova
832 $NEUTRON_DHCP_CONF:
833 agent:
834 availability_zone: nova
835 "/etc/neutron/api-paste.ini":
836 "composite:neutronapi_v2_0":
837 use: "call:neutron.auth:pipeline_factory"
838 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
839 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
840 test-config:
841 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100842 network-feature-enabled:
843 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200844 neutron_plugin_options:
845 provider_vlans: foo,
846 agent_availability_zone: nova
847 image_is_advanced: true
848 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
849 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600850 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200851 group-vars:
852 subnode:
853 devstack_services:
Slawek Kaplonski579b6df2021-06-11 08:47:32 +0200854 tls-proxy: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200855 br-ex-tcpdump: false
856 br-int-flows: false
857 # Disable OVN services
858 ovn-controller: false
859 ovn-northd: false
860 ovs-vswitchd: false
861 ovsdb-server: false
862 q-ovn-metadata-agent: false
863 # Neutron services
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200864 q-agt: true
865 q-l3: true
866 q-meta: true
867 neutron-qos: true
868 neutron-trunk: true
869 neutron-log: true
870 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100871 # Cinder services
872 c-bak: false
873 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100874 # We don't need Swift to be run in the Neutron jobs
875 s-account: false
876 s-container: false
877 s-object: false
878 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200879 devstack_localrc:
880 USE_PYTHON3: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200881 Q_AGENT: openvswitch
882 Q_ML2_TENANT_NETWORK_TYPE: vxlan
883 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200884 devstack_local_conf:
885 post-config:
886 $NEUTRON_CONF:
887 DEFAULT:
888 router_distributed: True
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200889 "/$NEUTRON_CORE_PLUGIN_CONF":
890 agent:
891 enable_distributed_routing: True
892 l2_population: True
893 tunnel_types: vxlan,gre
894 ovs:
895 tunnel_bridge: br-tun
896 bridge_mappings: public:br-ex
897 $NEUTRON_L3_CONF:
898 DEFAULT:
899 agent_mode: dvr_snat
900 agent:
901 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100902 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200903
904- job:
905 name: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200906 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200907 description: Neutron designate integration scenario
908 required-projects:
909 - openstack/designate
910 - openstack/designate-dashboard
911 - openstack/designate-tempest-plugin
912 timeout: 3600
913 vars:
914 network_api_extensions_common: *api_extensions
915 devstack_localrc:
916 DESIGNATE_BACKEND_DRIVER: bind9
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200917 # In this job advanced image is not needed, so it's name should be
918 # empty
919 ADVANCED_IMAGE_NAME: ""
920 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200921 devstack_plugins:
922 designate: https://opendev.org/openstack/designate.git
923 devstack_services:
924 cinder: false
925 designate: true
926 tempest_plugins:
927 - designate-tempest-plugin
928 - neutron-tempest-plugin
929 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100930 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +0530931 - ^\.pylintrc$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100932 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530933 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100934 - ^releasenotes/.*$
935 - ^doc/.*$
936 - ^setup.cfg$
937 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530938 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100939 - ^neutron/locale/.*$
940 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530941 - ^neutron/tests/fullstack/.*
942 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100943 - ^tools/.*$
944 - ^tox.ini$
yatinkarel1ecc1e52023-03-28 12:01:02 +0530945 - ^plugin.spec$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100946 - ^neutron/agent/.*$
947 - ^neutron/cmd/.*$
948 - ^neutron/privileged/.*$
949 - ^neutron/plugins/ml2/drivers/.*$
950 - ^neutron/scheduler/.*$
951 - ^neutron/services/(?!externaldns).*$
yatinkarel9d85f292022-01-27 17:26:57 +0530952 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530953 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
954 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530955 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530956 - ^roles/.*functional.*$
957 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530958 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530959 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200960
961- job:
962 name: neutron-tempest-plugin-sfc
963 parent: neutron-tempest-plugin-base
964 timeout: 10800
965 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200966 - openstack/networking-sfc
967 - openstack/neutron
968 - openstack/neutron-tempest-plugin
969 - openstack/tempest
970 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200971 devstack_services:
972 # Disable OVN services
973 br-ex-tcpdump: false
974 br-int-flows: false
975 ovn-controller: false
976 ovn-northd: false
977 ovs-vswitchd: false
978 ovsdb-server: false
979 q-ovn-metadata-agent: false
980 # Enable Neutron services that are not used by OVN
981 q-agt: true
982 q-dhcp: true
983 q-l3: true
984 q-meta: true
985 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200986 tempest_test_regex: ^neutron_tempest_plugin\.sfc
987 devstack_plugins:
988 networking-sfc: https://opendev.org/openstack/networking-sfc
989 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
990 network_api_extensions_sfc:
991 - flow_classifier
992 - sfc
993 devstack_localrc:
Slawek Kaplonskifea6b0b2023-01-04 10:16:20 +0100994 # TODO(slaweq): check why traceroute output is different in Cirros >
995 # 0.6.1 which is causing failures of the networking-sfc jobs
996 CIRROS_VERSION: 0.5.1
997 DEFAULT_IMAGE_NAME: cirros-0.5.1-x86_64-uec
998 DEFAULT_IMAGE_FILE_NAME: cirros-0.5.1-x86_64-uec.tar.gz
elajkat3d7420a2021-05-12 11:28:40 +0200999 Q_AGENT: openvswitch
1000 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1001 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001002 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
1003 # TODO(bcafarel): tests still fail from time to time in parallel
1004 # https://bugs.launchpad.net/neutron/+bug/1851500
1005 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
1006 tempest_concurrency: 1
yatinkarel007c22f2021-12-10 15:15:45 +05301007 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +05301008 - ^\.pylintrc$
yatinkarel007c22f2021-12-10 15:15:45 +05301009 - ^(test-|)requirements.txt$
1010 - lower-constraints.txt
1011 - ^releasenotes/.*$
1012 - ^doc/.*$
1013 - ^.*\.conf\.sample$
1014 - ^setup.cfg$
1015 - ^.*\.rst$
1016 - ^neutron/locale/.*$
1017 - ^neutron/tests/unit/.*$
1018 - ^neutron/tests/fullstack/.*
1019 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301020 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301021 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|tap_as_a_service|vpnaas).*$
1022 - ^neutron_tempest_plugin/services/bgp/.*$
1023 - ^tools/.*$
1024 - ^tox.ini$
yatinkarel1ecc1e52023-03-28 12:01:02 +05301025 - ^plugin.spec$
yatinkarel007c22f2021-12-10 15:15:45 +05301026 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301027 - ^roles/.*functional.*$
1028 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301029 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301030 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001031
1032- job:
1033 name: neutron-tempest-plugin-bgpvpn-bagpipe
1034 parent: neutron-tempest-plugin-base
1035 required-projects:
1036 - openstack/networking-bagpipe
1037 - openstack/networking-bgpvpn
1038 vars:
elajkat3d7420a2021-05-12 11:28:40 +02001039 devstack_services:
1040 # Disable OVN services
1041 br-ex-tcpdump: false
1042 br-int-flows: false
1043 ovn-controller: false
1044 ovn-northd: false
1045 ovs-vswitchd: false
1046 ovsdb-server: false
1047 q-ovn-metadata-agent: false
1048 # Enable Neutron services that are not used by OVN
1049 q-agt: true
1050 q-dhcp: true
1051 q-l3: true
1052 q-meta: true
1053 q-metering: true
yatinkarelb8e69d32022-09-13 17:48:00 +05301054 tempest_concurrency: 4
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001055 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001056 network_api_extensions_bgpvpn:
1057 - bgpvpn
1058 - bgpvpn-routes-control
1059 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +02001060 Q_AGENT: openvswitch
1061 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1062 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001063 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
1064 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
1065 BAGPIPE_BGP_PEERS: "-"
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001066 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgpvpn) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001067 devstack_plugins:
1068 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
1069 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
yatinkarel007c22f2021-12-10 15:15:45 +05301070 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +05301071 - ^\.pylintrc$
yatinkarel007c22f2021-12-10 15:15:45 +05301072 - ^(test-|)requirements.txt$
1073 - lower-constraints.txt
1074 - ^releasenotes/.*$
1075 - ^doc/.*$
1076 - ^.*\.conf\.sample$
1077 - ^setup.cfg$
1078 - ^.*\.rst$
1079 - ^neutron/locale/.*$
1080 - ^neutron/tests/unit/.*$
1081 - ^neutron/tests/fullstack/.*
1082 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301083 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301084 - ^neutron_tempest_plugin/(fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
1085 - ^neutron_tempest_plugin/services/bgp/.*$
1086 - ^tools/.*$
1087 - ^tox.ini$
yatinkarel1ecc1e52023-03-28 12:01:02 +05301088 - ^plugin.spec$
yatinkarel007c22f2021-12-10 15:15:45 +05301089 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301090 - ^roles/.*functional.*$
1091 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301092 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301093 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001094
1095- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001096 name: neutron-tempest-plugin-dynamic-routing
1097 parent: neutron-tempest-plugin-base
1098 description: |
1099 Perform setup common to all Neutron dynamic routing tempest tests
1100 required-projects:
1101 - openstack/neutron
1102 - openstack/neutron-dynamic-routing
1103 - openstack/os-ken
1104 - openstack/tempest
1105 pre-run: playbooks/dynamic-routing-pre-run.yaml
1106 vars:
1107 devstack_plugins:
1108 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
1109 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001110 network_api_extensions_bgp:
1111 - bgp
1112 - bgp_dragent_scheduler
1113 - bgp_4byte_asn
1114 devstack_localrc:
1115 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +01001116 Q_AGENT: openvswitch
1117 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1118 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001119 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +01001120 # Disable OVN services
1121 br-ex-tcpdump: false
1122 br-int-flows: false
1123 ovn-controller: false
1124 ovn-northd: false
1125 ovs-vswitchd: false
1126 ovsdb-server: false
1127 q-ovn-metadata-agent: false
1128 # Neutron services
1129 q-agt: true
1130 q-dhcp: true
1131 q-meta: true
1132 q-metering: true
1133 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001134 neutron-dr: true
1135 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001136 tempest_concurrency: 1
1137 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
yatinkarel007c22f2021-12-10 15:15:45 +05301138 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +05301139 - ^\.pylintrc$
yatinkarel007c22f2021-12-10 15:15:45 +05301140 - ^(test-|)requirements.txt$
1141 - lower-constraints.txt
1142 - ^releasenotes/.*$
1143 - ^doc/.*$
1144 - ^.*\.conf\.sample$
1145 - ^setup.cfg$
1146 - ^.*\.rst$
1147 - ^neutron/locale/.*$
1148 - ^neutron/tests/unit/.*$
1149 - ^neutron/tests/fullstack/.*
1150 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301151 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301152 - ^neutron_tempest_plugin/(bgpvpn|fwaas|sfc|tap_as_a_service|vpnaas).*$
1153 - ^tools/.*$
1154 - ^tox.ini$
yatinkarel1ecc1e52023-03-28 12:01:02 +05301155 - ^plugin.spec$
yatinkarel007c22f2021-12-10 15:15:45 +05301156 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301157 - ^roles/.*functional.*$
1158 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301159 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301160 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001161
1162- job:
zhouhenglc446cc592022-02-09 10:19:06 +08001163 name: neutron-tempest-plugin-fwaas
1164 parent: neutron-tempest-plugin-base
1165 timeout: 10800
1166 required-projects:
1167 - openstack/devstack-gate
1168 - openstack/neutron-fwaas
1169 - openstack/neutron
1170 - openstack/neutron-tempest-plugin
1171 - openstack/tempest
1172 vars:
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001173 tempest_concurrency: 4
zhouhenglc446cc592022-02-09 10:19:06 +08001174 tempest_test_regex: ^neutron_tempest_plugin\.fwaas
1175 devstack_plugins:
1176 neutron-fwaas: https://opendev.org/openstack/neutron-fwaas.git
1177 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
zhouhenglc446cc592022-02-09 10:19:06 +08001178 network_api_extensions_fwaas:
1179 - fwaas_v2
1180 devstack_localrc:
1181 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_fwaas) | join(',') }}"
1182 Q_AGENT: openvswitch
1183 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1184 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1185 devstack_services:
1186 # Disable OVN services
1187 br-ex-tcpdump: false
1188 br-int-flows: false
1189 ovn-controller: false
1190 ovn-northd: false
1191 q-ovn-metadata-agent: false
1192 # Neutron services
1193 q-agt: true
1194 q-dhcp: true
1195 q-meta: true
1196 q-metering: true
1197 q-l3: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001198 neutron-log: false
yatinkarel91821d22022-05-19 11:11:50 +05301199 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +05301200 - ^\.pylintrc$
yatinkarel91821d22022-05-19 11:11:50 +05301201 - ^(test-|)requirements.txt$
1202 - ^releasenotes/.*$
1203 - ^doc/.*$
1204 - ^.*\.conf\.sample$
1205 - ^setup.cfg$
1206 - ^.*\.rst$
1207 - ^neutron/locale/.*$
1208 - ^neutron/tests/unit/.*$
1209 - ^neutron/tests/fullstack/.*
1210 - ^neutron/tests/functional/.*
1211 - ^neutron_tempest_plugin/api/test_.*$
1212 - ^neutron_tempest_plugin/(bgpvpn|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
1213 - ^neutron_tempest_plugin/services/bgp/.*$
1214 - ^tools/.*$
1215 - ^tox.ini$
yatinkarel1ecc1e52023-03-28 12:01:02 +05301216 - ^plugin.spec$
yatinkarel91821d22022-05-19 11:11:50 +05301217 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301218 - ^roles/.*functional.*$
1219 - ^playbooks/.*functional.*$
yatinkarel91821d22022-05-19 11:11:50 +05301220 - ^vagrant/.*$
1221 - ^zuul.d/(?!(project)).*\.yaml
zhouhenglc446cc592022-02-09 10:19:06 +08001222
1223- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001224 name: neutron-tempest-plugin-vpnaas
1225 parent: neutron-tempest-plugin-base
1226 timeout: 3900
1227 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001228 - openstack/neutron
1229 - openstack/neutron-vpnaas
1230 - openstack/neutron-tempest-plugin
1231 - openstack/tempest
1232 vars:
yatinkarelb8e69d32022-09-13 17:48:00 +05301233 tempest_concurrency: 4
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001234 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
1235 devstack_plugins:
1236 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
1237 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
1238 network_api_extensions_common: *api_extensions
1239 network_api_extensions_vpnaas:
1240 - vpnaas
1241 devstack_localrc:
1242 IPSEC_PACKAGE: strongswan
1243 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"
elajkat3a98dae2021-09-17 17:25:27 +02001244 Q_AGENT: openvswitch
1245 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1246 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1247 devstack_services:
1248 # Disable OVN services
1249 br-ex-tcpdump: false
1250 br-int-flows: false
1251 ovn-controller: false
1252 ovn-northd: false
1253 ovs-vswitchd: false
1254 ovsdb-server: false
1255 q-ovn-metadata-agent: false
1256 # Neutron services
1257 q-agt: true
1258 q-dhcp: true
1259 q-meta: true
1260 q-metering: true
1261 q-l3: true
yatinkarel007c22f2021-12-10 15:15:45 +05301262 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +05301263 - ^\.pylintrc$
yatinkarel007c22f2021-12-10 15:15:45 +05301264 - ^(test-|)requirements.txt$
1265 - lower-constraints.txt
1266 - ^releasenotes/.*$
1267 - ^doc/.*$
1268 - ^.*\.conf\.sample$
1269 - ^setup.cfg$
1270 - ^.*\.rst$
1271 - ^neutron/locale/.*$
1272 - ^neutron/tests/unit/.*$
1273 - ^neutron/tests/fullstack/.*
1274 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301275 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301276 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service).*$
1277 - ^neutron_tempest_plugin/services/bgp/.*$
1278 - ^tools/.*$
1279 - ^tox.ini$
yatinkarel1ecc1e52023-03-28 12:01:02 +05301280 - ^plugin.spec$
yatinkarel007c22f2021-12-10 15:15:45 +05301281 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301282 - ^roles/.*functional.*$
1283 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301284 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301285 - ^zuul.d/(?!(project)).*\.yaml
elajkat4abd0682021-08-06 16:05:23 +02001286
1287- job:
1288 name: neutron-tempest-plugin-tap-as-a-service
1289 parent: neutron-tempest-plugin-base
1290 description: |
1291 Perform setup common to all tap-as-a-service tempest tests
1292 roles:
1293 - zuul: openstack/devstack
1294 required-projects:
1295 - openstack/devstack-gate
1296 - openstack/neutron
1297 - openstack/neutron-tempest-plugin
1298 - openstack/tap-as-a-service
1299 - openstack/tempest
1300 vars:
yatinkarelb8e69d32022-09-13 17:48:00 +05301301 tempest_concurrency: 4
elajkat4abd0682021-08-06 16:05:23 +02001302 tempest_test_regex: ^neutron_tempest_plugin\.tap_as_a_service
1303 tox_envlist: all
elajkat4abd0682021-08-06 16:05:23 +02001304 network_api_extensions_tempest:
1305 - taas
1306 - taas-vlan-filter
1307 devstack_localrc:
1308 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
elajkat4abd0682021-08-06 16:05:23 +02001309 BUILD_TIMEOUT: 784
1310 Q_AGENT: openvswitch
elajkat1f275e42021-10-15 12:47:55 +02001311 Q_ML2_TENANT_NETWORK_TYPE: vxlan,vlan
elajkat4abd0682021-08-06 16:05:23 +02001312 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1313 devstack_local_conf:
1314 post-config:
1315 /$NEUTRON_CORE_PLUGIN_CONF:
1316 AGENT:
elajkat1f275e42021-10-15 12:47:55 +02001317 tunnel_types: vxlan
1318 ml2_type_vlan:
1319 network_vlan_ranges: public
elajkat4abd0682021-08-06 16:05:23 +02001320 test-config:
1321 $TEMPEST_CONFIG:
elajkat1f275e42021-10-15 12:47:55 +02001322 neutron_plugin_options:
1323 image_is_advanced: true
1324 advanced_image_flavor_ref: d1
1325 taas:
elajkat4abd0682021-08-06 16:05:23 +02001326 provider_physical_network: public
1327 provider_segmentation_id: 100
1328 image_feature_enabled:
1329 api_v2: true
1330 devstack_plugins:
1331 neutron: git://opendev.org/openstack/neutron.git
1332 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
1333 tap-as-a-service: git://opendev.org/openstack/tap-as-a-service.git
1334 devstack_services:
1335 # Disable OVN services
1336 ovn-controller: false
1337 ovn-northd: false
1338 ovs-vswitchd: false
1339 ovsdb-server: false
1340 q-ovn-metadata-agent: false
1341 # Enable Neutron services that are not used by OVN
1342 q-agt: true
1343 q-dhcp: true
1344 q-l3: true
1345 q-meta: true
1346 q-metering: true
1347 br-ex-tcpdump: true
1348 br-int-flows: true
1349 base: false
1350 key: true
1351 mysql: true
1352 rabbit: true
1353 g-api: true
1354 g-reg: true
1355 n-api: true
1356 n-cond: true
1357 n-cpu: true
1358 n-crt: true
1359 n-sch: true
1360 placement-api: true
1361 n-api-meta: true
1362 q-svc: true
1363 quantum: true
1364 taas: true
1365 taas_openvswitch_agent: true
1366 tempest: true
1367 dstat: true
yatinkarel007c22f2021-12-10 15:15:45 +05301368 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +05301369 - ^\.pylintrc$
elajkat4abd0682021-08-06 16:05:23 +02001370 - ^(test-|)requirements.txt$
yatinkarel007c22f2021-12-10 15:15:45 +05301371 - lower-constraints.txt
elajkat4abd0682021-08-06 16:05:23 +02001372 - ^releasenotes/.*$
1373 - ^doc/.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301374 - ^.*\.conf\.sample$
1375 - ^setup.cfg$
elajkat4abd0682021-08-06 16:05:23 +02001376 - ^.*\.rst$
yatinkarel007c22f2021-12-10 15:15:45 +05301377 - ^neutron/locale/.*$
1378 - ^neutron/tests/unit/.*$
1379 - ^neutron/tests/fullstack/.*
1380 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301381 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301382 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|vpnaas).*$
1383 - ^neutron_tempest_plugin/services/bgp/.*$
elajkat4abd0682021-08-06 16:05:23 +02001384 - ^tools/.*$
1385 - ^tox.ini$
yatinkarel1ecc1e52023-03-28 12:01:02 +05301386 - ^plugin.spec$
yatinkarel007c22f2021-12-10 15:15:45 +05301387 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301388 - ^roles/.*functional.*$
1389 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301390 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301391 - ^zuul.d/(?!(project)).*\.yaml