2bef1f92197de588e116180dcb401897d435e79f
[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     volume_type:
10       label: volume type
11       hidden: false
12       immutable: false
13       annotations:
14         source:
15           type: org.openecomp.annotations.Source
16           properties:
17             vf_module_label:
18             - hot_template
19             source_type: HEAT
20             param_name: volume_type
21       type: string
22       description: volume type Gold
23     FSB1_volume_name:
24       label: FSB1_volume
25       hidden: false
26       immutable: false
27       annotations:
28         source:
29           type: org.openecomp.annotations.Source
30           properties:
31             vf_module_label:
32             - hot_template
33             source_type: HEAT
34             param_name: FSB1_volume_name
35       type: string
36       description: FSB1_volume_1
37     FSB_1_image:
38       label: MME_FSB1
39       hidden: false
40       immutable: false
41       annotations:
42         source:
43           type: org.openecomp.annotations.Source
44           properties:
45             vf_module_label:
46             - hot_template
47             source_type: HEAT
48             param_name: FSB_1_image
49       type: string
50       description: MME_FSB1_15B-CP04-r5a01
51     volume_size:
52       label: volume size
53       hidden: false
54       immutable: false
55       annotations:
56         source:
57           type: org.openecomp.annotations.Source
58           properties:
59             vf_module_label:
60             - hot_template
61             source_type: HEAT
62             param_name: volume_size
63       type: float
64       description: my volume size 320GB
65     stam:
66       label: stam
67       hidden: false
68       immutable: false
69       annotations:
70         source:
71           type: org.openecomp.annotations.Source
72           properties:
73             vf_module_label:
74             - hot_template
75             source_type: HEAT
76             param_name: stam
77       type: float
78       description: stam
79     FSB_2_image:
80       label: MME_FSB2
81       hidden: false
82       immutable: false
83       annotations:
84         source:
85           type: org.openecomp.annotations.Source
86           properties:
87             vf_module_label:
88             - hot_template
89             source_type: HEAT
90             param_name: FSB_2_image
91       type: string
92       description: MME_FSB2_15B-CP04-r5a01
93     FSB2_volume_name:
94       label: FSB2_volume
95       hidden: false
96       immutable: false
97       annotations:
98         source:
99           type: org.openecomp.annotations.Source
100           properties:
101             vf_module_label:
102             - hot_template
103             source_type: HEAT
104             param_name: FSB2_volume_name
105       type: string
106       description: FSB2_volume_1
107   node_templates:
108     FSB1_volume:
109       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
110       properties:
111         image:
112           get_input: FSB_1_image
113         volume_type:
114           get_input: volume_type
115         size: 3*1024
116         read_only:
117           get_input: stam
118         name:
119           get_input: FSB1_volume_name
120     FSB2_volume:
121       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
122       properties:
123         image:
124           get_input: FSB_2_image
125         volume_type:
126           get_input: volume_type
127         size: '(get_input : volume_size) * 1024'
128         read_only: true
129         name:
130           get_input: FSB2_volume_name
131     FSB3_volume:
132       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
133       properties:
134         image:
135           get_input: FSB_1_image
136         volume_type:
137           get_input: volume_type
138         size: 3*1024
139         read_only: true
140         name:
141           get_input: FSB1_volume_name
142     FSB4_volume:
143       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
144       properties:
145         image:
146           get_input: FSB_2_image
147         volume_type:
148           get_input: volume_type
149         size: '(get_input : volume_size) * 1024'
150         read_only: true
151         name:
152           get_input: FSB2_volume_name
153   groups:
154     hot_template_group:
155       type: org.openecomp.groups.heat.HeatStack
156       properties:
157         heat_file: ../Artifacts/hot_template.yml
158         description: server template for vMME
159       members:
160       - FSB1_volume
161       - FSB2_volume
162       - FSB3_volume
163       - FSB4_volume