63d5f2ea78
Depends-On: https://review.opendev.org/#/c/730772/ Change-Id: Ibf48340828cb70746dfd6de06eefddab5a0e1d84
111 lines
3.9 KiB
YAML
111 lines
3.9 KiB
YAML
- job:
|
|
name: neutron-tempest-plugin-base
|
|
parent: devstack-tempest
|
|
abstract: true
|
|
description: |
|
|
Perform setup common to all Neutron tempest tests
|
|
roles:
|
|
- zuul: openstack/devstack
|
|
required-projects:
|
|
- openstack/devstack-gate
|
|
- openstack/neutron
|
|
- openstack/neutron-tempest-plugin
|
|
- openstack/tempest
|
|
vars:
|
|
tempest_concurrency: 4
|
|
tox_envlist: all
|
|
devstack_localrc:
|
|
USE_PYTHON3: true
|
|
NETWORK_API_EXTENSIONS: "{{ (network_api_extensions_common + network_api_extensions_tempest) | join(',') }}"
|
|
devstack_plugins:
|
|
neutron: https://opendev.org/openstack/neutron.git
|
|
neutron-tempest-plugin: https://opendev.org/openstack/neutron-tempest-plugin.git
|
|
tempest_plugins:
|
|
- neutron-tempest-plugin
|
|
devstack_services:
|
|
tls-proxy: false
|
|
tempest: true
|
|
neutron-dns: true
|
|
neutron-qos: true
|
|
neutron-segments: true
|
|
neutron-trunk: true
|
|
neutron-uplink-status-propagation: true
|
|
neutron-network-segment-range: true
|
|
neutron-port-forwarding: true
|
|
neutron-conntrack-helper: true
|
|
neutron-tag-ports-during-bulk-creation: true
|
|
br-ex-tcpdump: true
|
|
br-int-flows: true
|
|
devstack_local_conf:
|
|
post-config:
|
|
$NEUTRON_CONF:
|
|
QUOTAS:
|
|
quota_router: 100
|
|
quota_floatingip: 500
|
|
quota_security_group: 150
|
|
quota_security_group_rule: 1000
|
|
# NOTE(slaweq): We can get rid of this hardcoded absolute path when
|
|
# devstack-tempest job will be switched to use lib/neutron instead of
|
|
# lib/neutron-legacy
|
|
/$NEUTRON_CORE_PLUGIN_CONF:
|
|
ml2:
|
|
type_drivers: flat,geneve,vlan,gre,local,vxlan
|
|
ml2_type_vlan:
|
|
network_vlan_ranges: foo:1:10
|
|
ml2_type_vxlan:
|
|
vni_ranges: 1:2000
|
|
ml2_type_gre:
|
|
tunnel_id_ranges: 1:1000
|
|
$NEUTRON_L3_CONF:
|
|
agent:
|
|
availability_zone: nova
|
|
$NEUTRON_DHCP_CONF:
|
|
agent:
|
|
availability_zone: nova
|
|
/etc/neutron/api-paste.ini:
|
|
composite:neutronapi_v2_0:
|
|
use: call:neutron.auth:pipeline_factory
|
|
noauth: cors request_id catch_errors osprofiler extensions neutronapiapp_v2_0
|
|
keystone: cors request_id catch_errors osprofiler authtoken keystonecontext extensions neutronapiapp_v2_0
|
|
test-config:
|
|
$TEMPEST_CONFIG:
|
|
neutron_plugin_options:
|
|
provider_vlans: foo,
|
|
agent_availability_zone: nova
|
|
image_is_advanced: true
|
|
available_type_drivers: flat,geneve,vlan,gre,local,vxlan
|
|
provider_net_base_segm_id: 1
|
|
irrelevant-files: &tempest-irrelevant-files
|
|
- ^(test-|)requirements.txt$
|
|
- ^releasenotes/.*$
|
|
- ^doc/.*$
|
|
- ^setup.cfg$
|
|
- ^.*\.rst$
|
|
- ^neutron/locale/.*$
|
|
- ^neutron/tests/unit/.*$
|
|
- ^tools/.*$
|
|
- ^tox.ini$
|
|
|
|
- job:
|
|
name: neutron-tempest-plugin-scenario
|
|
parent: neutron-tempest-plugin-base
|
|
abstract: true
|
|
description: |
|
|
Perform setup common to all tempest scenario test jobs.
|
|
vars:
|
|
# NOTE(slaweq): in case of some tests, which requires advanced image,
|
|
# default test timeout set to 1200 seconds may be not enough if job is
|
|
# run on slow node
|
|
tempest_test_timeout: 2400
|
|
tempest_test_regex: ^neutron_tempest_plugin\.scenario
|
|
devstack_localrc:
|
|
PHYSICAL_NETWORK: default
|
|
IMAGE_URLS: https://cloud-images.ubuntu.com/releases/xenial/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img
|
|
ADVANCED_IMAGE_NAME: ubuntu-16.04-server-cloudimg-amd64-disk1
|
|
ADVANCED_INSTANCE_TYPE: ds512M
|
|
ADVANCED_INSTANCE_USER: ubuntu
|
|
BUILD_TIMEOUT: 784
|
|
devstack_services:
|
|
cinder: true
|
|
|