Deepak Tiwari e5826f70c3 Add a scenario test and refactor API tests
1. Adds a tempest scenario testcase in TaaS.

2. Refactor the existing API tests.

3. Adds a new API testcase to test the newly added Vlan Mirror input
parameter in tap-flow-create API.

This patchset is an extension to following commit which adds SRIOV
driver support in TaaS:

Change-Id: I847d7f3d841900d99c914a451c24ee20e8119618
Commit: https://review.openstack.org/#/c/603501/
2019-04-09 21:15:59 -05:00

38 lines
1.3 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.'),
]