Skip to content

hosting-aware-pruning-transitive-both

Description

  • hypervisor is preserved in contrast to "transitive-unexpected"
  • and not ambiguous as in "transitive-ambiguous"

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:
    agent:
      type: agent
      requirements:
        - host: vm
    worker:
      type: worker
      persistent: true
      requirements:
        - host:
            node: vm
    vm:
      type: vm
      requirements:
        - host: hypervisor
    hypervisor:
      type: hypervisor

Variability-Resolved Service Template

The following variability-resolved service template is expected.

tosca_definitions_version: tosca_simple_yaml_1_3
topology_template:
  node_templates:
    agent:
      type: agent
      requirements:
        - host: vm
    worker:
      type: worker
      requirements:
        - host: vm
    vm:
      type: vm
      requirements:
        - host: hypervisor
    hypervisor:
      type: hypervisor

Last update: April 28, 2024