]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Tidy up Resource creation and deletion
authorZane Bitter <zbitter@redhat.com>
Tue, 5 Jun 2012 07:46:10 +0000 (09:46 +0200)
committerZane Bitter <zbitter@redhat.com>
Fri, 15 Jun 2012 09:36:33 +0000 (11:36 +0200)
commit3b91d100a6c6424961e1ec06cf7afd9a1c9cf49c
tree884fede48ebfccf420672c0451968a9d4fdbc326
parent067e037064b3e10f5ede335ac2688fbb4a2f7b01
Tidy up Resource creation and deletion

Most of this code is common between resources, so put it in the parent
Resource class and have subclasses provide handle_create()/handle_delete()
methods for all their extra needs.

Change-Id: I14c6afa9fdd1ecc065036fa93bde2a693b6c3eb2
Signed-off-by: Zane Bitter <zbitter@redhat.com>
heat/engine/cloud_watch.py
heat/engine/eip.py
heat/engine/instance.py
heat/engine/manager.py
heat/engine/parser.py
heat/engine/resources.py
heat/engine/security_group.py
heat/engine/user.py
heat/engine/volume.py
heat/engine/wait_condition.py
heat/tests/test_stacks.py