Persisting Instance name and ip address after stack creation/modification

Registered by Maharajan Nachiappan

Storing the network(ip address) and name of the instances created for a stack in the resource table. This would resolve for each resource making call to nova to get the name and ip address of the instance created as part of the stack creation, this will scale the performance of HEAT.

Blueprint information

Status:
Complete
Approver:
Angus Salkeld
Priority:
Undefined
Drafter:
Maharajan Nachiappan
Direction:
Needs approval
Assignee:
Maharajan Nachiappan
Definition:
Obsolete
Series goal:
None
Implementation:
Not started
Milestone target:
None
Completed by
Angus Salkeld

Related branches

Sprints

Whiteboard

I think this is fine as long as we only store runtime data that can't change. Like you suggested ip address and other attributes that don't change. Be careful tho' updating the resource might change
some of these. I think the right place for this info would be:

db_api.resource_data_set(self', 'the_attribute', value)

(stevebaker) Since this is a performance optimization, I would like to see some performance testing numbers to support the case that this change can make an improvement.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.