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:
parent
da681fa02a
commit
ea76719fe8
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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():
|
||||
|
|
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue