94f7b2fa251f616520d07f21f3d269ae053be93a
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     vf_module_id:
12       hidden: false
13       immutable: false
14       annotations:
15         source:
16           type: org.openecomp.annotations.Source
17           properties:
18             vf_module_label:
19             - main
20             source_type: HEAT
21             param_name: vf_module_id
22       type: string
23       description: Unique ID for this VF Module instance
24     vnf_name:
25       hidden: false
26       immutable: false
27       annotations:
28         source:
29           type: org.openecomp.annotations.Source
30           properties:
31             vf_module_label:
32             - main
33             source_type: HEAT
34             param_name: vnf_name
35       type: string
36       description: Unique name for this VF instance
37     tdcore_zone_0_count:
38       hidden: false
39       immutable: false
40       annotations:
41         source:
42           type: org.openecomp.annotations.Source
43           properties:
44             vf_module_label:
45             - main
46             source_type: HEAT
47             param_name: tdcore_zone_0_count
48       type: float
49       description: |
50         Number of TD Core VMs to be deployed zone 0. This parameter is used to scale the TD Core instances.
51       constraints:
52       - in_range:
53         - 0
54         - 8
55     untr_network_collection_function:
56       type: string
57       required: true
58     untr_vfc_instance_group_function:
59       type: string
60       required: true
61     vf_module_name:
62       hidden: false
63       immutable: false
64       annotations:
65         source:
66           type: org.openecomp.annotations.Source
67           properties:
68             vf_module_label:
69             - main
70             source_type: HEAT
71             param_name: vf_module_name
72       type: string
73       description: Unique name for this VF Module instance
74   node_templates:
75     tdcore_zone_0_RRG:
76       type: org.openecomp.resource.abstract.nodes.heat.vdbe
77       directives:
78       - substitutable
79       properties:
80         vf_module_id:
81           get_input: vf_module_id
82         service_template_filter:
83           substitute_service_template: nested_pattern4ServiceTemplate.yaml
84           count:
85             get_input: tdcore_zone_0_count
86           mandatory: false
87         vnf_name:
88           get_input: vnf_name
89         vf_module_name:
90           get_input: vf_module_name
91   groups:
92     main_group:
93       type: org.openecomp.groups.heat.HeatStack
94       properties:
95         heat_file: ../Artifacts/main.yml
96         description: |
97           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
98       members:
99       - tdcore_zone_0_RRG
100     untr_group:
101       type: org.openecomp.groups.VfcInstanceGroup
102       properties:
103         vfc_parent_port_role: untr
104         network_collection_function:
105           get_input: untr_network_collection_function
106         vfc_instance_group_function:
107           get_input: untr_vfc_instance_group_function
108         subinterface_role: untr
109       members:
110       - tdcore_zone_0_RRG