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