Sommelier: a validator of TOSCA application topologies

Registered by Antonio Di Tommaso on 2017-04-20

Sommelier is a prototype of validator for TOSCA application topologies that checks whether the topology of a TOSCA application satisfies all interconnection constraints, and, if this is not the case, it displays all violations.
Sommelier can be fruitfully exploited by TOSCA application developers to automatically validate the topologies of their applications at design time, as they currently have to do it manually.

How Sommelier works:

1. Sommelier takes as input either a YAML file or a CSAR archive containing the TOSCA application topology to be validated.

2. The input is forwarded by Sommelier to the OpenStack 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.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Antonio Di Tommaso
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(spzala) Hello Antonio, I am very glad that you have created this blueprint per our past discussions. Also please provide more detail of how Sommelier can be used once you add code into TOSCA-Parser. As we discussed, if we implement the blueprint then Sommelier code will need be invoked with TOSCA-Parser CLI.

(spzala) @Bob, the Sommelier is a validator and separate tool on it's own repo developed by Antonio. We had several discussion last year and early this year as Antonio was using TOSCA-Parser with this tool. I believe that Sommelier can be used inside TOSCA-Parser and it will be good to have a quick exercise if this makes sense.

Thanks!!

(spzala) @Antonio, we discussed the blueprint in today's meeting. I believe besides paper, there was a git repo and I think it's this one https://github.com/di-unipi-socc/Sommelier is that a correct repo?

@Shadev, Yes this is the correct repo of Sommelier.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.