302e083de6
Translator is enabled to exectue within other shell environments by installing as a library (in addition to command line). As such, a separate package "translator" is installed, and pulls in everything under the translator/ directory. Originally the design for custom classes was to allow users to specify their own locations for custom classes that they define outside of the translator code. In order for this to work in the shell environments, the user would need to install these classes via a setup.py script. For now this is too heavy of a requirement to place on the user, so the design for this fix is that the user will need to manually copy over their custom classes to the translator/custom directory. We will revist the option to install custom classes via a user defined setup.py at a later date. Change-Id: Ib132d9fe768a954a226724929c074034cf898da3 |
||
---|---|---|
doc/source | ||
translator | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
heat_translator.py | ||
heat_translator_logging.conf | ||
openstack-common.conf | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
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 is mainly built of two components:
- Parser - parser for a particular template format e.g. TOSCA parser
- 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:
- hot: It is the generator, that has logic of converting TOSCA in memory graph to HOT yaml files.
- common: It has all the file that can support the execution of parser and generator.
- 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