summaryrefslogtreecommitdiffstats
path: root/tosca2heat/heat-translator/README.md
blob: c8af42aa992a5eecbf1b111f74746249f5222616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
========================
Team and repository tags
========================

.. image:: http://governance.openstack.org/badges/heat-translator.svg
    :target: http://governance.openstack.org/reference/tags/index.html

.. Change things from this point on

===============
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 <https://github.com/openstack/heat-translator/blob/master/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
------------

* License: Apache License, Version 2.0
* Documentation: http://docs.openstack.org/developer/heat-translator/
* Launchpad: https://launchpad.net/heat-translator
* Blueprints: https://blueprints.launchpad.net/heat-translator
* Bugs: https://bugs.launchpad.net/heat-translator
* Source: http://git.openstack.org/cgit/openstack/heat-translator/
* IRC Channel: #openstack-heat-translator