[Magnum] Add Magnum client to Rally
Change-Id: I9553590ae7d35c0a9a4da2af4ddda3647215d1e4 Partially-Implements: bp benchmark-scenarios-for-magnum
This commit is contained in:
parent
171ef26a5f
commit
dc50c0775e
@ -112,6 +112,7 @@ class _Service(utils.ImmutableMixin, utils.EnumMixin):
|
|||||||
MURANO = "murano"
|
MURANO = "murano"
|
||||||
IRONIC = "ironic"
|
IRONIC = "ironic"
|
||||||
GNOCCHI = "gnocchi"
|
GNOCCHI = "gnocchi"
|
||||||
|
MAGNUM = "magnum"
|
||||||
|
|
||||||
|
|
||||||
class _ServiceType(utils.ImmutableMixin, utils.EnumMixin):
|
class _ServiceType(utils.ImmutableMixin, utils.EnumMixin):
|
||||||
@ -139,6 +140,7 @@ class _ServiceType(utils.ImmutableMixin, utils.EnumMixin):
|
|||||||
APPLICATION_CATALOG = "application-catalog"
|
APPLICATION_CATALOG = "application-catalog"
|
||||||
BARE_METAL = "baremetal"
|
BARE_METAL = "baremetal"
|
||||||
METRIC = "metric"
|
METRIC = "metric"
|
||||||
|
CONTAINER = "container"
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.__names = {
|
self.__names = {
|
||||||
@ -164,6 +166,7 @@ class _ServiceType(utils.ImmutableMixin, utils.EnumMixin):
|
|||||||
self.APPLICATION_CATALOG: _Service.MURANO,
|
self.APPLICATION_CATALOG: _Service.MURANO,
|
||||||
self.BARE_METAL: _Service.IRONIC,
|
self.BARE_METAL: _Service.IRONIC,
|
||||||
self.METRIC: _Service.GNOCCHI,
|
self.METRIC: _Service.GNOCCHI,
|
||||||
|
self.CONTAINER: _Service.MAGNUM,
|
||||||
}
|
}
|
||||||
|
|
||||||
def __getitem__(self, service_type):
|
def __getitem__(self, service_type):
|
||||||
|
@ -1487,6 +1487,12 @@ class FakeSenlinClient(object):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
class FakeMagnumClient(object):
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class FakeClients(object):
|
class FakeClients(object):
|
||||||
|
|
||||||
def __init__(self, credential_=None):
|
def __init__(self, credential_=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user