blob: 28998cf005ab289daff6a8e4ed5a0cd25d5581f4 [file] [log] [blame]
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +02001- job:
2 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/devstack-gate
11 - openstack/neutron
12 - openstack/neutron-tempest-plugin
13 - openstack/tempest
14 vars:
15 tempest_concurrency: 4
16 tox_envlist: all
17 devstack_localrc:
18 USE_PYTHON3: true
19 NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
Slawek Kaplonski35a44142020-09-29 21:39:53 +020020 CIRROS_VERSION: 0.5.1
21 BUILD_TIMEOUT: 784
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020022 devstack_plugins:
23 neutron: https://opendev.org/openstack/neutron.git
24 neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
25 tempest_plugins:
26 - neutron-tempest-plugin
27 devstack_services:
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020028 tempest: true
29 neutron-dns: true
30 neutron-qos: true
31 neutron-segments: true
32 neutron-trunk: true
33 neutron-uplink-status-propagation: true
34 neutron-network-segment-range: true
35 neutron-port-forwarding: true
36 neutron-conntrack-helper: true
37 neutron-tag-ports-during-bulk-creation: true
Slawek Kaplonski63d5f2e2020-06-04 13:42:26 +020038 br-ex-tcpdump: true
39 br-int-flows: true
Slawek Kaplonskif2893442020-11-02 21:40:26 +010040 # We don't need Swift to be run in the Neutron jobs
41 s-account: false
42 s-container: false
43 s-object: false
44 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020045 devstack_local_conf:
46 post-config:
47 $NEUTRON_CONF:
48 QUOTAS:
49 quota_router: 100
50 quota_floatingip: 500
51 quota_security_group: 150
52 quota_security_group_rule: 1000
53 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
54 # devstack-tempest job will be switched to use lib/neutron instead of
55 # lib/neutron-legacy
56 /$NEUTRON_CORE_PLUGIN_CONF:
57 ml2:
58 type_drivers: flat,geneve,vlan,gre,local,vxlan
59 ml2_type_vlan:
60 network_vlan_ranges: foo:1:10
61 ml2_type_vxlan:
62 vni_ranges: 1:2000
63 ml2_type_gre:
64 tunnel_id_ranges: 1:1000
65 $NEUTRON_L3_CONF:
66 agent:
67 availability_zone: nova
68 $NEUTRON_DHCP_CONF:
69 agent:
70 availability_zone: nova
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020071 test-config:
72 $TEMPEST_CONFIG:
73 neutron_plugin_options:
74 provider_vlans: foo,
75 agent_availability_zone: nova
76 image_is_advanced: true
77 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
78 provider_net_base_segm_id: 1
79 irrelevant-files: &tempest-irrelevant-files
80 - ^(test-|)requirements.txt$
81 - ^releasenotes/.*$
82 - ^doc/.*$
83 - ^setup.cfg$
84 - ^.*\.rst$
85 - ^neutron/locale/.*$
86 - ^neutron/tests/unit/.*$
87 - ^tools/.*$
88 - ^tox.ini$
89
90- job:
91 name: neutron-tempest-plugin-scenario
92 parent: neutron-tempest-plugin-base
93 abstract: true
94 description: |
95 Perform setup common to all tempest scenario test jobs.
96 vars:
97 # NOTE(slaweq): in case of some tests, which requires advanced image,
98 # default test timeout set to 1200 seconds may be not enough if job is
99 # run on slow node
100 tempest_test_timeout: 2400
101 tempest_test_regex: ^neutron_tempest_plugin\.scenario
102 devstack_localrc:
103 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200104 CIRROS_VERSION: 0.5.1
Bence Romsics67621f72020-09-08 13:43:45 +0200105 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
106 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200107 ADVANCED_INSTANCE_TYPE: ds512M
108 ADVANCED_INSTANCE_USER: ubuntu
109 BUILD_TIMEOUT: 784
110 devstack_services:
111 cinder: true
112