]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Add a list_stacks RPC call.
authorSteve Baker <sbaker@redhat.com>
Thu, 8 Nov 2012 19:43:23 +0000 (08:43 +1300)
committerSteve Baker <sbaker@redhat.com>
Thu, 8 Nov 2012 20:49:35 +0000 (09:49 +1300)
commite848c080790996e85fbbe0080e50b51d9deab46c
treefb179ed4e5f72814f1ad9f71536d4fd10653a418
parenta09a9a2c21e0278ab8e59f28f2a1d653d4317f3a
Add a list_stacks RPC call.

This differs from the old show_stack(None) by not resolving stack data.

heat list does not display any of the resolved stack data. Resolving outputs
can be especially slow since FnGetAtt may block while it calls out
to another service (such as with the quantum resources).

Without this change, running heat list on a single Quantum.template takes 1.8s
vs 0.7s.

In the future, list_stacks can be made to support paging of results.

Change-Id: Iae30338b66912d660f1cf48119893b1ab593b67a
heat/api/cfn/v1/stacks.py
heat/api/openstack/v1/stacks.py
heat/engine/parser.py
heat/engine/rpcapi.py
heat/engine/service.py