
- create flavor with swap and ephemeral paramters - create flavor with disk size zero - verify additional paramters in list flavor - create flavor with region group type - create flavor with region group type and a single region - create flavor with two regions - create flavour with uuid passed explicitly fixed Issue with pylint - ranger_tempest_plugin/config.py:19: [C0103(invalid-name), ] - ranger_tempest_plugin/config.py:24: [C0103(invalid-name), ] - ranger_tempest_plugin/config.py:29: [C0103(invalid-name), ] - ranger_tempest_plugin/config.py:34: [C0103(invalid-name), ] Change-Id: I695a3f23d8c1d6034c465a03a709b877995ecb95
80 lines
2.7 KiB
Python
Executable File
80 lines
2.7 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("uri",
|
|
default="orm",
|
|
help="Uri of the orm service."),
|
|
cfg.StrOpt("cms_port",
|
|
default='7080',
|
|
help="cms port of the orm url."),
|
|
cfg.StrOpt("fms_port",
|
|
default='8082',
|
|
help="fms port of the orm url."),
|
|
cfg.StrOpt("region_port",
|
|
default='8080',
|
|
help="region port of the orm url."),
|
|
cfg.BoolOpt("alt_region_available",
|
|
default=None,
|
|
help="alt_region_available of the orm alternate region."),
|
|
cfg.StrOpt("ims_port",
|
|
default='8084',
|
|
help="ims port of the orm url."),
|
|
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("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"),
|
|
]
|