tap-as-a-service-tempest-pl.../neutron_taas_tempest_plugin/config.py
elajkat 993d76b82e Fix taas-tempest-plugin gate
Make pep8 job work on focal:
* adopt constraints files
* ignore W504 Line break occurred after a binary operator

Make tempest tests work by changing the default m1.medium flavor to d1.

Change-Id: Iea267fe07f3acfd344cb9843c0a79b924c2b30cc
2020-09-17 14:16:52 +02:00

48 lines
1.8 KiB
Python

# Copyright (c) 2018 AT&T Corporation
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from oslo_config import cfg
from tempest import config
CONF = config.CONF
taas_plugin_group = cfg.OptGroup(name='taas_plugin_options',
title='TaaS Tempest Plugin Options')
TaaSPluginGroup = [
cfg.StrOpt('provider_physical_network',
default='',
help='Physical network to be used for creating SRIOV network.'),
cfg.StrOpt('provider_segmentation_id',
default='',
help='Segmentation-id to be used for creating SRIOV network.'),
cfg.StrOpt('vlan_filter',
default='',
help='Comma separated list of VLANs to be mirrored '
'for a Tap-Flow.'),
cfg.StrOpt('advanced_image_ref',
default='',
help='Valid advanced image uuid to be used in tests. '
'Must contain tcpdump preinstalled.'),
cfg.StrOpt('advanced_image_ssh_user',
default='ubuntu',
help='Name of ssh user to use with advanced image in tests.'),
cfg.StrOpt('advanced_image_flavor_ref',
default='d1',
help='Valid flavor to use with advanced image in tests.'),
]