]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Override events for AutoScalingGroup instances
authorSteven Hardy <shardy@redhat.com>
Wed, 12 Dec 2012 14:59:02 +0000 (14:59 +0000)
committerSteven Hardy <shardy@redhat.com>
Wed, 12 Dec 2012 17:21:30 +0000 (17:21 +0000)
commit772818102cc815186ed44bfb2f78ca6c36266fbf
treeb2f0b7e89362e9e35bca5fe55fd14130d0787134
parent355f03eec21883935f47232b3e00a5cf1de1680b
Override events for AutoScalingGroup instances

Override state-transition events by subclassing the Instance
resource to AutoScalingGroupInstance, this avoids problems where
events can't lookup the resource via parser.Stack (since these
resources aren't "real" resources defined in the template)

fixes bug 1089338

Change-Id: Ia064cd067eefdaa5ca81b0cb822ce2fa443bac85
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/engine/resources/autoscaling.py