summaryrefslogtreecommitdiffstats
path: root/app/data/shared_model/composition_virtual/template_cv.yaml
blob: 81b170f2abf3e80b21a92298b8307a566a476d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
tosca_definitions_version: tosca_simple_yaml_1_0_0

#metadata section: used for catalog tagging
metadata:
  template_name: composition_virtual
  template_description: virtual node to include common info for all nodes in the composition
  template_version: 1.0.0
#  template_author: Shu Shi
  
#  asc_catalog: "{name:\"Utils\"}"
       
imports:
  - schema: schema.yaml
  
topology_template:

  inputs: 
#    service_id:
#      type: string
    dcae_service_location:
      type: string
 
  node_templates:             
    composition_virtual:
      type: dcae.nodes.composition.virtual
      properties: 
#        service_id: {get_input: service_id}
        location_id: {get_input: dcae_service_location}
        
      capabilities: 
        host: 
          properties: 
            service_id: {get_property: [SELF, service_id]}
            location_id: {get_property: [SELF, location_id]}