Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Validator of TOSCA application topologies

License

NotificationsYou must be signed in to change notification settings

di-unipi-socc/Sommelier

Repository files navigation

Sommelier is a prototype, command-line tool forvalidating TOSCA application topologies.

About

Validation constraints

All the validation constraints that are checked by Sommelier have been defined in the research paper:

A. Brogi, A. Di Tommaso, J. Soldani.
Sommelier: A Tool for Validating TOSCA Application Topologies.
In: Pires L., Hammoudi S., Selic B. (eds) Model-Driven Engineering and Software Development. MODELSWARD 2017. Communications in Computer and Information Science, vol 880. Springer, Cham

If you wish to exploit Sommelier to carry out research activities, or if you wish to reuse its sources, please properly cite the above mentioned paper. Below you can find the BibTex reference:

@inproceedings{sommelier,author={Brogi, Antonio and Di~Tommaso, Antonio and Soldani, Jacopo},editor={Pires, Lu{\'i}s Ferreira and Hammoudi, Slimane and Selic, Bran},title={Sommelier: A Tool for Validating TOSCA Application Topologies},booktitle={Model-Driven Engineering and Software Development},year={2018},publisher={Springer International Publishing},pages={1--22},isbn={978-3-319-94764-8}}

How Sommelier works

sommelier

  1. Sommelier takes as input either aYAML file or aCSAR archive containing the TOSCA application topology to be validated.

  2. The input is forwarded by Sommelier to theOpenStack TOSCA parser.

  3. The TOSCA parser checks whether the TOSCA application is syntactically correct. If so, the parser generates a set of Python objects representing the TOSCA application.

  4. The Python objects representing the TOSCA application are returned to Sommelier.

  5. Sommelier validates the topology of the TOSCA application by checking whether the Python objects representing such application satisfy all the validation conditions listed in the aforementioned paper.

  6. The results of the validation are displayed by Sommelier.

Using Sommelier

Sommelier is designed to run onbash shells.

Prerequisites

To effectively be executed on abash shell, Sommelier requires such shell to support the following commands:

  • python,
  • pip, and
  • tosca-parser (which can be installed by typingsudo pip install 'tosca-parser').

Running Sommelier

To exploit Sommelier to validate a TOSCA application topology, please proceed as follows:

  1. Move inside the (cloned) folder of the Sommelier repository (i.e., the folder that contains the Python filesommelier.py)
  2. Typepython sommelier.py --template-file=[topology-template-file-path]

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp