Translate non-heat templates to Heat Orchestration Template.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenDev Sysadmins 33ac9fd9b7 OpenDev Migration Patch 13 hours ago
doc Follow the new PTI for document build 10 months ago
translator Create VNF with parameter file using scaling policy 1 month ago
.coveragerc Change ignore-errors to ignore_errors 3 years ago
.gitignore Added a module for intrinsic function. 4 years ago
.gitreview OpenDev Migration Patch 13 hours ago
.mailmap Add .gitreview file and apply cookiecutter template. 5 years ago
.testr.conf Add .gitreview file and apply cookiecutter template. 5 years ago
.zuul.yaml Dropping the py35 testing 5 days ago
CONTRIBUTING.rst Update the bugs link to storyboard 3 months ago
HACKING.rst Update hacking version 4 months ago
LICENSE Add .gitreview file and apply cookiecutter template. 5 years ago
README.rst fix bug link in readme 7 months ago
babel.cfg Add .gitreview file and apply cookiecutter template. 5 years ago
heat_translator.py Create command line entry point 3 years ago
lower-constraints.txt Support reservation policy in heat-translator 3 months ago
requirements.txt Support reservation policy in heat-translator 3 months ago
run_py27-tosca-parser-master.sh add quotes around editable requirement 2 years ago
setup.cfg Dropping the py35 testing 5 days ago
setup.py Updated from global requirements 2 years ago
test-requirements.txt Update hacking version 4 months ago
tox.ini Dropping the py35 testing 5 days ago

README.rst

Team and repository tags

image

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