[Magnum] Add Magnum client to Rally

Change-Id: I9553590ae7d35c0a9a4da2af4ddda3647215d1e4
Partially-Implements: bp benchmark-scenarios-for-magnum
This commit is contained in:
Spyros Trigazis 2016-04-11 16:45:06 +02:00
parent 171ef26a5f
commit dc50c0775e
2 changed files with 9 additions and 0 deletions

View File

@ -112,6 +112,7 @@ class _Service(utils.ImmutableMixin, utils.EnumMixin):
MURANO = "murano"
IRONIC = "ironic"
GNOCCHI = "gnocchi"
MAGNUM = "magnum"
class _ServiceType(utils.ImmutableMixin, utils.EnumMixin):
@ -139,6 +140,7 @@ class _ServiceType(utils.ImmutableMixin, utils.EnumMixin):
APPLICATION_CATALOG = "application-catalog"
BARE_METAL = "baremetal"
METRIC = "metric"
CONTAINER = "container"
def __init__(self):
self.__names = {
@ -164,6 +166,7 @@ class _ServiceType(utils.ImmutableMixin, utils.EnumMixin):
self.APPLICATION_CATALOG: _Service.MURANO,
self.BARE_METAL: _Service.IRONIC,
self.METRIC: _Service.GNOCCHI,
self.CONTAINER: _Service.MAGNUM,
}
def __getitem__(self, service_type):

View File

@ -1487,6 +1487,12 @@ class FakeSenlinClient(object):
pass
class FakeMagnumClient(object):
def __init__(self):
pass
class FakeClients(object):
def __init__(self, credential_=None):