]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine : add Resource update_template_diff method
authorSteven Hardy <shardy@redhat.com>
Mon, 28 Jan 2013 16:52:23 +0000 (16:52 +0000)
committerSteven Hardy <shardy@redhat.com>
Thu, 31 Jan 2013 09:56:28 +0000 (09:56 +0000)
commit3569bf2323baaab90c37a2f164f3a13bfee3c644
treef7209acbf8aec4c0197370706d823bb181f4718d
parentb3744f28af6c460f2c029a438e5680ad34d8704c
heat engine : add Resource update_template_diff method

Add method to top-level Resource class update_template_diff()
which allows us to determine the difference between old/new
templates for a resource update, and also raise an error
if the changed keys are not in the list of those defined
as supported for update by the resource

ref blueprint instance-update-stack

Change-Id: Ibef07a0cecbc15f7f1d6c2c663743e3af8023057
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/engine/resource.py
heat/tests/test_resource.py