]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Enhance StackResource update for more use cases
authorLiang Chen <cbjchen@cn.ibm.com>
Thu, 22 Aug 2013 05:41:52 +0000 (13:41 +0800)
committerLiang Chen <cbjchen@cn.ibm.com>
Sat, 24 Aug 2013 03:14:44 +0000 (11:14 +0800)
commit112283f1352010d44cbebc1b7ac76f997abc3a21
tree0c512915c127027fef10d561a2ce86494b2a5087
parenta4a823ac22a718f3be2179881fc37bea7a4c7039
Enhance StackResource update for more use cases

Enhance StackResource.update_with_template to accommodate more
possible use cases. This will take care of the nested stack update
failure by raising an exception in such case, so the the concrete
nested stack resource implementations will have a chance to take
some actions upon nested stack update failure.

blueprint nested-stack-updates

Change-Id: Id31ef67e1d7c4928704c6e169bce13f0f7232932
heat/engine/resources/autoscaling.py
heat/engine/stack_resource.py
heat/tests/test_stack_resource.py