]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Distribute resource mapping to individual modules
authorZane Bitter <zbitter@redhat.com>
Tue, 27 Nov 2012 14:38:44 +0000 (15:38 +0100)
committerZane Bitter <zbitter@redhat.com>
Wed, 28 Nov 2012 14:26:19 +0000 (15:26 +0100)
commita0cf5dfa5c7eb070ee6aefcdfb23c04ece7c0b70
tree33117cab4e6c1fb95099b413e52106c689c7cc33
parentb0026981a5855ec0a9427f7787570d4de903512d
Distribute resource mapping to individual modules

Define the mapping from resource names to classes locally in each module
and then aggregate them. This moves the mappings near the definitions, and
provides the format for an eventual plug-in resource architecture.

Change-Id: I3e70d495c5a490ae20d38bf1aec7e28080a55520
Signed-off-by: Zane Bitter <zbitter@redhat.com>
18 files changed:
heat/engine/resources/autoscaling.py
heat/engine/resources/cloud_watch.py
heat/engine/resources/dbinstance.py
heat/engine/resources/eip.py
heat/engine/resources/instance.py
heat/engine/resources/loadbalancer.py
heat/engine/resources/quantum/floatingip.py
heat/engine/resources/quantum/net.py
heat/engine/resources/quantum/port.py
heat/engine/resources/quantum/router.py
heat/engine/resources/quantum/subnet.py
heat/engine/resources/register.py
heat/engine/resources/s3.py
heat/engine/resources/security_group.py
heat/engine/resources/stack.py
heat/engine/resources/user.py
heat/engine/resources/volume.py
heat/engine/resources/wait_condition.py