Fix arguments to bay_create in AMQP

Pass all arguments (id, name, type) rather then "contents" and "uuid".

Change-Id: Ib0c58b03d042385d1ea90d4ebda87b7d206d6853
This commit is contained in:
Steven Dake 2014-11-30 14:49:03 -07:00 committed by Davanum Srinivas
parent da681fa02a
commit ea76719fe8
5 changed files with 6 additions and 6 deletions

View File

@ -30,8 +30,8 @@ class API(service.API):
# Bay Operations
def bay_create(self, uuid, contents):
return self._call('bay_create', contents=contents)
def bay_create(self, id, name, type):
return self._call('bay_create', id=id, name=name, type=type)
def bay_list(self):
return self._call('bay_list')

View File

@ -27,7 +27,7 @@ class Handler(object):
# Bay Operations
def bay_create(uuid, contents):
def bay_create(id, name, type):
LOG.debug('heat bay_create\n')
return None

View File

@ -27,7 +27,7 @@ class Handler(object):
# Bay Operations
def bay_create(uuid, contents):
def bay_create(id, name, type):
LOG.debug('ironic bay_create\n')
return None

View File

@ -27,7 +27,7 @@ class Handler(object):
# Bay Operations
def bay_create(uuid, contents):
def bay_create(id, name, type):
return None
def bay_list():

View File

@ -27,7 +27,7 @@ class Handler(object):
# Bay Operations
def bay_create(uuid, contents):
def bay_create(id, name, type):
return None
def bay_list():