]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Implements a client side engine RPC API.
authorSteve Baker <steve@stevebaker.org>
Fri, 27 Jul 2012 09:57:59 +0000 (21:57 +1200)
committerSteve Baker <steve@stevebaker.org>
Thu, 2 Aug 2012 22:00:07 +0000 (10:00 +1200)
commite05f39c37b115259cf64e2523d7da443507f389c
tree8753bfd2e29a877d4740694bb22d982c29b0ed94
parentea2db73166c393187ba0db039e5974c0f2333023
Implements a client side engine RPC API.

Patch 1/2, this implements github heat issue 181.

The topic string for the rpc call is built from the cfg.CONF parameters 'host'
and 'engine_topic' defined in heat.common.config.engine_opts.

delete_stack seems to be the only method which returns nothing, so it can be
invoked as cast or call, with cast being the default.

The tests exercise each api method with the same approach found in
nova/nova/tests/compute/test_rpcapi.py

Change-Id: Ia20850821083d1236ad628172db00d01f073313c
heat/common/config.py
heat/engine/rpcapi.py [new file with mode: 0644]
heat/tests/test_rpcapi.py [new file with mode: 0644]