diff options
Diffstat (limited to 'app/data/shared_model/docker_host/translation.yaml')
-rw-r--r-- | app/data/shared_model/docker_host/translation.yaml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app/data/shared_model/docker_host/translation.yaml b/app/data/shared_model/docker_host/translation.yaml new file mode 100644 index 0000000..e741fa2 --- /dev/null +++ b/app/data/shared_model/docker_host/translation.yaml @@ -0,0 +1,27 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: docker_host_translate + +imports: + - schema: schema.yaml + +topology_template: + + inputs: #for substitution mapping definition, these inputs are exactly the properties of dcae.nodes.dockerApp.asimovCollector + location_id: + type: string + docker_host_override: + type: string + + + substitution_mappings: + node_type: tosca.dcae.nodes.dockerHost + capabilities: + host: [host, host] + + node_templates: + host: + type: dcae.nodes.SelectedDockerHost + properties: + location_id: {get_input: location_id} + docker_host_override: {get_input: docker_host_override}
\ No newline at end of file |