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