blob: 56db49dd3c6aba26a84172cb394d59bfeb41bd88 [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 /$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$
207 - ^neutron/agent/.*$
208 - ^neutron/privileged/.*$
Takashi Kajinamia78d12a2021-08-22 13:25:18 +0900209 - ^neutron_lib/tests/unit/.*$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100210 - ^neutron_tempest_plugin/scenario/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530211 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530212 - ^roles/.*functional.*$
213 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530214 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530215 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100216
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200217- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200218 name: neutron-tempest-plugin-openvswitch
219 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200220 timeout: 10000
221 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530222 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100223 devstack_services:
224 # Disable OVN services
225 br-ex-tcpdump: false
226 br-int-flows: false
227 ovn-controller: false
228 ovn-northd: false
229 ovs-vswitchd: false
230 ovsdb-server: false
231 q-ovn-metadata-agent: false
232 # Neutron services
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300233 neutron-local-ip-static: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100234 q-agt: true
235 q-dhcp: true
236 q-l3: true
237 q-meta: true
238 q-metering: true
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300239 network_api_extensions_openvswitch:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200240 - dhcp_agent_scheduler
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300241 - local_ip
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200242 - qos-bw-minimum-ingress
243 network_available_features: &available_features
244 - ipv6_metadata
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200245 devstack_localrc:
246 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100247 Q_ML2_TENANT_NETWORK_TYPE: vxlan
248 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200249 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_openvswitch) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200250 devstack_local_conf:
251 post-config:
252 $NEUTRON_CONF:
253 DEFAULT:
254 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200255 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200256 /$NEUTRON_CORE_PLUGIN_CONF:
257 agent:
258 tunnel_types: vxlan,gre
259 ovs:
260 tunnel_bridge: br-tun
261 bridge_mappings: public:br-ex
Rodolfo Alonso Hernandez68596be2022-05-03 14:51:54 +0000262 openflow_processed_per_port: True
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200263 test-config:
264 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100265 network-feature-enabled:
266 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200267 neutron_plugin_options:
268 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600269 firewall_driver: openvswitch
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100270 irrelevant-files: &openvswitch-scenario-irrelevant-files
yatinkarel3ff83002022-09-27 10:55:55 +0530271 - ^\.pylintrc$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100272 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530273 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100274 - ^releasenotes/.*$
275 - ^doc/.*$
276 - ^setup.cfg$
277 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530278 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100279 - ^neutron/locale/.*$
280 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530281 - ^neutron/tests/fullstack/.*
282 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100283 - ^tools/.*$
284 - ^tox.ini$
285 - ^neutron/agent/ovn/.*$
286 - ^neutron/agent/windows/.*$
287 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
288 - ^neutron/plugins/ml2/drivers/macvtap/.*$
289 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
290 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530291 - ^neutron/services/ovn_l3/.*$
292 - ^neutron/services/logapi/drivers/ovn/.*$
293 - ^neutron/services/portforwarding/drivers/ovn/.*$
294 - ^neutron/services/qos/drivers/linuxbridge/.*$
295 - ^neutron/services/qos/drivers/ovn/.*$
296 - ^neutron/services/trunk/drivers/linuxbridge/.*$
297 - ^neutron/services/trunk/drivers/ovn/.*$
298 - ^neutron/cmd/ovn/.*$
299 - ^neutron/common/ovn/.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530300 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
301 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530302 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530303 - ^roles/.*functional.*$
304 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530305 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530306 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200307
308- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200309 name: neutron-tempest-plugin-openvswitch-iptables_hybrid
310 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200311 timeout: 10000
312 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530313 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100314 devstack_services:
315 # Disable OVN services
316 br-ex-tcpdump: false
317 br-int-flows: false
318 ovn-controller: false
319 ovn-northd: false
320 ovs-vswitchd: false
321 ovsdb-server: false
322 q-ovn-metadata-agent: false
323 # Neutron services
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300324 neutron-local-ip: true
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100325 q-agt: true
326 q-dhcp: true
327 q-l3: true
328 q-meta: true
329 q-metering: true
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300330 network_api_extensions_openvswitch:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200331 - dhcp_agent_scheduler
Nurmatov Mamatisa1b1c9d32021-12-27 15:37:03 +0300332 - local_ip
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200333 - logging
elajkat8bbd7432020-11-04 16:41:34 +0100334 network_available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200335 # TODO(slaweq): remove trunks subport_connectivity test from blacklist
336 # when bug https://bugs.launchpad.net/neutron/+bug/1838760 will be fixed
Alex Katzbd2bfd42021-05-26 18:12:36 +0300337 # TODO(akatz): remove established tcp session verification test when the
338 # bug https://bugzilla.redhat.com/show_bug.cgi?id=1965036 will be fixed
339 tempest_exclude_regex: "\
340 (^neutron_tempest_plugin.scenario.test_trunk.TrunkTest.test_subport_connectivity)|\
341 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200342 devstack_localrc:
343 Q_AGENT: openvswitch
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100344 Q_ML2_TENANT_NETWORK_TYPE: vxlan
345 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200346 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_openvswitch) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200347 devstack_local_conf:
348 post-config:
349 $NEUTRON_CONF:
350 DEFAULT:
351 enable_dvr: false
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200352 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200353 /$NEUTRON_CORE_PLUGIN_CONF:
354 agent:
355 tunnel_types: vxlan,gre
356 ovs:
357 tunnel_bridge: br-tun
358 bridge_mappings: public:br-ex
359 securitygroup:
360 firewall_driver: iptables_hybrid
361 test-config:
362 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100363 network-feature-enabled:
364 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200365 neutron_plugin_options:
366 available_type_drivers: flat,vlan,local,vxlan
Hang Yange6e0ccf2021-02-26 15:07:05 -0600367 firewall_driver: iptables_hybrid
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100368 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +0530369 - ^\.pylintrc$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100370 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530371 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100372 - ^releasenotes/.*$
373 - ^doc/.*$
374 - ^setup.cfg$
375 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530376 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100377 - ^neutron/locale/.*$
378 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530379 - ^neutron/tests/fullstack/.*
380 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100381 - ^tools/.*$
382 - ^tox.ini$
383 - ^neutron/agent/linux/openvswitch_firewall/.*$
384 - ^neutron/agent/ovn/.*$
385 - ^neutron/agent/windows/.*$
386 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
387 - ^neutron/plugins/ml2/drivers/macvtap/.*$
388 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
389 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530390 - ^neutron/services/ovn_l3/.*$
391 - ^neutron/services/logapi/drivers/ovn/.*$
392 - ^neutron/services/portforwarding/drivers/ovn/.*$
393 - ^neutron/services/qos/drivers/linuxbridge/.*$
394 - ^neutron/services/qos/drivers/ovn/.*$
395 - ^neutron/services/trunk/drivers/linuxbridge/.*$
396 - ^neutron/services/trunk/drivers/ovn/.*$
397 - ^neutron/cmd/ovn/.*$
398 - ^neutron/common/ovn/.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530399 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
400 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530401 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530402 - ^roles/.*functional.*$
403 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530404 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530405 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200406
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200407# TODO(slaweq): remove that job's definition as soon as new job
408# "neutron-tempest-plugin-openvswitch-iptables_hybrid" will be used in the
409# neutron repo as a parent for a
410# "neutron-ovs-tempest-plugin-scenario-iptables_hybrid-nftables" job
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200411- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200412 name: neutron-tempest-plugin-scenario-openvswitch-iptables_hybrid
413 parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
414
415- job:
416 name: neutron-tempest-plugin-openvswitch-distributed-dhcp
417 parent: neutron-tempest-plugin-openvswitch
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200418 timeout: 10000
419 vars:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200420 network_api_extensions_openvswitch:
421 - local_ip
422 - qos-bw-minimum-ingress
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200423 # NOTE: DHCP extra options and dns services aren't supported with
424 # distributed DHCP L2 agent extension
425 tempest_exclude_regex: "\
426 (^neutron_tempest_plugin.scenario.test_dhcp.DHCPTest.test_extra_dhcp_opts)|\
427 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
428 devstack_services:
429 q-dhcp: false
430 q-distributed-dhcp: true
431
432- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200433 name: neutron-tempest-plugin-openvswitch-iptables_hybrid-distributed-dhcp
434 parent: neutron-tempest-plugin-openvswitch-iptables_hybrid
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200435 timeout: 10000
436 vars:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200437 network_api_extensions_openvswitch:
438 - local_ip
439 - logging
Slawek Kaplonskie7198c02021-08-04 14:13:37 +0200440 # NOTE: DHCP extra options and dns services aren't supported with
441 # distributed DHCP L2 agent extension
442 tempest_exclude_regex: "\
443 (^neutron_tempest_plugin.scenario.test_dhcp.DHCPTest.test_extra_dhcp_opts)|\
444 (^neutron_tempest_plugin.scenario.test_internal_dns.InternalDNSTest.test_dns_domain_and_name)"
445 devstack_services:
446 q-dhcp: false
447 q-distributed-dhcp: true
448
449- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200450 name: neutron-tempest-plugin-linuxbridge
451 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200452 timeout: 10000
Slawek Kaplonskide8e5032020-08-27 09:12:43 +0200453 roles:
454 - zuul: openstack/neutron
455 pre-run: playbooks/linuxbridge-scenario-pre-run.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200456 vars:
yatinkarel9853a012022-06-15 12:55:13 +0530457 configure_swap_size: 2048
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100458 devstack_services:
459 # Disable OVN services
460 br-ex-tcpdump: false
461 br-int-flows: false
462 ovn-controller: false
463 ovn-northd: false
464 ovs-vswitchd: false
465 ovsdb-server: false
466 q-ovn-metadata-agent: false
467 # Neutron services
468 q-agt: true
469 q-dhcp: true
470 q-l3: true
471 q-meta: true
472 q-metering: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200473 # SG logging isn't supported by linuxbridge backend
474 neutron-log: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100475 network_api_extensions_linuxbridge:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200476 - dhcp_agent_scheduler
Eduardo Olivares088707b2020-12-01 21:13:45 +0100477 - vlan-transparent
elajkat8bbd7432020-11-04 16:41:34 +0100478 network_available_features: *available_features
Eduardo Olivares088707b2020-12-01 21:13:45 +0100479 # TODO(eolivare): remove VLAN Transparency tests from blacklist
480 # when bug https://bugs.launchpad.net/neutron/+bug/1907548 will be fixed
Slawek Kaplonskicc63c422021-07-21 10:20:18 +0200481 # TODO(slaweq): remove
482 # test_established_tcp_session_after_re_attachinging_sg from the
483 # exclude regex when bug https://bugs.launchpad.net/neutron/+bug/1936911
484 # will be fixed
Slawek Kaplonski3fe3a902022-04-13 09:46:24 +0200485 # TODO(slaweq) remove test_floatingip_port_details from the exclude
486 # regex when bug https://bugs.launchpad.net/neutron/+bug/1799790 will be
487 # fixed
Slawek Kaplonskicc63c422021-07-21 10:20:18 +0200488 tempest_exclude_regex: "\
489 (^neutron_tempest_plugin.scenario.test_vlan_transparency.VlanTransparencyTest)|\
Slawek Kaplonski3fe3a902022-04-13 09:46:24 +0200490 (^neutron_tempest_plugin.scenario.test_security_groups.NetworkSecGroupTest.test_established_tcp_session_after_re_attachinging_sg)|\
491 (^neutron_tempest_plugin.scenario.test_floatingip.FloatingIPPortDetailsTest.test_floatingip_port_details)"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200492 devstack_localrc:
493 Q_AGENT: linuxbridge
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200494 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_linuxbridge) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +0100495 Q_ML2_TENANT_NETWORK_TYPE: vxlan
496 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200497 devstack_local_conf:
498 post-config:
499 $NEUTRON_CONF:
500 DEFAULT:
501 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100502 vlan_transparent: true
Slawek Kaplonski24ad1f32020-08-11 11:01:34 +0200503 l3_ha: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200504 AGENT:
505 debug_iptables_rules: true
Miguel Lavalle22173b82022-06-13 17:53:50 -0500506 EXPERIMENTAL:
507 linuxbridge: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200508 /$NEUTRON_CORE_PLUGIN_CONF:
509 ml2:
510 type_drivers: flat,vlan,local,vxlan
Eduardo Olivares088707b2020-12-01 21:13:45 +0100511 mechanism_drivers: linuxbridge
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200512 test-config:
513 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100514 network-feature-enabled:
515 available_features: "{{ network_available_features | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200516 neutron_plugin_options:
517 available_type_drivers: flat,vlan,local,vxlan
518 q_agent: linuxbridge
Hang Yange6e0ccf2021-02-26 15:07:05 -0600519 firewall_driver: iptables
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100520 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +0530521 - ^\.pylintrc$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100522 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530523 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100524 - ^releasenotes/.*$
525 - ^doc/.*$
526 - ^setup.cfg$
527 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530528 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100529 - ^neutron/locale/.*$
530 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530531 - ^neutron/tests/fullstack/.*
532 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100533 - ^tools/.*$
534 - ^tox.ini$
535 - ^neutron/agent/linux/openvswitch_firewall/.*$
536 - ^neutron/agent/ovn/.*$
537 - ^neutron/agent/windows/.*$
538 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
539 - ^neutron/plugins/ml2/drivers/macvtap/.*$
540 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
541 - ^neutron/plugins/ml2/drivers/ovn/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530542 - ^neutron/services/ovn_l3/.*$
543 - ^neutron/services/logapi/drivers/openvswitch/.*$
544 - ^neutron/services/logapi/drivers/ovn/.*$
545 - ^neutron/services/portforwarding/drivers/ovn/.*$
546 - ^neutron/services/qos/drivers/openvswitch/.*$
547 - ^neutron/services/qos/drivers/ovn/.*$
548 - ^neutron/services/trunk/drivers/openvswitch/.*$
549 - ^neutron/services/trunk/drivers/ovn/.*$
550 - ^neutron/cmd/ovn/.*$
551 - ^neutron/common/ovn/.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530552 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
553 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530554 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530555 - ^roles/.*functional.*$
556 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530557 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530558 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200559
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200560# TODO(slaweq): remove that job's definition as soon as new job
561# "neutron-tempest-plugin-linuxbridge" will be used in the neutron repo as
562# a parent for a "neutron-linuxbridge-tempest-plugin-scenario-nftables" job
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200563- job:
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200564 name: neutron-tempest-plugin-scenario-linuxbridge
565 parent: neutron-tempest-plugin-linuxbridge
566
567- job:
568 name: neutron-tempest-plugin-ovn
569 parent: neutron-tempest-plugin-base-nested-switch
Rodolfo Alonso Hernandez99acc992021-11-03 08:30:33 +0000570 timeout: 10800
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000571 vars:
Eduardo Olivares088707b2020-12-01 21:13:45 +0100572 network_api_extensions_ovn:
573 - vlan-transparent
Jakub Libosvar20591c52020-10-29 21:01:51 +0100574 # TODO(jlibosva): Remove the NetworkWritableMtuTest test from the list
575 # once east/west fragmentation is supported in core OVN
Ghanshyam Mannff54bba2021-02-11 13:17:16 -0600576 tempest_exclude_regex: "\
Jakub Libosvar20591c52020-10-29 21:01:51 +0100577 (^neutron_tempest_plugin.scenario.test_mtu.NetworkWritableMtuTest)"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000578 devstack_localrc:
579 Q_AGENT: ovn
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200580 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_ovn) | join(',') }}"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000581 Q_ML2_PLUGIN_MECHANISM_DRIVERS: ovn,logger
582 Q_ML2_PLUGIN_TYPE_DRIVERS: local,flat,vlan,geneve
583 Q_ML2_TENANT_NETWORK_TYPE: geneve
584 Q_USE_PROVIDERNET_FOR_PUBLIC: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000585 ENABLE_CHASSIS_AS_GW: true
586 OVN_L3_CREATE_PUBLIC_NETWORK: true
587 OVN_DBS_LOG_LEVEL: dbg
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000588 ENABLE_TLS: True
589 OVN_IGMP_SNOOPING_ENABLE: True
Eduardo Olivares088707b2020-12-01 21:13:45 +0100590 # TODO(eolivare): Remove OVN_BUILD_FROM_SOURCE once vlan-transparency
591 # is included in an ovn released version
592 OVN_BUILD_FROM_SOURCE: True
Daniel Alvarez Sanchez19b0b992021-07-14 11:21:56 +0200593 OVN_BRANCH: "v21.06.0"
Rodolfo Alonso Hernandez93f1e9b2022-03-20 06:47:39 +0000594 OVS_BRANCH: "a4b04276ab5934d087669ff2d191a23931335c87"
Slawek Kaplonski862cbeb2021-03-20 10:05:26 +0100595 OVS_SYSCONFDIR: "/usr/local/etc/openvswitch"
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000596 devstack_services:
597 br-ex-tcpdump: true
598 br-int-flows: true
599 q-ovn-metadata-agent: true
600 ovn-controller: true
601 ovn-northd: true
602 ovs-vswitchd: true
603 ovsdb-server: true
604 q-agt: false
605 q-dhcp: false
606 q-l3: false
607 q-meta: false
608 q-metering: false
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100609 q-qos: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100610 # Cinder services
611 c-api: false
612 c-bak: false
613 c-sch: false
614 c-vol: false
615 cinder: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000616 s-account: false
617 s-container-sync: false
618 s-container: false
619 s-object: false
620 s-proxy: false
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000621 devstack_local_conf:
622 post-config:
623 $NEUTRON_CONF:
624 DEFAULT:
625 enable_dvr: false
Eduardo Olivares088707b2020-12-01 21:13:45 +0100626 vlan_transparent: true
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000627 /$NEUTRON_CORE_PLUGIN_CONF:
628 ml2:
629 type_drivers: local,flat,vlan,geneve
630 test-config:
631 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100632 network-feature-enabled:
633 available_features: ""
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000634 neutron_plugin_options:
635 available_type_drivers: local,flat,vlan,geneve
636 is_igmp_snooping_enabled: True
Hang Yange6e0ccf2021-02-26 15:07:05 -0600637 firewall_driver: ovn
Jakub Libosvar08f3c612021-02-07 15:50:23 +0100638 zuul_copy_output:
639 '{{ devstack_base_dir }}/data/ovs': 'logs'
640 '{{ devstack_base_dir }}/data/ovn': 'logs'
641 '{{ devstack_log_dir }}/ovsdb-server-nb.log': 'logs'
642 '{{ devstack_log_dir }}/ovsdb-server-sb.log': 'logs'
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200643 '/var/log/ovn': 'logs'
644 '/var/log/openvswitch': 'logs'
645 '/var/lib/ovn': 'logs'
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100646 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +0530647 - ^\.pylintrc$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100648 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530649 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100650 - ^releasenotes/.*$
651 - ^doc/.*$
652 - ^setup.cfg$
653 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530654 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100655 - ^neutron/locale/.*$
656 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530657 - ^neutron/tests/fullstack/.*
658 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100659 - ^tools/.*$
660 - ^tox.ini$
661 - ^neutron/agent/dhcp/.*$
662 - ^neutron/agent/l2/.*$
663 - ^neutron/agent/l3/.*$
664 - ^neutron/agent/metadata/.*$
665 - ^neutron/agent/windows/.*$
666 - ^neutron/agent/dhcp_agent.py
667 - ^neutron/agent/l3_agent.py
668 - ^neutron/agent/metadata_agent.py
669 - ^neutron/agent/resource_cache.py
670 - ^neutron/agent/rpc.py
671 - ^neutron/agent/securitygroup_rpc.py
672 - ^neutron/plugins/ml2/drivers/linuxbridge/.*$
673 - ^neutron/plugins/ml2/drivers/openvswitch/.*$
674 - ^neutron/plugins/ml2/drivers/macvtap/.*$
675 - ^neutron/plugins/ml2/drivers/mech_sriov/.*$
yatinkarel9d85f292022-01-27 17:26:57 +0530676 - ^neutron/services/qos/drivers/linuxbridge/.*$
677 - ^neutron/services/qos/drivers/openvswitch/.*$
678 - ^neutron/services/trunk/drivers/linuxbridge/.*$
679 - ^neutron/services/trunk/drivers/openvswitch/.*$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100680 - ^neutron/scheduler/.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530681 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
682 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530683 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530684 - ^roles/.*functional.*$
685 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530686 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530687 - ^zuul.d/(?!(project)).*\.yaml
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000688
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200689# TODO(slaweq): remove that job's definition as soon as new job
690# "neutron-tempest-plugin-ovn" will be used in the neutron-lib repo as
691# instead of old "neutron-tempest-plugin-api" job
692- job:
693 name: neutron-tempest-plugin-api
694 parent: neutron-tempest-plugin-ovn
695
Maciej Jozefczykf5855ac2020-06-10 13:17:27 +0000696- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200697 name: neutron-tempest-plugin-dvr-multinode-scenario
698 parent: tempest-multinode-full
699 description: |
700 Perform setup for Neutron tempest tests in multinode with DVR scenario
701 roles:
702 - zuul: openstack/devstack
703 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200704 - openstack/neutron
705 - openstack/neutron-tempest-plugin
706 - openstack/tempest
707 pre-run: playbooks/dvr-multinode-scenario-pre-run.yaml
708 voting: false
709 vars:
710 tempest_concurrency: 4
711 tox_envlist: all
712 tempest_test_regex: ^neutron_tempest_plugin\.scenario
713 # NOTE(slaweq): in case of some tests, which requires advanced image,
714 # default test timeout set to 1200 seconds may be not enough if job is
715 # run on slow node
716 tempest_test_timeout: 2400
717 network_api_extensions_common: *api_extensions
718 network_api_extensions_dvr:
Slawek Kaplonski909402b2022-09-23 09:35:09 +0200719 - dhcp_agent_scheduler
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200720 - dvr
721 devstack_localrc:
722 USE_PYTHON3: true
723 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_dvr) | join(',') }}"
724 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200725 CIRROS_VERSION: 0.5.1
yatinkarel165e4092021-12-08 19:19:34 +0530726 DEFAULT_IMAGE_NAME: cirros-0.5.1-x86_64-uec
727 DEFAULT_IMAGE_FILE_NAME: cirros-0.5.1-x86_64-uec.tar.gz
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200728 IMAGE_URLS: https://cloud-images.ubuntu.com/minimal/releases/focal/release/ubuntu-20.04-minimal-cloudimg-amd64.img
729 ADVANCED_IMAGE_NAME: ubuntu-20.04-minimal-cloudimg-amd64
730 ADVANCED_INSTANCE_TYPE: ntp_image_256M
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200731 ADVANCED_INSTANCE_USER: ubuntu
Slawek Kaplonski7e5923a2021-10-08 16:05:21 +0200732 CUSTOMIZE_IMAGE: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200733 BUILD_TIMEOUT: 784
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200734 Q_AGENT: openvswitch
735 Q_ML2_TENANT_NETWORK_TYPE: vxlan
736 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200737 devstack_plugins:
738 neutron: https://opendev.org/openstack/neutron.git
739 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
740 tempest_plugins:
741 - neutron-tempest-plugin
742 devstack_services:
Slawek Kaplonski579b6df2021-06-11 08:47:32 +0200743 tls-proxy: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200744 tempest: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200745 # Disable OVN services
746 br-ex-tcpdump: false
747 br-int-flows: false
748 ovn-controller: false
749 ovn-northd: false
750 ovs-vswitchd: false
751 ovsdb-server: false
752 q-ovn-metadata-agent: false
753 # Neutron services
754 q-agt: true
755 q-dhcp: true
756 q-l3: true
757 q-meta: true
758 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200759 neutron-dns: true
760 neutron-qos: true
761 neutron-segments: true
762 neutron-trunk: true
763 neutron-log: true
764 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100765 # Cinder services
766 c-api: false
767 c-bak: false
768 c-sch: false
769 c-vol: false
770 cinder: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100771 # We don't need Swift to be run in the Neutron jobs
772 s-account: false
773 s-container: false
774 s-object: false
775 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200776 devstack_local_conf:
777 post-config:
778 $NEUTRON_CONF:
779 quotas:
780 quota_router: 100
781 quota_floatingip: 500
782 quota_security_group: 100
783 quota_security_group_rule: 1000
784 DEFAULT:
785 router_distributed: True
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200786 "/$NEUTRON_CORE_PLUGIN_CONF":
787 ml2:
788 type_drivers: flat,geneve,vlan,gre,local,vxlan
789 mechanism_drivers: openvswitch,l2population
790 ml2_type_vlan:
791 network_vlan_ranges: foo:1:10
792 ml2_type_vxlan:
793 vni_ranges: 1:2000
794 ml2_type_gre:
795 tunnel_id_ranges: 1:1000
796 agent:
797 enable_distributed_routing: True
798 l2_population: True
799 tunnel_types: vxlan,gre
800 ovs:
801 tunnel_bridge: br-tun
802 bridge_mappings: public:br-ex
803 $NEUTRON_L3_CONF:
804 DEFAULT:
805 agent_mode: dvr_snat
806 agent:
807 availability_zone: nova
808 $NEUTRON_DHCP_CONF:
809 agent:
810 availability_zone: nova
811 "/etc/neutron/api-paste.ini":
812 "composite:neutronapi_v2_0":
813 use: "call:neutron.auth:pipeline_factory"
814 noauth: "cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0"
815 keystone: "cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0"
816 test-config:
817 $TEMPEST_CONFIG:
elajkat8bbd7432020-11-04 16:41:34 +0100818 network-feature-enabled:
819 available_features: *available_features
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200820 neutron_plugin_options:
821 provider_vlans: foo,
822 agent_availability_zone: nova
823 image_is_advanced: true
824 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
825 l3_agent_mode: dvr_snat
Hang Yange6e0ccf2021-02-26 15:07:05 -0600826 firewall_driver: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200827 group-vars:
828 subnode:
829 devstack_services:
Slawek Kaplonski579b6df2021-06-11 08:47:32 +0200830 tls-proxy: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200831 br-ex-tcpdump: false
832 br-int-flows: false
833 # Disable OVN services
834 ovn-controller: false
835 ovn-northd: false
836 ovs-vswitchd: false
837 ovsdb-server: false
838 q-ovn-metadata-agent: false
839 # Neutron services
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200840 q-agt: true
841 q-l3: true
842 q-meta: true
843 neutron-qos: true
844 neutron-trunk: true
845 neutron-log: true
846 neutron-port-forwarding: true
Slawek Kaplonski643820c2020-11-12 16:48:12 +0100847 # Cinder services
848 c-bak: false
849 c-vol: false
Slawek Kaplonskif2893442020-11-02 21:40:26 +0100850 # We don't need Swift to be run in the Neutron jobs
851 s-account: false
852 s-container: false
853 s-object: false
854 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200855 devstack_localrc:
856 USE_PYTHON3: true
Slawek Kaplonskic28b4002021-06-09 09:52:01 +0200857 Q_AGENT: openvswitch
858 Q_ML2_TENANT_NETWORK_TYPE: vxlan
859 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200860 devstack_local_conf:
861 post-config:
862 $NEUTRON_CONF:
863 DEFAULT:
864 router_distributed: True
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200865 "/$NEUTRON_CORE_PLUGIN_CONF":
866 agent:
867 enable_distributed_routing: True
868 l2_population: True
869 tunnel_types: vxlan,gre
870 ovs:
871 tunnel_bridge: br-tun
872 bridge_mappings: public:br-ex
873 $NEUTRON_L3_CONF:
874 DEFAULT:
875 agent_mode: dvr_snat
876 agent:
877 availability_zone: nova
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100878 irrelevant-files: *openvswitch-scenario-irrelevant-files
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200879
880- job:
881 name: neutron-tempest-plugin-designate-scenario
Slawek Kaplonski8988a012022-04-07 10:50:44 +0200882 parent: neutron-tempest-plugin-base-nested-switch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200883 description: Neutron designate integration scenario
884 required-projects:
885 - openstack/designate
886 - openstack/designate-dashboard
887 - openstack/designate-tempest-plugin
888 timeout: 3600
889 vars:
890 network_api_extensions_common: *api_extensions
891 devstack_localrc:
892 DESIGNATE_BACKEND_DRIVER: bind9
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200893 # In this job advanced image is not needed, so it's name should be
894 # empty
895 ADVANCED_IMAGE_NAME: ""
896 NETWORK_API_EXTENSIONS: "{{ network_api_extensions_common | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200897 devstack_plugins:
898 designate: https://opendev.org/openstack/designate.git
899 devstack_services:
900 cinder: false
901 designate: true
902 tempest_plugins:
903 - designate-tempest-plugin
904 - neutron-tempest-plugin
905 tempest_test_regex: ^neutron_tempest_plugin\.scenario\.test_dns_integration
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100906 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +0530907 - ^\.pylintrc$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100908 - ^(test-|)requirements.txt$
yatinkarele191dde2021-12-09 12:38:42 +0530909 - lower-constraints.txt
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100910 - ^releasenotes/.*$
911 - ^doc/.*$
912 - ^setup.cfg$
913 - ^.*\.rst$
yatinkarele191dde2021-12-09 12:38:42 +0530914 - ^.*\.conf\.sample$
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100915 - ^neutron/locale/.*$
916 - ^neutron/tests/unit/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530917 - ^neutron/tests/fullstack/.*
918 - ^neutron/tests/functional/.*
Slawek Kaplonskid89e7e32021-02-04 12:12:27 +0100919 - ^tools/.*$
920 - ^tox.ini$
921 - ^neutron/agent/.*$
922 - ^neutron/cmd/.*$
923 - ^neutron/privileged/.*$
924 - ^neutron/plugins/ml2/drivers/.*$
925 - ^neutron/scheduler/.*$
926 - ^neutron/services/(?!externaldns).*$
yatinkarel9d85f292022-01-27 17:26:57 +0530927 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530928 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
929 - ^neutron_tempest_plugin/services/bgp/.*$
yatinkarele191dde2021-12-09 12:38:42 +0530930 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530931 - ^roles/.*functional.*$
932 - ^playbooks/.*functional.*$
yatinkarele191dde2021-12-09 12:38:42 +0530933 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530934 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200935
936- job:
937 name: neutron-tempest-plugin-sfc
938 parent: neutron-tempest-plugin-base
939 timeout: 10800
940 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200941 - openstack/networking-sfc
942 - openstack/neutron
943 - openstack/neutron-tempest-plugin
944 - openstack/tempest
945 vars:
elajkat3d7420a2021-05-12 11:28:40 +0200946 devstack_services:
947 # Disable OVN services
948 br-ex-tcpdump: false
949 br-int-flows: false
950 ovn-controller: false
951 ovn-northd: false
952 ovs-vswitchd: false
953 ovsdb-server: false
954 q-ovn-metadata-agent: false
955 # Enable Neutron services that are not used by OVN
956 q-agt: true
957 q-dhcp: true
958 q-l3: true
959 q-meta: true
960 q-metering: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200961 tempest_test_regex: ^neutron_tempest_plugin\.sfc
962 devstack_plugins:
963 networking-sfc: https://opendev.org/openstack/networking-sfc
964 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
965 network_api_extensions_sfc:
966 - flow_classifier
967 - sfc
968 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +0200969 Q_AGENT: openvswitch
970 Q_ML2_TENANT_NETWORK_TYPE: vxlan
971 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200972 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_sfc) | join(',') }}"
973 # TODO(bcafarel): tests still fail from time to time in parallel
974 # https://bugs.launchpad.net/neutron/+bug/1851500
975 # https://bugs.launchpad.net/networking-sfc/+bug/1660366
976 tempest_concurrency: 1
yatinkarel007c22f2021-12-10 15:15:45 +0530977 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +0530978 - ^\.pylintrc$
yatinkarel007c22f2021-12-10 15:15:45 +0530979 - ^(test-|)requirements.txt$
980 - lower-constraints.txt
981 - ^releasenotes/.*$
982 - ^doc/.*$
983 - ^.*\.conf\.sample$
984 - ^setup.cfg$
985 - ^.*\.rst$
986 - ^neutron/locale/.*$
987 - ^neutron/tests/unit/.*$
988 - ^neutron/tests/fullstack/.*
989 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +0530990 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530991 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|tap_as_a_service|vpnaas).*$
992 - ^neutron_tempest_plugin/services/bgp/.*$
993 - ^tools/.*$
994 - ^tox.ini$
995 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +0530996 - ^roles/.*functional.*$
997 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +0530998 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +0530999 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001000
1001- job:
1002 name: neutron-tempest-plugin-bgpvpn-bagpipe
1003 parent: neutron-tempest-plugin-base
1004 required-projects:
1005 - openstack/networking-bagpipe
1006 - openstack/networking-bgpvpn
1007 vars:
elajkat3d7420a2021-05-12 11:28:40 +02001008 devstack_services:
1009 # Disable OVN services
1010 br-ex-tcpdump: false
1011 br-int-flows: false
1012 ovn-controller: false
1013 ovn-northd: false
1014 ovs-vswitchd: false
1015 ovsdb-server: false
1016 q-ovn-metadata-agent: false
1017 # Enable Neutron services that are not used by OVN
1018 q-agt: true
1019 q-dhcp: true
1020 q-l3: true
1021 q-meta: true
1022 q-metering: true
yatinkarelb8e69d32022-09-13 17:48:00 +05301023 tempest_concurrency: 4
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001024 tempest_test_regex: ^neutron_tempest_plugin\.bgpvpn
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001025 network_api_extensions_bgpvpn:
1026 - bgpvpn
1027 - bgpvpn-routes-control
1028 devstack_localrc:
elajkat3d7420a2021-05-12 11:28:40 +02001029 Q_AGENT: openvswitch
1030 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1031 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001032 NETWORKING_BGPVPN_DRIVER: "BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe_v2.BaGPipeBGPVPNDriver:default"
1033 BAGPIPE_DATAPLANE_DRIVER_IPVPN: "ovs"
1034 BAGPIPE_BGP_PEERS: "-"
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001035 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgpvpn) | join(',') }}"
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001036 devstack_plugins:
1037 networking-bgpvpn: https://git.openstack.org/openstack/networking-bgpvpn
1038 networking-bagpipe: https://git.openstack.org/openstack/networking-bagpipe
yatinkarel007c22f2021-12-10 15:15:45 +05301039 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +05301040 - ^\.pylintrc$
yatinkarel007c22f2021-12-10 15:15:45 +05301041 - ^(test-|)requirements.txt$
1042 - lower-constraints.txt
1043 - ^releasenotes/.*$
1044 - ^doc/.*$
1045 - ^.*\.conf\.sample$
1046 - ^setup.cfg$
1047 - ^.*\.rst$
1048 - ^neutron/locale/.*$
1049 - ^neutron/tests/unit/.*$
1050 - ^neutron/tests/fullstack/.*
1051 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301052 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301053 - ^neutron_tempest_plugin/(fwaas|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
1054 - ^neutron_tempest_plugin/services/bgp/.*$
1055 - ^tools/.*$
1056 - ^tox.ini$
1057 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301058 - ^roles/.*functional.*$
1059 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301060 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301061 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001062
1063- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001064 name: neutron-tempest-plugin-dynamic-routing
1065 parent: neutron-tempest-plugin-base
1066 description: |
1067 Perform setup common to all Neutron dynamic routing tempest tests
1068 required-projects:
1069 - openstack/neutron
1070 - openstack/neutron-dynamic-routing
1071 - openstack/os-ken
1072 - openstack/tempest
1073 pre-run: playbooks/dynamic-routing-pre-run.yaml
1074 vars:
1075 devstack_plugins:
1076 neutron-dynamic-routing: https://opendev.org/openstack/neutron-dynamic-routing
1077 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001078 network_api_extensions_bgp:
1079 - bgp
1080 - bgp_dragent_scheduler
1081 - bgp_4byte_asn
1082 devstack_localrc:
1083 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_bgp) | join(',') }}"
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +01001084 Q_AGENT: openvswitch
1085 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1086 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001087 devstack_services:
Lucas Alvares Gomes743c3b22020-09-02 14:40:22 +01001088 # Disable OVN services
1089 br-ex-tcpdump: false
1090 br-int-flows: false
1091 ovn-controller: false
1092 ovn-northd: false
1093 ovs-vswitchd: false
1094 ovsdb-server: false
1095 q-ovn-metadata-agent: false
1096 # Neutron services
1097 q-agt: true
1098 q-dhcp: true
1099 q-meta: true
1100 q-metering: true
1101 q-l3: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001102 neutron-dr: true
1103 neutron-dr-agent: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001104 tempest_concurrency: 1
1105 tempest_test_regex: ^neutron_tempest_plugin\.neutron_dynamic_routing
yatinkarel007c22f2021-12-10 15:15:45 +05301106 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +05301107 - ^\.pylintrc$
yatinkarel007c22f2021-12-10 15:15:45 +05301108 - ^(test-|)requirements.txt$
1109 - lower-constraints.txt
1110 - ^releasenotes/.*$
1111 - ^doc/.*$
1112 - ^.*\.conf\.sample$
1113 - ^setup.cfg$
1114 - ^.*\.rst$
1115 - ^neutron/locale/.*$
1116 - ^neutron/tests/unit/.*$
1117 - ^neutron/tests/fullstack/.*
1118 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301119 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301120 - ^neutron_tempest_plugin/(bgpvpn|fwaas|sfc|tap_as_a_service|vpnaas).*$
1121 - ^tools/.*$
1122 - ^tox.ini$
1123 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301124 - ^roles/.*functional.*$
1125 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301126 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301127 - ^zuul.d/(?!(project)).*\.yaml
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001128
1129- job:
zhouhenglc446cc592022-02-09 10:19:06 +08001130 name: neutron-tempest-plugin-fwaas
1131 parent: neutron-tempest-plugin-base
1132 timeout: 10800
1133 required-projects:
1134 - openstack/devstack-gate
1135 - openstack/neutron-fwaas
1136 - openstack/neutron
1137 - openstack/neutron-tempest-plugin
1138 - openstack/tempest
1139 vars:
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001140 tempest_concurrency: 4
zhouhenglc446cc592022-02-09 10:19:06 +08001141 tempest_test_regex: ^neutron_tempest_plugin\.fwaas
1142 devstack_plugins:
1143 neutron-fwaas: https://opendev.org/openstack/neutron-fwaas.git
1144 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
zhouhenglc446cc592022-02-09 10:19:06 +08001145 network_api_extensions_fwaas:
1146 - fwaas_v2
1147 devstack_localrc:
1148 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_fwaas) | join(',') }}"
1149 Q_AGENT: openvswitch
1150 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1151 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1152 devstack_services:
1153 # Disable OVN services
1154 br-ex-tcpdump: false
1155 br-int-flows: false
1156 ovn-controller: false
1157 ovn-northd: false
1158 q-ovn-metadata-agent: false
1159 # Neutron services
1160 q-agt: true
1161 q-dhcp: true
1162 q-meta: true
1163 q-metering: true
1164 q-l3: true
Slawek Kaplonski8988a012022-04-07 10:50:44 +02001165 neutron-log: false
yatinkarel91821d22022-05-19 11:11:50 +05301166 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +05301167 - ^\.pylintrc$
yatinkarel91821d22022-05-19 11:11:50 +05301168 - ^(test-|)requirements.txt$
1169 - ^releasenotes/.*$
1170 - ^doc/.*$
1171 - ^.*\.conf\.sample$
1172 - ^setup.cfg$
1173 - ^.*\.rst$
1174 - ^neutron/locale/.*$
1175 - ^neutron/tests/unit/.*$
1176 - ^neutron/tests/fullstack/.*
1177 - ^neutron/tests/functional/.*
1178 - ^neutron_tempest_plugin/api/test_.*$
1179 - ^neutron_tempest_plugin/(bgpvpn|neutron_dynamic_routing|sfc|tap_as_a_service|vpnaas).*$
1180 - ^neutron_tempest_plugin/services/bgp/.*$
1181 - ^tools/.*$
1182 - ^tox.ini$
1183 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301184 - ^roles/.*functional.*$
1185 - ^playbooks/.*functional.*$
yatinkarel91821d22022-05-19 11:11:50 +05301186 - ^vagrant/.*$
1187 - ^zuul.d/(?!(project)).*\.yaml
zhouhenglc446cc592022-02-09 10:19:06 +08001188
1189- job:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001190 name: neutron-tempest-plugin-vpnaas
1191 parent: neutron-tempest-plugin-base
1192 timeout: 3900
1193 required-projects:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001194 - openstack/neutron
1195 - openstack/neutron-vpnaas
1196 - openstack/neutron-tempest-plugin
1197 - openstack/tempest
1198 vars:
yatinkarelb8e69d32022-09-13 17:48:00 +05301199 tempest_concurrency: 4
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001200 tempest_test_regex: ^neutron_tempest_plugin\.vpnaas
1201 devstack_plugins:
1202 neutron-vpnaas: https://opendev.org/openstack/neutron-vpnaas.git
1203 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
1204 network_api_extensions_common: *api_extensions
1205 network_api_extensions_vpnaas:
1206 - vpnaas
1207 devstack_localrc:
1208 IPSEC_PACKAGE: strongswan
1209 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_vpnaas) | join(',') }}"
elajkat3a98dae2021-09-17 17:25:27 +02001210 Q_AGENT: openvswitch
1211 Q_ML2_TENANT_NETWORK_TYPE: vxlan
1212 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1213 devstack_services:
1214 # Disable OVN services
1215 br-ex-tcpdump: false
1216 br-int-flows: false
1217 ovn-controller: false
1218 ovn-northd: false
1219 ovs-vswitchd: false
1220 ovsdb-server: false
1221 q-ovn-metadata-agent: false
1222 # Neutron services
1223 q-agt: true
1224 q-dhcp: true
1225 q-meta: true
1226 q-metering: true
1227 q-l3: true
yatinkarel007c22f2021-12-10 15:15:45 +05301228 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +05301229 - ^\.pylintrc$
yatinkarel007c22f2021-12-10 15:15:45 +05301230 - ^(test-|)requirements.txt$
1231 - lower-constraints.txt
1232 - ^releasenotes/.*$
1233 - ^doc/.*$
1234 - ^.*\.conf\.sample$
1235 - ^setup.cfg$
1236 - ^.*\.rst$
1237 - ^neutron/locale/.*$
1238 - ^neutron/tests/unit/.*$
1239 - ^neutron/tests/fullstack/.*
1240 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301241 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301242 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|tap_as_a_service).*$
1243 - ^neutron_tempest_plugin/services/bgp/.*$
1244 - ^tools/.*$
1245 - ^tox.ini$
1246 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301247 - ^roles/.*functional.*$
1248 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301249 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301250 - ^zuul.d/(?!(project)).*\.yaml
elajkat4abd0682021-08-06 16:05:23 +02001251
1252- job:
1253 name: neutron-tempest-plugin-tap-as-a-service
1254 parent: neutron-tempest-plugin-base
1255 description: |
1256 Perform setup common to all tap-as-a-service tempest tests
1257 roles:
1258 - zuul: openstack/devstack
1259 required-projects:
1260 - openstack/devstack-gate
1261 - openstack/neutron
1262 - openstack/neutron-tempest-plugin
1263 - openstack/tap-as-a-service
1264 - openstack/tempest
1265 vars:
yatinkarelb8e69d32022-09-13 17:48:00 +05301266 tempest_concurrency: 4
elajkat4abd0682021-08-06 16:05:23 +02001267 tempest_test_regex: ^neutron_tempest_plugin\.tap_as_a_service
1268 tox_envlist: all
elajkat4abd0682021-08-06 16:05:23 +02001269 network_api_extensions_tempest:
1270 - taas
1271 - taas-vlan-filter
1272 devstack_localrc:
1273 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
elajkat1f275e42021-10-15 12:47:55 +02001274 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
1275 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
1276 ADVANCED_INSTANCE_TYPE: ntp_image_384M
1277 ADVANCED_INSTANCE_USER: ubuntu
1278 CUSTOMIZE_IMAGE: false
elajkat4abd0682021-08-06 16:05:23 +02001279 BUILD_TIMEOUT: 784
1280 Q_AGENT: openvswitch
elajkat1f275e42021-10-15 12:47:55 +02001281 Q_ML2_TENANT_NETWORK_TYPE: vxlan,vlan
elajkat4abd0682021-08-06 16:05:23 +02001282 Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
1283 devstack_local_conf:
1284 post-config:
1285 /$NEUTRON_CORE_PLUGIN_CONF:
1286 AGENT:
elajkat1f275e42021-10-15 12:47:55 +02001287 tunnel_types: vxlan
1288 ml2_type_vlan:
1289 network_vlan_ranges: public
elajkat4abd0682021-08-06 16:05:23 +02001290 test-config:
1291 $TEMPEST_CONFIG:
elajkat1f275e42021-10-15 12:47:55 +02001292 neutron_plugin_options:
1293 image_is_advanced: true
1294 advanced_image_flavor_ref: d1
1295 taas:
elajkat4abd0682021-08-06 16:05:23 +02001296 provider_physical_network: public
1297 provider_segmentation_id: 100
1298 image_feature_enabled:
1299 api_v2: true
1300 devstack_plugins:
1301 neutron: git://opendev.org/openstack/neutron.git
1302 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
1303 tap-as-a-service: git://opendev.org/openstack/tap-as-a-service.git
1304 devstack_services:
1305 # Disable OVN services
1306 ovn-controller: false
1307 ovn-northd: false
1308 ovs-vswitchd: false
1309 ovsdb-server: false
1310 q-ovn-metadata-agent: false
1311 # Enable Neutron services that are not used by OVN
1312 q-agt: true
1313 q-dhcp: true
1314 q-l3: true
1315 q-meta: true
1316 q-metering: true
1317 br-ex-tcpdump: true
1318 br-int-flows: true
1319 base: false
1320 key: true
1321 mysql: true
1322 rabbit: true
1323 g-api: true
1324 g-reg: true
1325 n-api: true
1326 n-cond: true
1327 n-cpu: true
1328 n-crt: true
1329 n-sch: true
1330 placement-api: true
1331 n-api-meta: true
1332 q-svc: true
1333 quantum: true
1334 taas: true
1335 taas_openvswitch_agent: true
1336 tempest: true
1337 dstat: true
yatinkarel007c22f2021-12-10 15:15:45 +05301338 irrelevant-files:
yatinkarel3ff83002022-09-27 10:55:55 +05301339 - ^\.pylintrc$
elajkat4abd0682021-08-06 16:05:23 +02001340 - ^(test-|)requirements.txt$
yatinkarel007c22f2021-12-10 15:15:45 +05301341 - lower-constraints.txt
elajkat4abd0682021-08-06 16:05:23 +02001342 - ^releasenotes/.*$
1343 - ^doc/.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301344 - ^.*\.conf\.sample$
1345 - ^setup.cfg$
elajkat4abd0682021-08-06 16:05:23 +02001346 - ^.*\.rst$
yatinkarel007c22f2021-12-10 15:15:45 +05301347 - ^neutron/locale/.*$
1348 - ^neutron/tests/unit/.*$
1349 - ^neutron/tests/fullstack/.*
1350 - ^neutron/tests/functional/.*
yatinkarel9d85f292022-01-27 17:26:57 +05301351 - ^neutron_tempest_plugin/api/test_.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301352 - ^neutron_tempest_plugin/(bgpvpn|fwaas|neutron_dynamic_routing|sfc|vpnaas).*$
1353 - ^neutron_tempest_plugin/services/bgp/.*$
elajkat4abd0682021-08-06 16:05:23 +02001354 - ^tools/.*$
1355 - ^tox.ini$
yatinkarel007c22f2021-12-10 15:15:45 +05301356 - ^rally-jobs/.*$
yatinkarelaecc32a2022-05-31 11:17:40 +05301357 - ^roles/.*functional.*$
1358 - ^playbooks/.*functional.*$
yatinkarel007c22f2021-12-10 15:15:45 +05301359 - ^vagrant/.*$
yatinkarel77bfe312022-02-03 12:17:34 +05301360 - ^zuul.d/(?!(project)).*\.yaml