Implement get_input intrinsic function

Registered by Ton Ngo

Implement the intrinsic function get_property in the TOSCA template:
Example:
    github_url: { get_property: [ SELF, github_url ] }
Implement by traversing the TOSCA graph and computing the value needed.
This needs to be done in the base class HotResource for the general case, which would be translated to a get_param function in HOT.
In special case, this to be overridden in the specific TOSCA translation class. For instance, in the ToscaCompute class for the TOSCA type:
      tosca.nodes.Compute
the get_property function for CPU does not get translated to an equivalent HOT function because one does not exist. So in this case, the general translation in the base HotResource class does not work. Rather, the ToscaCompute class will need its own translation to compute the correct flavor using the CPU value along with other parameters.

Blueprint information

Status:
Complete
Approver:
Sahdev Zala
Priority:
Not
Drafter:
Ton Ngo
Direction:
Approved
Assignee:
Idan Moyal
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Sahdev Zala

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/getinput-function,n,z

Addressed by: https://review.openstack.org/142158
    get_input default value

workitems_text: Invalid work item format: "It's been implemented under few separate bugs. Related patch is abandoned with a comment from Idan. "

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.