Revision history [back]

There is no problem to create application that asks something from user and then generate Heat template with those values. Murano aplications are written using MuranoPL programming language which is completely object-oriented. There is a HeatStack class that represents one Heat stack. You can use environment's default stack or create your own. And it has update() method that can be used to merge a snippet into it and push() method to submit your changes to the Heat. And of cause MuranoPL is powerful enough to generate template of any complexity. That's how classes from MuranoPL core library work

However there might be certain problems with making user chose from a list of options rather than have a plain-text field. The problem is that currently applications cannot hook into UI form life-cycle. For example you can define drop-down in our form and provide a list of available options. But you cannot hook it to MuranoPL function that will ask OpenStack and then populate returned values to that drop down. In other words you app begins to work after user has submitted his input.To certain degree this is solved by the fact that dUI forms have built-in support for image, flavor and recently network selection. This issue most likely will be addressed in OpenStack M release