Translate non-heat templates to Heat Orchestration Template.
Go to file
Andreas Jaeger 92efac6413 Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ia9d81ddc1f3234af352787363e2963f808dbbad0
2020-05-30 17:10:51 +02:00
doc Switch to newer openstackdocstheme version 2020-05-30 17:10:51 +02:00
translator Use unittest.mock instead of third party mock 2020-04-18 16:09:09 -05: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 OpenDev Migration Patch 2019-04-19 19:35:22 +00: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 [ussuri][goal] Drop python 2.7 support and testing 2020-02-04 21:02:09 +01:00
CONTRIBUTING.rst Update the bugs link to storyboard 2018-12-30 23:34:21 +08:00
HACKING.rst Update hacking version 2018-12-10 05:25:03 -05:00
LICENSE Add .gitreview file and apply cookiecutter template. 2014-04-01 09:43:50 -05:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-23 16:59:45 +08:00
babel.cfg Add .gitreview file and apply cookiecutter template. 2014-04-01 09:43:50 -05:00
heat_translator.py Create command line entry point 2015-10-02 14:41:37 -04:00
lower-constraints.txt Switch to newer openstackdocstheme version 2020-05-30 17:10:51 +02:00
requirements.txt [ussuri][goal] Drop python 2.7 support and testing 2020-02-04 21:02:09 +01:00
run_py-tosca-parser-master.sh [ussuri][goal] Drop python 2.7 support and testing 2020-02-04 21:02:09 +01:00
setup.cfg [ussuri][goal] Drop python 2.7 support and testing 2020-02-04 21:02:09 +01:00
setup.py [ussuri][goal] Drop python 2.7 support and testing 2020-02-04 21:02:09 +01:00
test-requirements.txt Update hacking for Python3 2020-04-07 17:35:28 +02:00
tox.ini Update hacking for Python3 2020-04-07 17:35:28 +02:00

README.rst

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