Fix TempestConfig generator keystone API v3 issue

Closes-Bug: #1380492

Change-Id: I9a15efa5a020ed423c46af5fb0f820f33d2c63db
This commit is contained in:
Oleh Anufriiev 2014-10-13 17:17:59 +03:00
parent f6650be203
commit ec4aae13a3

View File

@ -85,6 +85,7 @@ class _Service(utils.ImmutableMixin, utils.EnumMixin):
"""OpenStack services names, by rally convention.""" """OpenStack services names, by rally convention."""
NOVA = "nova" NOVA = "nova"
NOVAV21 = "novav21"
NOVAV3 = "novav3" NOVAV3 = "novav3"
CINDER = "cinder" CINDER = "cinder"
CINDERV2 = "cinderv2" CINDERV2 = "cinderv2"
@ -112,6 +113,7 @@ class _ServiceType(utils.ImmutableMixin, utils.EnumMixin):
ORCHESTRATION = "orchestration" ORCHESTRATION = "orchestration"
IDENTITY = "identity" IDENTITY = "identity"
COMPUTE = "compute" COMPUTE = "compute"
COMPUTEV21 = "computev21"
COMPUTEV3 = "computev3" COMPUTEV3 = "computev3"
NETWORK = "network" NETWORK = "network"
DNS = "dns" DNS = "dns"
@ -123,6 +125,7 @@ class _ServiceType(utils.ImmutableMixin, utils.EnumMixin):
def __init__(self): def __init__(self):
self.__names = { self.__names = {
self.COMPUTE: _Service.NOVA, self.COMPUTE: _Service.NOVA,
self.COMPUTEV21: _Service.NOVAV21,
self.COMPUTEV3: _Service.NOVAV3, self.COMPUTEV3: _Service.NOVAV3,
self.VOLUME: _Service.CINDER, self.VOLUME: _Service.CINDER,
self.VOLUMEV2: _Service.CINDER, self.VOLUMEV2: _Service.CINDER,