hosting-aware-pruning-fig-10-fixed
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: incomingnaive-artifact-host
optimization_topology: min
optimization_topology_unique: false
hosting_stack_constraint: true
node_templates:
app:
type: app
persistent: true
requirements:
- host: elastic
- host: static
- database:
node: database
implied: true
database:
type: database
static:
type: static
elastic:
type: elastic
|
Variability-Resolved Service Template
The following variability-resolved service template is expected.
| tosca_definitions_version: tosca_simple_yaml_1_3
topology_template:
node_templates:
app:
type: app
requirements:
- host: elastic
- database: database
database:
type: database
elastic:
type: elastic
|
Last update:
December 13, 2024