https://blueprints.launchpad.net/openstack-manuals/+spec/heat-templates
The documentation about how to write heat templates in the openstack-manuals repository is almost nonexistent. The developer resources are a good starting point, but don’t provide enough information to easily learn how to write meaningful templates.
The HOT reference (properties and attributes of resources, available functions, …) is published only for the current development branch, from the heat documentation (in the developer/ section of the published documentation). This reference should be available for users along the other references (config reference, CLI reference), for each released version of heat.
Two changes are proposed:
A first section would cover the basic aspects of templates:
This section would cover the base resources: nova server, neutron nets, subnets and ports, cinder volumes
A second section will document how to use more complex resources such as:
This guide will be automatically built from the heat source code and documentation.
Some alternatives we considered and discuss on the mailing list previously include:
So, to take the best of both tool chains, this proposal chooses to create a chapter in the End User Guide, ultimately in DocBook, but through an RST path.
The documentation will initially be written in RST, to ease developers contributions. A tool to convert RST to DocBook will be provided.
The template reference provided in the heat repository will be converted to DocBook and imported in an dedicated guide.
Gauvain Pocentek (gpocentek)
Minimalistic but functional templates will be provided along the guide. Default values for parameters will be set to easily work on a devstack environment. This should ease the testing.
These templates could be provided as part of the heat-templates repository.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.