Translate non-heat templates to Heat Orchestration Template.
Go to file
Vahid Hashemian 0d0c3a75b7 Sync network examples with the spec
Sync two network examples with the spec:
- Network 1: Server bound to a new network
- Network 2: Server bound to an existing network

Change-Id: I5f0dfa2d6a3d6e9c3fdc2ecbe4a10f1e16b2c768
Partial-Bug: #1475807
2015-07-20 09:35:32 -07:00
doc/source Update TOSCA translator installation doc 2015-07-08 08:22:53 -07:00
translator Sync network examples with the spec 2015-07-20 09:35:32 -07:00
.coveragerc Fix coverage so that it works for this repo 2015-04-07 18:35:46 +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
babel.cfg 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
heat_translator.py TOSCA: keep the license formatting consistent 2015-05-12 11:07:07 -07:00
LICENSE Add .gitreview file and apply cookiecutter template. 2014-04-01 09:43:50 -05:00
MANIFEST.in Add .gitreview file and apply cookiecutter template. 2014-04-01 09:43:50 -05:00
openstack-common.conf TOSCA definition types for TOSCA library. 2014-05-05 16:49:32 -05:00
README.rst Added directory structure in README.rst 2015-07-04 07:37:35 +05:30
requirements.txt Updated from global requirements 2015-06-23 21:42:39 +00:00
setup.cfg Create an OSC plugin for heat-translator 2015-06-17 18:01:54 +00:00
setup.py Updated from global requirements 2015-06-23 21:42:39 +00:00
test-requirements.txt Updated from global requirements 2015-06-30 19:56:12 +00:00
tox.ini Fix coverage so that it works for this repo 2015-04-07 18:35:46 +00:00

Heat-Translator

Tool to translate non-heat templates to Heat Orchestration Template (HOT).

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 is mainly built of two components:

  1. Parser - parser for a particular template format e.g. TOSCA parser
  2. Generator - takes an in-memory graph from Parser, maps it to Heat resources and software configuration and then produces a HOT.

How To Use

Please refer to doc/source/usage.rst

Directory Structure

Three main directories related to the heat-translator are:

  1. toscalib: It is TOSCA parser for TOSCA Simple Profile YAML. It validates tosca input file and creates an in memory graphs.
  2. hot: It is the generator, that has logic of converting TOSCA in memory graph to HOT yaml files.
  3. common: It has all the file that can support the execution of parser and generator.

Project Info