Chandan Kumar | 6f67e37 | 2016-05-02 10:19:22 +0000 | [diff] [blame] | 1 | # 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 | |
| 16 | from oslo_config import cfg |
| 17 | |
| 18 | service_available_group = cfg.OptGroup(name="service_available", |
| 19 | title="Available OpenStack Services") |
| 20 | |
| 21 | |
| 22 | ServiceAvailableGroup = [ |
| 23 | cfg.BoolOpt("cinder", |
| 24 | default=True, |
| 25 | help="Whether or not cinder is expected to be available"), |
| 26 | ] |
Patrick East | 9b434d1 | 2016-08-12 17:23:19 -0700 | [diff] [blame] | 27 | |
| 28 | # Use a new config group specific to the cinder in-tree tests to avoid |
| 29 | # any naming confusion with the upstream tempest config options. |
| 30 | cinder_group = cfg.OptGroup(name='cinder', |
| 31 | title='Cinder Tempest Config Options') |
| 32 | |
| 33 | CinderGroup = [ |
| 34 | cfg.BoolOpt('consistency_group', |
| 35 | default=False, |
| 36 | help='Enable to run Cinder volume consistency group tests'), |
| 37 | ] |