jh629g d903c6dc19 Change ranger-tempest-plugin config
Removed unused variables from config.py
and changed case of ranger urls to conform
to other variable names

Change-Id: I9f94928122c0a3c8d9290f8da898a71403c60c78
2019-09-10 10:47:53 -05:00

65 lines
2.2 KiB
Python
Executable File

# Copyright 2015
# 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
SERVICE_AVAILABLE_GROUP = cfg.OptGroup(
name="service_available",
title="Available OpenStack Services"
)
ORM_SERVICE_AVAILABLE_GROUP = [
cfg.BoolOpt("ranger", default=False,
help="Whether or not ranger is expected to be available")
]
ORM_GROUP = cfg.OptGroup(
name="ranger",
title="Ranger Service option"
)
ORM_GROUP_OPTIONS = [
cfg.StrOpt("image_url",
help="swift container url where image is located"),
cfg.StrOpt("ranger_cms_base_url",
help="Ranger Project Service URL"),
cfg.StrOpt("ranger_fms_base_url",
help="Ranger Flavor Service URL"),
cfg.StrOpt("ranger_ims_base_url",
help="Ranger Image Service URL"),
cfg.StrOpt("ranger_rms_base_url",
help="Ranger Region Service URL"),
cfg.BoolOpt('verify',
default=False,
help='Flag for SSL verfiy Enabled/Disabled.'),
cfg.BoolOpt('auth_enabled',
default=False,
help='Token Authentication enabled/disabled'),
cfg.ListOpt("flavor_series",
default=['xx'],
help="Supported flavor series"),
cfg.StrOpt("catalog_type",
default='ranger',
help="ranger catalog type"),
cfg.StrOpt("domain",
default='Default',
help="Domain used for Ranger tempest testing"),
cfg.StrOpt("region_alt",
default='',
help="Provide alternate region for creating"
"resources with multiple regions"),
]