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.
zhulingjie fa9f02d23a Replace git.openstack.org URLs with opendev.org URLs 1 month ago
doc Follow the new PTI for document build 1 year ago
translator Create VNF with parameter file using scaling policy 3 months ago
.coveragerc Change ignore-errors to ignore_errors 3 years ago
.gitignore Added a module for intrinsic function. 5 years ago
.gitreview OpenDev Migration Patch 2 months 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 2 months ago
CONTRIBUTING.rst Update the bugs link to storyboard 5 months ago
HACKING.rst Update hacking version 6 months ago
LICENSE Add .gitreview file and apply cookiecutter template. 5 years ago
README.rst Replace git.openstack.org URLs with opendev.org URLs 1 month 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 5 months ago
requirements.txt Support reservation policy in heat-translator 5 months ago
run_py27-tosca-parser-master.sh add quotes around editable requirement 3 years ago
setup.cfg Dropping the py35 testing 2 months ago
setup.py Updated from global requirements 2 years ago
test-requirements.txt Update hacking version 6 months ago
tox.ini Replace git.openstack.org URLs with opendev.org URLs 1 month 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