Skip to content

implications-naive-unexpected

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
      node_default_condition_mode: incoming-host
      hosting_stack_constraint: true
      optimization_topology: true
      optimization_topology_unique: true
  node_templates:
    worker:
      type: worker
      persistent: true
      requirements:
        - left: left
        - right: right
    left:
      type: left
      requirements:
        - host: left_host
    left_host:
      type: left.host
      requirements:
        - host: left_host_host
    left_host_host:
      type: left.host.host
    right:
      type: right
      requirements:
        - host: right_host
    right_host:
      type: right.host

Variability-Resolved Service Template

The following variability-resolved service template is expected.

1
2
3
4
5
tosca_definitions_version: tosca_simple_yaml_1_3
topology_template:
  node_templates:
    worker:
      type: worker

Last update: April 28, 2024