Skip to content

persistent-persistent-throw

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:
      node_default_condition: true
      node_default_condition_mode: incoming-host
      relation_default_condition: true
      relation_default_condition_mode: source-target
      type_default_condition: true
      hosting_stack_constraint: true
  node_templates:
    worker:
      type: worker
      requirements:
        - host:
            node: vm
    vm:
      type: vm
      requirements:
        - host:
            node: hypervisor
    hypervisor:
      type: hypervisor

Expected Error

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

1
2
3
>-
  Node default condition mode "incoming(naive)-host" requires at least one
  persistent node template

Last update: March 27, 2024