Skip to content

consistency-throw-multiple-hosting-relations-constraint

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
      hosting_stack_constraint: true
  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.

Could not solve

Last update: April 28, 2024