]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Updated LaunchConfig for AutoScaling UpdatePolicy
authorWinson Chan <winson.c.chan@intel.com>
Tue, 13 Aug 2013 07:37:48 +0000 (00:37 -0700)
committerWinson Chan <winson.c.chan@intel.com>
Thu, 15 Aug 2013 15:58:42 +0000 (08:58 -0700)
commit91a40824f49f7fac7f073d909f7426f50d833a5a
tree401886202696dd5f283a4072a5de502dc6cf8fc0
parentc92aa027facaecc793bdd9256fe3883e086a4c73
Updated LaunchConfig for AutoScaling UpdatePolicy

This is the first part of a series to implement support
for AutoScaling UpdatePolicy.

Updated LaunchConfiguration resource type to return
self.physical_resource_name() in FnGetRefId(). For both
InstanceGroup and AutoScalingGroup, the property
LaunchConfigurationName is added to the list of update allowed
properties. With this change, any property change to the
LaunchConfiguration resource will be result in a different
LaunchConfigurationName on reference resolution and thus will
trigger InstanceGroup and AutoScalingGroup to handle the update.

Change-Id: I94da8f7083b64873c511b953c6bc63dba2b51034
blueprint: as-update-policy
heat/engine/resources/autoscaling.py
heat/tests/test_autoscaling.py
heat/tests/test_instance_group.py
heat/tests/test_instance_group_update_policy.py [new file with mode: 0644]
heat/tests/test_server_tags.py