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
|
When resolving variability, the following variability inputs shall be used.
Variability-Resolved Service Template
The following variability-resolved service template is expected.
| tosca_definitions_version: tosca_simple_yaml_1_3
topology_template:
node_templates:
application:
type: Application
requirements:
- host: right
right:
type: Right
|
Last update:
November 18, 2024