blob: db59ac0f7a2208ccf68e2593c497f424c376084b [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
Slawek Kaplonski63d5f2e2020-06-04 13:42:26 +020037 br-ex-tcpdump: true
38 br-int-flows: true
Slawek Kaplonski40ec8e52020-05-20 13:07:44 +020039 devstack_local_conf:
40 post-config:
41 $NEUTRON_CONF:
42 QUOTAS:
43 quota_router: 100
44 quota_floatingip: 500
45 quota_security_group: 150
46 quota_security_group_rule: 1000
47 # NOTE(slaweq): We can get rid of this hardcoded absolute path when
48 # devstack-tempest job will be switched to use lib/neutron instead of
49 # lib/neutron-legacy
50 /$NEUTRON_CORE_PLUGIN_CONF:
51 ml2:
52 type_drivers: flat,geneve,vlan,gre,local,vxlan
53 ml2_type_vlan:
54 network_vlan_ranges: foo:1:10
55 ml2_type_vxlan:
56 vni_ranges: 1:2000
57 ml2_type_gre:
58 tunnel_id_ranges: 1:1000
59 $NEUTRON_L3_CONF:
60 agent:
61 availability_zone: nova
62 $NEUTRON_DHCP_CONF:
63 agent:
64 availability_zone: nova
65 /etc/neutron/api-paste.ini:
66 composite:neutronapi_v2_0:
67 use: call:neutron.auth:pipeline_factory
68 noauth: cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0
69 keystone: cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0
70 test-config:
71 $TEMPEST_CONFIG:
72 neutron_plugin_options:
73 provider_vlans: foo,
74 agent_availability_zone: nova
75 image_is_advanced: true
76 available_type_drivers: flat,geneve,vlan,gre,local,vxlan
77 provider_net_base_segm_id: 1
78 irrelevant-files: &tempest-irrelevant-files
79 - ^(test-|)requirements.txt$
80 - ^releasenotes/.*$
81 - ^doc/.*$
82 - ^setup.cfg$
83 - ^.*\.rst$
84 - ^neutron/locale/.*$
85 - ^neutron/tests/unit/.*$
86 - ^tools/.*$
87 - ^tox.ini$
88
89- job:
90 name: neutron-tempest-plugin-scenario
91 parent: neutron-tempest-plugin-base
92 abstract: true
93 description: |
94 Perform setup common to all tempest scenario test jobs.
95 vars:
96 # NOTE(slaweq): in case of some tests, which requires advanced image,
97 # default test timeout set to 1200 seconds may be not enough if job is
98 # run on slow node
99 tempest_test_timeout: 2400
100 tempest_test_regex: ^neutron_tempest_plugin\.scenario
101 devstack_localrc:
102 PHYSICAL_NETWORK: default
103 IMAGE_URLS: https://cloud-images.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img
104 ADVANCED_IMAGE_NAME: ubuntu-16.04-server-cloudimg-amd64-disk1
105 ADVANCED_INSTANCE_TYPE: ds512M
106 ADVANCED_INSTANCE_USER: ubuntu
107 BUILD_TIMEOUT: 784
108 devstack_services:
109 cinder: true
110