6904aab001
Modified default images to use os_type, os_version and os_distro properties. Added logic to look for distribution/os_distro, type/os_type and version/os_version image properties when matching image properties. Cleaned up minor python warnings in tosca_compute.py Removed DOS-style newline characters from tosca_cluster_policies_scaling.py Change-Id: I72043cf4a4358cfdbc8f98238276d85dc2f5bcc0 Closes-Bug: 1689673 |
||
---|---|---|
doc/source | ||
tools | ||
translator | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
heat_translator.py | ||
requirements.txt | ||
run_py27-tosca-parser-master.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
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:
- 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