]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Allow Parameters to set defaults for TemplateResource
authorZane Bitter <zbitter@redhat.com>
Mon, 19 Aug 2013 18:51:45 +0000 (20:51 +0200)
committerZane Bitter <zbitter@redhat.com>
Mon, 19 Aug 2013 18:51:45 +0000 (20:51 +0200)
commit3168e8b43e77a10c54a57345d2c06f9f4e4800c7
tree94d8f574e1e37da978417b10d5a13d2003ebab48
parentad22636367fba61302923f320b6dd09bd4194985
Allow Parameters to set defaults for TemplateResource

Although it is theoretically possible to infer default values for the
Properties of a TemplateResource from the Parameters of the provider
template, this presents a number of conversion issues that are presently
unhandled.

Instead, pass parameter values only for properties that are supplied.  For
the others, allow the parameter defaults in the template to be used.

Change-Id: I2ba49ffeee06c3a272694c18b3875f843ade1e6c
heat/engine/resources/template_resource.py