The place of code in heat repository about generating yaml file given stack

asked 2015-08-05 17:10:43 -0600

Sihan gravatar image

updated 2015-08-05 17:11:44 -0600

I have tried to find for two days, but I did not find any code about genrating yaml file given stack.

Any suggestions appreciated


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-02-01 12:14:43 -0600

zaneb gravatar image

There is no such code; Heat stores the template used to create/update a stack, and you can retrieve it again from the API, but it doesn't generate templates from stacks.

edit flag offensive delete link more

answered 2015-10-13 11:49:22 -0600

Heat-api client side controller:

StackController.generate_template() @ heat/api/openstack/v1/ is the one receives API request and send it to heat engine via RPC message.

Heat-engine server side implementation:

EngineService.generate_template() in heat/engine/

This is basically to generate a template, whereas if you need to know about template_show functionality against a particular stack then refer get_template() methods at both the ends.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-08-05 17:10:43 -0600

Seen: 167 times

Last updated: Feb 01 '16