blob: 2bd6f5af488b7066328bc6b99ff1d3ec504e1223 [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:
28 tls-proxy: false
29 tempest: true
30 neutron-dns: true
31 neutron-qos: true
32 neutron-segments: true
33 neutron-trunk: true
34 neutron-uplink-status-propagation: true
35 neutron-network-segment-range: true
36 neutron-port-forwarding: true
37 neutron-conntrack-helper: true
38 neutron-tag-ports-during-bulk-creation: true
Slawek Kaplonski63d5f2e2020-06-04 13:42:26 +020039 br-ex-tcpdump: true
40 br-int-flows: true
Slawek Kaplonskif2893442020-11-02 21:40:26 +010041 # We don't need Swift to be run in the Neutron jobs
42 s-account: false
43 s-container: false
44 s-object: false
45 s-proxy: false
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020046 devstack_local_conf:
47 post-config:
48 $NEUTRON_CONF:
49 QUOTAS:
50 quota_router: 100
51 quota_floatingip: 500
52 quota_security_group: 150
53 quota_security_group_rule: 1000
54 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
55 # devstack-tempest job will be switched to use lib/neutron instead of
56 # lib/neutron-legacy
57 /$NEUTRON_CORE_PLUGIN_CONF:
58 ml2:
59 type_drivers: flat,geneve,vlan,gre,local,vxlan
60 ml2_type_vlan:
61 network_vlan_ranges: foo:1:10
62 ml2_type_vxlan:
63 vni_ranges: 1:2000
64 ml2_type_gre:
65 tunnel_id_ranges: 1:1000
66 $NEUTRON_L3_CONF:
67 agent:
68 availability_zone: nova
69 $NEUTRON_DHCP_CONF:
70 agent:
71 availability_zone: nova
72 /etc/neutron/api-paste.ini:
73 composite:neutronapi_v2_0:
74 use: call:neutron.auth:pipeline_factory
75 noauth: cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0
76 keystone: cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0
77 test-config:
78 $TEMPEST_CONFIG:
79 neutron_plugin_options:
80 provider_vlans: foo,
81 agent_availability_zone: nova
82 image_is_advanced: true
83 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
84 provider_net_base_segm_id: 1
85 irrelevant-files: &tempest-irrelevant-files
86 - ^(test-|)requirements.txt$
87 - ^releasenotes/.*$
88 - ^doc/.*$
89 - ^setup.cfg$
90 - ^.*\.rst$
91 - ^neutron/locale/.*$
92 - ^neutron/tests/unit/.*$
93 - ^tools/.*$
94 - ^tox.ini$
95
96- job:
97 name: neutron-tempest-plugin-scenario
98 parent: neutron-tempest-plugin-base
99 abstract: true
100 description: |
101 Perform setup common to all tempest scenario test jobs.
102 vars:
103 # NOTE(slaweq): in case of some tests, which requires advanced image,
104 # default test timeout set to 1200 seconds may be not enough if job is
105 # run on slow node
106 tempest_test_timeout: 2400
107 tempest_test_regex: ^neutron_tempest_plugin\.scenario
108 devstack_localrc:
109 PHYSICAL_NETWORK: default
Slawek Kaplonski35a44142020-09-29 21:39:53 +0200110 CIRROS_VERSION: 0.5.1
Bence Romsics67621f72020-09-08 13:43:45 +0200111 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/bionic/release/ubuntu-18.04-server-cloudimg-amd64.img
112 ADVANCED_IMAGE_NAME: ubuntu-18.04-server-cloudimg-amd64
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +0200113 ADVANCED_INSTANCE_TYPE: ds512M
114 ADVANCED_INSTANCE_USER: ubuntu
115 BUILD_TIMEOUT: 784
116 devstack_services:
117 cinder: true
118