SuperFluidity HEAt Translator is developed under the Superfluidity project and licensed under Apache 2. It is a python lib which takes Superfluity descriptors as an input and produces a Heat Orchestration Template (HOT) which can be deployed by Heat.
SFHEAT project takes a set of Superfluity descriptors as an input(YAML or JSON), calls an appropriate parser, maps it to Heat resources and then produces a Heat Orchestration Template (HOT) as an output.
Install from source code:
git clone https://github.com/superfluidity/sfehat.git
cd sfehat
python setup.py install
Install with pip:
pip install -e git+https://github.com/superfluidity/sfehat.git#egg=sf2heat
from sf2heat.nsdtranslator import NSDTranslator
# with ansible playbook
nsd_translator = NSDTranslator(ns_data, hot_path, True)
nsd_translator.translate()
# without ansible playbook
nsd_translator = NSDTranslator(ns_data, hot_path)
nsd_translator.translate()
python sf2heat/cli.py -i tests/test_project_2.json -o /tmp/heat_output.yaml
python sf2heat/cli.py -i tests/test_project_2.json -d /tmp/heat_with_playbook -a
- License: Apache License, Version 2.0
- Source: https://github.com/superfluidity/sfehat.git
This work has been performed in the context of the project Superfluidity, which received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No. 671566.