]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Refactor InstanceGroup to use a nested stack
authorChristopher Armstrong <chris.armstrong@rackspace.com>
Mon, 22 Jul 2013 21:35:13 +0000 (16:35 -0500)
committerChristopher Armstrong <chris.armstrong@rackspace.com>
Tue, 6 Aug 2013 22:06:12 +0000 (22:06 +0000)
commitc6e82c4a38d04ce257a1e10fada34f89c04d527f
treeb1ac63307bddb609e3f2cef1d17f2e77612d3e1a
parent6a4f8a5ee97fc4d2eb7e167831906f3ee25a8dde
Refactor InstanceGroup to use a nested stack

Much of the code of InstanceGroup was able to be deleted in
preference for using the native functionality of StackResource.
InstanceGroup now generates a template and updates the nested
stack when it needs to be created or resized.

blueprint instance-group-nested-stack

Fixes bug 1189278

Change-Id: Ic08a55cad1ac34d69080c0ef2dae4877f1fefd29
heat/engine/resources/autoscaling.py
heat/engine/stack_resource.py
heat/tests/test_autoscaling.py
heat/tests/test_instance_group.py
heat/tests/test_stack_resource.py