Add convergence data to the Resource table¶
Include the URL of your launchpad blueprint:
The convergence design requires extra data to be stored with each Resource row in the database, in order to allow different versions of a resource to co-exist within the same stack.
Add the following extra fields to the Resource table:
needed_by (a list of Resource keys)
requires (a list of Resource keys)
replaces (a single Resource key, Null by default)
replaced_by (a single Resource key, Null by default)
current_template (a single RawTemplate key)
(Note, the first two fields are currently known as requirers and requirements, respectively, in https://github.com/zaneb/heat-convergence-prototype/blob/resumable/converge/resource.py - but those are too confusing. Once we settle on names, we should update the simulator code as well.)
- Primary assignee:
- Target Milestone for completion:
We need to resolve https://bugs.launchpad.net/heat/+bug/1415237 first as that will determine what the type of a Resource key is.