8fdf0c1e04f614e34d688bc3aa6f81f1a8c1a350
[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         vm_image_name:
149           get_input: pd_image_name
150         port_pd02_port_ip_requirements:
151         - ip_version: 4
152           ip_count_required:
153             is_required: false
154           floating_ip_count_required:
155             is_required: false
156         port_pd02_port_network:
157         - get_input: oam_net_name
158         compute_pd_server_user_data_format:
159         - RAW
160         service_template_filter:
161           substitute_service_template: Nested_pd_serverServiceTemplate.yaml
162           count: 1
163         index_value:
164           get_property:
165           - SELF
166           - service_template_filter
167           - index_value
168     abstract_pd_server_1:
169       type: org.openecomp.resource.abstract.nodes.pd_server_1
170       directives:
171       - substitutable
172       properties:
173         compute_pd_server_availability_zone:
174         - get_input: availabilityzone_name
175         compute_pd_server_name:
176         - get_input:
177           - pd_server_names
178           - 0
179         vm_flavor_name:
180           get_input: pd_flavor_name
181         port_pd01_port_mac_requirements:
182           mac_count_required:
183             is_required: false
184         vm_image_name:
185           get_input: pd_image_name
186         port_pd01_port_ip_requirements:
187         - ip_version: 4
188           ip_count_required:
189             is_required: false
190           floating_ip_count_required:
191             is_required: false
192         port_pd01_port_network:
193         - get_input: oam_net_name
194         port_pd01_port_network_role_tag: oam
195         compute_pd_server_user_data_format:
196         - RAW
197         service_template_filter:
198           substitute_service_template: Nested_pd_server_1ServiceTemplate.yaml
199           count: 1
200         index_value:
201           get_property:
202           - SELF
203           - service_template_filter
204           - index_value
205   groups:
206     main_group:
207       type: org.openecomp.groups.heat.HeatStack
208       properties:
209         heat_file: ../Artifacts/main.yml
210         description: |
211           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
212       members:
213       - test_nested1Level
214       - abstract_pd_server
215       - abstract_pd_server_1