]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine : map DBInstance DBSecurityGroups parameter correctly
authorSteven Hardy <shardy@redhat.com>
Fri, 4 Jan 2013 17:21:53 +0000 (17:21 +0000)
committerSteven Hardy <shardy@redhat.com>
Fri, 4 Jan 2013 17:53:01 +0000 (17:53 +0000)
commitc357666d74528a19e767b4f3cc6e48e6328c5c2c
tree104508631fd7b264cf6bcf057ca066660b611668
parenta5a6ad5a54b6a4d05146051750b193df12da7cdb
heat engine : map DBInstance DBSecurityGroups parameter correctly

The DBInstance nested stack template defines a DBSecurityGroups list parameter,
which should be "CommaDelimitedList" type, curently it's a "List" type which
breaks when the template is parsed.  To make this work we also have to mangle
the property (passed in the top level template) format to match the parameter
format, because in AWS Lists are not represented in the same way for Properties and
Parameters (sigh..)

fixes bug 1096099

Change-Id: Ie078d61847d89ea9dcd55f798b808e595c2d2e12
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/engine/resources/dbinstance.py
heat/tests/test_dbinstance.py