Heat template validation view

Registered by Maxime Vidori

Currently, when we load a template in the orchestration view, the second panel project/stacks/select_template provides a form which can be modified. The issue is that we can modify value, but we have to check the template for the correct name i.e image_id. This is problematic because if one error is made we have to resubmit the form.

In addition Heat already provides all the options which can be modified with the template_validate method. This method return JSON datas which can be used for creating multi-choices in the form.

The goal of this blueprint is to build an html template based on the JSON provided by the valid template method of Heat.
Use select instead of input, to reduce the possibility of errors.

Blueprint information

Status:
Complete
Approver:
David Lyle
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
Maxime Vidori
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
David Lyle
Completed by
David Lyle

Related branches

Sprints

Whiteboard

[david-lyle | 2014-02-28] No code proposed that I can find.

Gerrit topic: https://review.openstack.org/#q,topic:bp/heat-template-choices,n,z

Addressed by: https://review.openstack.org/92203
    Generate a drop down field for custom heat parameters

Addressed by: https://review.openstack.org/105560
    Generate a drop down field for custom heat parameters

Addressed by: https://review.openstack.org/105856
    Generate a drop down field for custom heat parameters

Addressed by: https://review.openstack.org/106454
    Generate a drop down field for custom heat parameters

Addressed by: https://review.openstack.org/132486
    Attach a floating ip to an created instance

Addressed by: https://review.openstack.org/133270
    Generate a drop down field for custom heat parameters

[mrunge | 2015-12-15] what's the status here? The last patch was merged 6 month ago.

[peristeri | 2015-12-15] The feature is implemented and merged upstream.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.