blob: 3d5eb0eeb13a83458ab69cbdac4bfa050472309f [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` '
33 'can be used for dependency tests.')
Patrick East9b434d12016-08-12 17:23:19 -070034]
Alan Bishop40104c72022-08-09 14:00:57 -070035
36# The barbican service is discovered by config_tempest [1], and will appear
37# in the [service_available] group in tempest.conf. However, the 'barbican'
Alan Bishop89823d92022-09-28 09:06:19 -070038# option isn't registered by tempest itself, and so we may need to do it.
39# This adds the ability to test CONF.service_available.barbican.
Alan Bishop40104c72022-08-09 14:00:57 -070040#
41# [1] I96800a95f844ce7675d266e456e01620e63e347a
Alan Bishop89823d92022-09-28 09:06:19 -070042barbican_service_option = [
Alan Bishop40104c72022-08-09 14:00:57 -070043 cfg.BoolOpt('barbican',
44 default=False,
45 help="Whether or not barbican is expected to be available"),
46]