Skip to content

consistency-throw-multiple-hosting-relations

Variable Service Template

The variability of the following variable service template shall be resolved.

tosca_definitions_version: tosca_variability_1_0
topology_template:
    variability:
        options:
            mode: semantic-loose
            constraints: false
            optimization_topology: false
    node_templates:
        one:
            type: one
            requirements:
                - host:
                      node: two
                - host:
                      node: three
        two:
            type: two
        three:
            type: three

Expected Error

The following error is expected to be thrown, when resolving variability.

Node "one" has more than one hosting relations

Last update: November 18, 2024