Translate non-heat templates to Heat Orchestration Template.
Go to file
nirajsingh 30f4d2ff83 Support reservation policy in heat-translator
Implementation of reservation policy in heat-translator

Tacker Blueprint: https://blueprints.launchpad.net/tacker/+spec/reservation-vnfm
Tacker Spec: https://review.openstack.org/#/c/561840/
Depends-On: Ic5d790df938b40d75bc50252e1e688e9c09eb568
Change-Id: I2b989a49ac3447995a82ddb7193bf478bb847b73
2019-01-09 06:28:27 +00:00
doc Follow the new PTI for document build 2018-05-30 15:02:54 +09:00
translator Support reservation policy in heat-translator 2019-01-09 06:28:27 +00:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:27:05 +00:00
.gitignore Added a module for intrinsic function. 2014-07-14 17:41:55 +03:00
.gitreview Fix .gitreview after rename/transfer 2014-12-06 19:27:19 +03:00
.mailmap Add .gitreview file and apply cookiecutter template. 2014-04-01 09:43:50 -05:00
.testr.conf Add .gitreview file and apply cookiecutter template. 2014-04-01 09:43:50 -05:00
.zuul.yaml Use templates for cover and lower-constraints 2018-09-08 16:08:01 +02:00
babel.cfg Add .gitreview file and apply cookiecutter template. 2014-04-01 09:43:50 -05:00
CONTRIBUTING.rst Update the bugs link to storyboard 2018-12-30 23:34:21 +08:00
HACKING.rst Update the URL in HACKING.rst 2018-09-23 23:02:43 +08:00
heat_translator.py Create command line entry point 2015-10-02 14:41:37 -04:00
LICENSE Add .gitreview file and apply cookiecutter template. 2014-04-01 09:43:50 -05:00
lower-constraints.txt Support reservation policy in heat-translator 2019-01-09 06:28:27 +00:00
README.rst fix bug link in readme 2018-09-16 02:50:37 +00:00
requirements.txt Support reservation policy in heat-translator 2019-01-09 06:28:27 +00:00
run_py27-tosca-parser-master.sh add quotes around editable requirement 2016-05-26 20:33:25 -07:00
setup.cfg Remove support for py34 2018-12-27 09:29:10 +00:00
setup.py Updated from global requirements 2017-03-02 11:44:38 +00:00
test-requirements.txt Follow the new PTI for document build 2018-05-30 15:02:54 +09:00
tox.ini Add py36 to tox.ini and setup.cfg 2018-11-14 06:30:33 -06:00

Team and repository tags

image

Heat-Translator

Overview

Heat-Translator is an Openstack project and licensed under Apache 2. It is a command line tool which takes non-Heat templates as an input and produces a Heat Orchestration Template (HOT) which can be deployed by Heat. Currently the development and testing is done with an aim to translate OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) templates to HOT. However, the tool is designed to be easily extended to use with any format other than TOSCA.

Architecture

Heat-Translator project takes a non-Heat template (e.g. TOSCA flat YAML template or template embedded in TOSCA Cloud Service Archive (CSAR) format) as an input, calls an appropriate Parser (e.g. TOSCA Parser) per the type of input template to parse it and create an in-memory graph, maps it to Heat resources and then produces a Heat Orchestration Template (HOT) as an output.

How To Use

Please refer to doc/source/usage.rst

Directory Structure

Three main directories related to the heat-translator are:

  1. hot: It is the generator, that has logic of converting TOSCA in memory graph to HOT YAML files.
  2. common: It has all the file that can support the execution of parser and generator.
  3. tests: It contains test programs and more importantly several templates which are used for testing.

Project Info