From: Steven Hardy Date: Tue, 8 Jan 2013 18:47:05 +0000 (+0000) Subject: heat engine : LoadBalancer resource delete nested stack X-Git-Tag: 2014.1~1018^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=c975a0e005612133a8188fa7490f6c3ff1899027;p=openstack-build%2Fheat-build.git heat engine : LoadBalancer resource delete nested stack Ensure LoadBalancer resource deletes the underlying nested stack when the owning stack is deleted - needs to inherit from stack.NestedStack as this implements handle_delete() fixes bug 1097394 Change-Id: I2002bed361511a495cbdf38cad7b61e148a68ba2 Signed-off-by: Steven Hardy --- diff --git a/heat/engine/resources/loadbalancer.py b/heat/engine/resources/loadbalancer.py index 2d5fea7c..e690739e 100644 --- a/heat/engine/resources/loadbalancer.py +++ b/heat/engine/resources/loadbalancer.py @@ -153,7 +153,7 @@ lb_template = ''' # file at the moment this is because we will probably need to implement a # LoadBalancer based on keepalived as well (for for ssl support). # -class LoadBalancer(stack.Stack): +class LoadBalancer(stack.NestedStack): listeners_schema = { 'InstancePort': {'Type': 'Number',