From: Ian Main Date: Fri, 30 Mar 2012 21:05:36 +0000 (-0700) Subject: Stack list now communicating end to end. Time to hook some stuff up. X-Git-Tag: 2014.1~2088^2~6 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=75f80851715e6838888aa5b08a52483cddfe5952;p=openstack-build%2Fheat-build.git Stack list now communicating end to end. Time to hook some stuff up. --- diff --git a/heat/api/v1/stacks.py b/heat/api/v1/stacks.py index fe15c599..6f46bf6a 100644 --- a/heat/api/v1/stacks.py +++ b/heat/api/v1/stacks.py @@ -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): """ diff --git a/heat/engine/manager.py b/heat/engine/manager.py index 92fd3224..85e718ea 100644 --- a/heat/engine/manager.py +++ b/heat/engine/manager.py @@ -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}