Translate non-heat templates to Heat Orchestration Template.
Go to file
Bob HADDLETON 1c4bfec4d5 Remove default key_name property and pass through all others
- Remove the default "key_name: userkey" property which prevents
  the user from specifying their own key name

  - Handle all properties of the Compute node as Server properties
    and remove the special cases for image and flavor as they will
    now be handled by default

  - Support 'key_name' as a parameter which will be added as an
    input parameter to the HOT template and as a property to all
    Compute nodes, referencing the input parameter so it can be
    overridden at stack deployment time.

Change-Id: I6ae89e02642348074a92f9af638f43acd887ad91
Closes-Bug: 1544237
2016-02-23 03:35:02 -06:00
doc/source Merge "Provide an option to store translated output in a file" 2015-12-17 22:19:59 +00:00
translator Remove default key_name property and pass through all others 2016-02-23 03:35:02 -06: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
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_logging.conf Supporting logging in heat-translator with config file 2015-09-04 12:46:58 +05:30
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
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 Update README 2015-11-04 12:18:40 -08:00
requirements.txt Updated from global requirements 2016-02-10 21:53:16 +00:00
setup.cfg Create command line entry point 2015-10-02 14:41:37 -04:00
setup.py Updated from global requirements 2015-09-18 16:37:54 +00:00
test-requirements.txt Updated from global requirements 2016-01-16 03:26:29 +00:00
tox.ini Put py34 first in the env order of tox 2015-12-22 18:22:03 +05:30

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