Stack list now communicating end to end. Time to hook some stuff up.
This commit is contained in:
parent
cfdd2e4545
commit
75f8085171
|
@ -55,7 +55,7 @@ class StackController(object):
|
|||
"""
|
||||
con = context.get_admin_context()
|
||||
|
||||
return rpc.call(con, 'engine', {'method': 'list'})
|
||||
return rpc.call(con, 'engine', {'method': 'list_stacks'})
|
||||
|
||||
def describe(self, req):
|
||||
"""
|
||||
|
|
|
@ -60,6 +60,9 @@ class EngineManager(manager.Manager):
|
|||
def __init__(self, *args, **kwargs):
|
||||
"""Load configuration options and connect to the hypervisor."""
|
||||
|
||||
def list_stacks(self, context):
|
||||
return {'stack_list': 'yay'}
|
||||
|
||||
def create_stack(self, context, stack_name):
|
||||
return {'state': 'woot -> %s' % stack_name}
|
||||
|
||||
|
|
Loading…
Reference in New Issue