Remove climate namespace

Partial-Bug: #1755325
Change-Id: I57dcc03c9fed3fbd407640c81db50559bef4a0dd
This commit is contained in:
Masahito Muroi 2018-03-13 10:28:57 +09:00
parent f2748d36aa
commit 21ac85f14c
3 changed files with 2 additions and 7 deletions

View File

@ -20,10 +20,6 @@ service_available_group = cfg.OptGroup(name="service_available",
title="Available OpenStack Services")
service_option = [
cfg.BoolOpt("climate",
default=True,
help="Whether or not climate is expected to be available. "
"This config remains for backward compatibility."),
cfg.BoolOpt("blazar",
default=True,
help="Whether or not blazar is expected to be available"),

View File

@ -19,7 +19,7 @@ from tempest.lib.common import rest_client
class ResourceReservationV1Client(rest_client.RestClient):
"""Client class for accessing the resource reservation API."""
CLIMATECLIENT_VERSION = '1'
BLAZARCLIENT_VERSION = '1'
lease = '/leases'
lease_path = '/leases/%s'

View File

@ -37,8 +37,7 @@ class ResourceReservationScenarioTest(manager.ScenarioTest):
@classmethod
def setup_clients(cls):
super(ResourceReservationScenarioTest, cls).setup_clients()
if not (CONF.service_available.climate or
CONF.service_available.blazar):
if not CONF.service_available.blazar:
raise cls.skipException("Resource reservation support is"
"required")