blob: 969451e9603953098e0244602c48d37ff5073b14 [file] [log] [blame]
Chandan Kumar6f67e372016-05-02 10:19:22 +00001# Copyright 2016
2# All Rights Reserved.
3#
4# Licensed under the Apache License, Version 2.0 (the "License"); you may
5# not use this file except in compliance with the License. You may obtain
6# a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13# License for the specific language governing permissions and limitations
14# under the License.
15
16from oslo_config import cfg
17
Nishant Kumar287f9ec2016-09-23 20:11:58 +053018cinder_option = [
Patrick East9b434d12016-08-12 17:23:19 -070019 cfg.BoolOpt('consistency_group',
20 default=False,
21 help='Enable to run Cinder volume consistency group tests'),
jeremy.zhanga9c66f82017-12-17 15:16:06 +080022 cfg.BoolOpt('volume_revert',
23 default=False,
24 help='Enable to run Cinder volume revert tests'),
Eric Harney1f29ca12023-04-11 15:52:53 +000025 cfg.BoolOpt('volume_image_dep_tests',
26 default=True,
Maxim Sava4ae1dc82024-06-25 11:24:06 +030027 help='Run tests for dependencies between images and volumes',
28 deprecated_for_removal=True,
29 deprecated_reason='Dependency test config setting '
30 '`volume_image_dep_tests` '
31 'in cinder-tempest-plugin is deprecated.Alternatively '
32 '`CONF.volume_feature_enabled.enable_volume_image_dep_tests` '
lkuchlanec9aee22025-05-15 15:52:41 +030033 'can be used for dependency tests.'),
34 cfg.BoolOpt('concurrency_tests',
35 default=False,
36 help='Enable or disable running concurrency tests.'),
Patrick East9b434d12016-08-12 17:23:19 -070037]
Alan Bishop40104c72022-08-09 14:00:57 -070038
39# The barbican service is discovered by config_tempest [1], and will appear
40# in the [service_available] group in tempest.conf. However, the 'barbican'
Alan Bishop89823d92022-09-28 09:06:19 -070041# option isn't registered by tempest itself, and so we may need to do it.
42# This adds the ability to test CONF.service_available.barbican.
Alan Bishop40104c72022-08-09 14:00:57 -070043#
44# [1] I96800a95f844ce7675d266e456e01620e63e347a
Alan Bishop89823d92022-09-28 09:06:19 -070045barbican_service_option = [
Alan Bishop40104c72022-08-09 14:00:57 -070046 cfg.BoolOpt('barbican',
47 default=False,
48 help="Whether or not barbican is expected to be available"),
49]
lkuchlanec9aee22025-05-15 15:52:41 +030050
51concurrency_option = [
52 cfg.IntOpt('concurrent_resource_count',
53 default=5,
54 help='Number of resources to create concurrently.'),
55]