63c91e5ebe09052558e6a2db1b33d43bebdb87d1
[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     pd_flavor_name:
12       label: PD flavor name
13       hidden: false
14       immutable: false
15       annotations:
16         source:
17           type: org.openecomp.annotations.Source
18           properties:
19             vf_module_label:
20             - main
21             source_type: HEAT
22             param_name: pd_flavor_name
23       type: string
24       description: flavor name of PD instance
25     p1:
26       hidden: false
27       immutable: false
28       annotations:
29         source:
30           type: org.openecomp.annotations.Source
31           properties:
32             vf_module_label:
33             - main
34             source_type: HEAT
35             param_name: p1
36       type: string
37       description: UID of OAM network
38     availabilityzone_name:
39       label: availabilityzone name
40       hidden: false
41       immutable: false
42       annotations:
43         source:
44           type: org.openecomp.annotations.Source
45           properties:
46             vf_module_label:
47             - main
48             source_type: HEAT
49             param_name: availabilityzone_name
50       type: string
51       description: availabilityzone name
52     security_group_name:
53       hidden: false
54       immutable: false
55       annotations:
56         source:
57           type: org.openecomp.annotations.Source
58           properties:
59             vf_module_label:
60             - main
61             source_type: HEAT
62             param_name: security_group_name
63       type: string
64       description: network name of jsa log network
65     pd_image_name:
66       label: image name
67       hidden: false
68       immutable: false
69       annotations:
70         source:
71           type: org.openecomp.annotations.Source
72           properties:
73             vf_module_label:
74             - main
75             source_type: HEAT
76             param_name: pd_image_name
77       type: string
78       description: PD image name
79     pd_server_names:
80       label: PD server names
81       hidden: false
82       immutable: false
83       annotations:
84         source:
85           type: org.openecomp.annotations.Source
86           properties:
87             vf_module_label:
88             - main
89             source_type: HEAT
90             param_name: pd_server_names
91       type: list
92       description: name of the PD instance
93       entry_schema:
94         type: string
95     oam_net_name:
96       hidden: false
97       immutable: false
98       annotations:
99         source:
100           type: org.openecomp.annotations.Source
101           properties:
102             vf_module_label:
103             - main
104             source_type: HEAT
105             param_name: oam_net_name
106       type: string
107       description: net name
108     jsa_name:
109       hidden: false
110       immutable: false
111       annotations:
112         source:
113           type: org.openecomp.annotations.Source
114           properties:
115             vf_module_label:
116             - main
117             source_type: HEAT
118             param_name: jsa_name
119       type: string
120       description: network name of jsa log network
121   node_templates:
122     test_nested1Level:
123       type: org.openecomp.resource.abstract.nodes.heat.nested1
124       directives:
125       - substitutable
126       properties:
127         p1:
128           get_input: p1
129         service_template_filter:
130           substitute_service_template: nested1ServiceTemplate.yaml
131     abstract_pd_server:
132       type: org.openecomp.resource.abstract.nodes.pd_server
133       directives:
134       - substitutable
135       properties:
136         compute_pd_server_availability_zone:
137         - get_input: availabilityzone_name
138         compute_pd_server_name:
139         - get_input:
140           - pd_server_names
141           - 1
142         port_pd02_port_mac_requirements:
143           mac_count_required:
144             is_required: false
145         vm_flavor_name:
146           get_input: pd_flavor_name
147         port_pd02_port_network_role_tag: oam
148         port_pd02_port_subinterface_indicator:
149         - false
150         vm_image_name:
151           get_input: pd_image_name
152         port_pd02_port_ip_requirements:
153         - ip_version: 4
154           ip_count_required:
155             is_required: false
156           floating_ip_count_required:
157             is_required: false
158         port_pd02_port_network:
159         - get_input: oam_net_name
160         compute_pd_server_user_data_format:
161         - RAW
162         service_template_filter:
163           substitute_service_template: Nested_pd_serverServiceTemplate.yaml
164           count: 1
165         index_value:
166           get_property:
167           - SELF
168           - service_template_filter
169           - index_value
170     abstract_pd_server_1:
171       type: org.openecomp.resource.abstract.nodes.pd_server_1
172       directives:
173       - substitutable
174       properties:
175         compute_pd_server_availability_zone:
176         - get_input: availabilityzone_name
177         compute_pd_server_name:
178         - get_input:
179           - pd_server_names
180           - 0
181         vm_flavor_name:
182           get_input: pd_flavor_name
183         port_pd01_port_mac_requirements:
184           mac_count_required:
185             is_required: false
186         vm_image_name:
187           get_input: pd_image_name
188         port_pd01_port_ip_requirements:
189         - ip_version: 4
190           ip_count_required:
191             is_required: false
192           floating_ip_count_required:
193             is_required: false
194         port_pd01_port_network:
195         - get_input: oam_net_name
196         port_pd01_port_subinterface_indicator:
197         - false
198         port_pd01_port_network_role_tag: oam
199         compute_pd_server_user_data_format:
200         - RAW
201         service_template_filter:
202           substitute_service_template: Nested_pd_server_1ServiceTemplate.yaml
203           count: 1
204         index_value:
205           get_property:
206           - SELF
207           - service_template_filter
208           - index_value
209   groups:
210     main_group:
211       type: org.openecomp.groups.heat.HeatStack
212       properties:
213         heat_file: ../Artifacts/main.yml
214         description: |
215           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
216       members:
217       - test_nested1Level
218       - abstract_pd_server
219       - abstract_pd_server_1