Skip to content

implied-host-manual-right

Variable Service Template

The variability of the following variable service template shall be resolved.

tosca_definitions_version: tosca_variability_1_0_rc_2
topology_template:
    variability:
        inputs:
            l:
                type: boolean
        expressions:
            is_l:
                equal:
                    - variability_input: l
                    - true
            is_r:
                equal:
                    - variability_input: l
                    - false
        options:
            enrich_technologies: false
            technology_constraint: false
    node_templates:
        application:
            type: Application
            persistent: true
            requirements:
                - host:
                      node: left
                      implied: false
                - host:
                      node: right
                      implied: false
        right:
            type: Right
            conditions:
                logic_expression: is_r
        left:
            type: Left
            conditions:
                logic_expression: is_l

Variability Inputs

When resolving variability, the following variability inputs shall be used.

l: false

Variability-Resolved Service Template

The following variability-resolved service template is expected.

1
2
3
4
5
6
7
8
9
tosca_definitions_version: tosca_simple_yaml_1_3
topology_template:
    node_templates:
        application:
            type: Application
            requirements:
                - host: right
        right:
            type: Right

Last update: December 4, 2024