ee86bcfe7105c78f86a34b1e265774d1580ad80e
[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     vf_module_name:
56       hidden: false
57       immutable: false
58       annotations:
59         source:
60           type: org.openecomp.annotations.Source
61           properties:
62             vf_module_label:
63             - main
64             source_type: HEAT
65             param_name: vf_module_name
66       type: string
67       description: Unique name for this VF Module instance
68   node_templates:
69     tdcore_zone_0_RRG:
70       type: org.openecomp.resource.abstract.nodes.heat.vdbe
71       directives:
72       - substitutable
73       properties:
74         vf_module_id:
75           get_input: vf_module_id
76         service_template_filter:
77           substitute_service_template: nested_pattern4ServiceTemplate.yaml
78           count:
79             get_input: tdcore_zone_0_count
80           mandatory: false
81         vnf_name:
82           get_input: vnf_name
83         vf_module_name:
84           get_input: vf_module_name
85   groups:
86     main_group:
87       type: org.openecomp.groups.heat.HeatStack
88       properties:
89         heat_file: ../Artifacts/main.yml
90         description: |
91           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
92       members:
93       - tdcore_zone_0_RRG