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 <shardy@redhat.com>
This commit is contained in:
Steven Hardy 2013-01-08 18:47:05 +00:00
parent c590b586b9
commit c975a0e005
1 changed files with 1 additions and 1 deletions

View File

@ -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',