Skip to content

consistency-throw-hosting-relation-missing

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:
            constraints: false
    node_templates:
        one:
            type: one
            requirements:
                - host:
                      node: two
                      conditions: false
        two:
            type: two
        three:
            type: three

Expected Error

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

Node "one" expected to have a hosting relation

Last update: November 20, 2024