Merge "[Magnum] Add Magnum client to Rally"

This commit is contained in:
Jenkins 2016-05-13 11:40:45 +00:00 committed by Gerrit Code Review
commit ce718f7bf1
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):