Translate non-heat templates to Heat Orchestration Template.
Go to file
Dan Radez 4bad629880 Adding conf files as package data
resubmitting https://review.openstack.org/#/c/412682/
OpenStack global requirements manages the setup.py file and expects
project specific configuration to be put into setup.py.

Couldn't figure out the correct syntax the first go round to put this
into the setup.cfg file. This patch should have the correct syntax.

Change-Id: Ia82b577f3aac13c3152df160d2b24837f675a79b
2017-01-09 13:40:07 -05:00
doc/source Removes unnecessary utf-8 coding 2016-12-26 14:47:11 +08:00
tools Add Constraints support 2016-12-21 11:09:32 +11:00
translator Merge "Do no create Alarm when triggers not part of policies" 2017-01-06 21:48:03 +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
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:45 +00:00
HACKING.rst Add .gitreview file and apply cookiecutter template. 2014-04-01 09:43:50 -05:00
LICENSE Add .gitreview file and apply cookiecutter template. 2014-04-01 09:43:50 -05:00
README.rst Show team and repo badges on README 2016-11-25 17:19:38 +01: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
requirements.txt Updated from global requirements 2016-12-15 03:47:23 +00:00
run_py27-tosca-parser-master.sh add quotes around editable requirement 2016-05-26 20:33:25 -07:00
setup.cfg Adding conf files as package data 2017-01-09 13:40:07 -05:00
setup.py Updated from global requirements 2016-12-28 09:08:07 +00:00
test-requirements.txt Updated from global requirements 2016-10-22 01:19:08 +00:00
tox.ini Add Constraints support 2016-12-21 11:09:32 +11: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