]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Make Resource.create() a co-routine
authorZane Bitter <zbitter@redhat.com>
Tue, 30 Apr 2013 17:28:32 +0000 (19:28 +0200)
committerZane Bitter <zbitter@redhat.com>
Tue, 30 Apr 2013 17:29:27 +0000 (19:29 +0200)
commit4ee2730522ff7bcebf2c5f6dd917b500f608bc52
tree39e6351ea966d2afe7b33eac4daa491e712a2650
parent1c58d13f56812e8b14ff5b769b497015645623ae
Make Resource.create() a co-routine

At the moment, we will just run each co-routine to completion, but in
future we can use this to return control to the caller so that resources
may be created in parallel.

Change-Id: I5c2daf3839e53d855acb73fc4288b5be76794c7f
16 files changed:
heat/engine/parser.py
heat/engine/resource.py
heat/engine/resources/autoscaling.py
heat/tests/test_autoscaling.py
heat/tests/test_dbinstance.py
heat/tests/test_eip.py
heat/tests/test_instance.py
heat/tests/test_instance_group.py
heat/tests/test_loadbalancer.py
heat/tests/test_nokey.py
heat/tests/test_quantum.py
heat/tests/test_resource.py
heat/tests/test_s3.py
heat/tests/test_swift.py
heat/tests/test_user.py
heat/tests/test_volume.py