cbf9ff1951f97f834a503047c5dde581a0a785c5
[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 topology_template:
8   inputs:
9     param_type_comma_delimited_list:
10       hidden: false
11       immutable: false
12       annotations:
13         source:
14           type: org.openecomp.annotations.Source
15           properties:
16             vf_module_label:
17             - parameters
18             source_type: HEAT
19             param_name: param_type_comma_delimited_list
20       type: list
21       description: param comma_delimited_list - List
22       entry_schema:
23         type: string
24     param_type_string_default_value_with_env:
25       hidden: false
26       immutable: false
27       annotations:
28         source:
29           type: org.openecomp.annotations.Source
30           properties:
31             vf_module_label:
32             - parameters
33             source_type: HEAT
34             param_name: param_type_string_default_value_with_env
35       type: string
36       description: param value should be - HEAT_ENV_default string
37       default: HEAT_ENV default string
38     volume_type:
39       label: FSB Volume
40       hidden: false
41       immutable: false
42       annotations:
43         source:
44           type: org.openecomp.annotations.Source
45           properties:
46             vf_module_label:
47             - parameters
48             source_type: HEAT
49             param_name: volume_type
50       type: string
51       description: FSB Volume type
52     FSB1_volume_name:
53       label: FSB Volume
54       hidden: false
55       immutable: false
56       annotations:
57         source:
58           type: org.openecomp.annotations.Source
59           properties:
60             vf_module_label:
61             - parameters
62             source_type: HEAT
63             param_name: FSB1_volume_name
64       type: string
65       description: FSB Volume name
66     param_constraint_length_allowed_pattern_range_hidden:
67       label: User Name
68       hidden: true
69       immutable: false
70       annotations:
71         source:
72           type: org.openecomp.annotations.Source
73           properties:
74             vf_module_label:
75             - parameters
76             source_type: HEAT
77             param_name: param_constraint_length_allowed_pattern_range_hidden
78       type: string
79       description: User name to be configured for the application
80       constraints:
81       - max_length: 8
82       - min_length: 6
83       - pattern: '[A-Z]+[a-zA-Z0-9]*'
84       - in_range:
85         - 0
86         - 10
87     param_type_boolean_default_value_with_env:
88       hidden: false
89       immutable: false
90       annotations:
91         source:
92           type: org.openecomp.annotations.Source
93           properties:
94             vf_module_label:
95             - parameters
96             source_type: HEAT
97             param_name: param_type_boolean_default_value_with_env
98       type: boolean
99       description: param value should be false
100       default: false
101     param_type_string:
102       hidden: false
103       immutable: false
104       annotations:
105         source:
106           type: org.openecomp.annotations.Source
107           properties:
108             vf_module_label:
109             - parameters
110             source_type: HEAT
111             param_name: param_type_string
112       type: string
113       description: param String - string
114     param_type_string_default_value:
115       hidden: false
116       immutable: false
117       annotations:
118         source:
119           type: org.openecomp.annotations.Source
120           properties:
121             vf_module_label:
122             - parameters
123             source_type: HEAT
124             param_name: param_type_string_default_value
125       type: string
126       description: param value should be - HEAT_default string
127       default: HEAT_default string
128     param_type_number:
129       hidden: false
130       immutable: false
131       annotations:
132         source:
133           type: org.openecomp.annotations.Source
134           properties:
135             vf_module_label:
136             - parameters
137             source_type: HEAT
138             param_name: param_type_number
139       type: float
140       description: param number - float
141     param_type_boolean:
142       hidden: false
143       immutable: false
144       annotations:
145         source:
146           type: org.openecomp.annotations.Source
147           properties:
148             vf_module_label:
149             - parameters
150             source_type: HEAT
151             param_name: param_type_boolean
152       type: boolean
153       description: param boolean - boolean
154     param_type_comma_delimited_list_default_value_with_env:
155       hidden: false
156       immutable: false
157       annotations:
158         source:
159           type: org.openecomp.annotations.Source
160           properties:
161             vf_module_label:
162             - parameters
163             source_type: HEAT
164             param_name: param_type_comma_delimited_list_default_value_with_env
165       type: list
166       description: param value should be [b1,b2,b3,b4]
167       default:
168       - b1
169       - b2
170       - b3
171       - b4
172       entry_schema:
173         type: string
174     param_type_boolean_default_value:
175       hidden: false
176       immutable: false
177       annotations:
178         source:
179           type: org.openecomp.annotations.Source
180           properties:
181             vf_module_label:
182             - parameters
183             source_type: HEAT
184             param_name: param_type_boolean_default_value
185       type: boolean
186       description: param value should be true
187       default: true
188     param_type_number_default_value:
189       hidden: false
190       immutable: false
191       annotations:
192         source:
193           type: org.openecomp.annotations.Source
194           properties:
195             vf_module_label:
196             - parameters
197             source_type: HEAT
198             param_name: param_type_number_default_value
199       type: float
200       description: param value should be 12345
201       default: 12345
202     FSB_1_image:
203       label: FSB Image
204       hidden: false
205       immutable: false
206       annotations:
207         source:
208           type: org.openecomp.annotations.Source
209           properties:
210             vf_module_label:
211             - parameters
212             source_type: HEAT
213             param_name: FSB_1_image
214       type: string
215       description: FSB Image name
216     param_type_comma_delimited_list_default_value:
217       hidden: false
218       immutable: false
219       annotations:
220         source:
221           type: org.openecomp.annotations.Source
222           properties:
223             vf_module_label:
224             - parameters
225             source_type: HEAT
226             param_name: param_type_comma_delimited_list_default_value
227       type: list
228       description: param value should be [a1,a2,a3,a4]
229       default:
230       - a1
231       - a2
232       - a3
233       - a4
234       entry_schema:
235         type: string
236     param_type_number_default_value_with_env:
237       hidden: false
238       immutable: false
239       annotations:
240         source:
241           type: org.openecomp.annotations.Source
242           properties:
243             vf_module_label:
244             - parameters
245             source_type: HEAT
246             param_name: param_type_number_default_value_with_env
247       type: float
248       description: param value should be 54321
249       default: 54321
250     param_type_json:
251       hidden: false
252       immutable: false
253       annotations:
254         source:
255           type: org.openecomp.annotations.Source
256           properties:
257             vf_module_label:
258             - parameters
259             source_type: HEAT
260             param_name: param_type_json
261       type: json
262       description: param json - map<String>
263     param_allowed_values:
264       label: Instance Type
265       hidden: false
266       immutable: false
267       annotations:
268         source:
269           type: org.openecomp.annotations.Source
270           properties:
271             vf_module_label:
272             - parameters
273             source_type: HEAT
274             param_name: param_allowed_values
275       type: string
276       description: Instance type for compute instances
277       constraints:
278       - valid_values:
279         - m1.small
280         - m1.medium
281         - m1.large
282   node_templates:
283     FSB1_volume:
284       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
285       properties:
286         image:
287           get_input: FSB_1_image
288         volume_type:
289           get_input: volume_type
290         size: 3*1024
291         name:
292           get_input: FSB1_volume_name
293   groups:
294     parameters_group:
295       type: org.openecomp.groups.heat.HeatStack
296       properties:
297         heat_file: ../Artifacts/parameters.yaml
298         description: |
299           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
300       members:
301       - FSB1_volume