[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / cinder_volume_translation / expectedoutputfiles / MainServiceTemplate.yaml
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       type: string
14       description: volume type Gold
15     FSB1_volume_name:
16       label: FSB1_volume
17       hidden: false
18       immutable: false
19       type: string
20       description: FSB1_volume_1
21     FSB_1_image:
22       label: MME_FSB1
23       hidden: false
24       immutable: false
25       type: string
26       description: MME_FSB1_15B-CP04-r5a01
27     volume_size:
28       label: volume size
29       hidden: false
30       immutable: false
31       type: float
32       description: my volume size 320GB
33     stam:
34       label: stam
35       hidden: false
36       immutable: false
37       type: float
38       description: stam
39     FSB_2_image:
40       label: MME_FSB2
41       hidden: false
42       immutable: false
43       type: string
44       description: MME_FSB2_15B-CP04-r5a01
45     FSB2_volume_name:
46       label: FSB2_volume
47       hidden: false
48       immutable: false
49       type: string
50       description: FSB2_volume_1
51   node_templates:
52     FSB1_volume:
53       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
54       properties:
55         image:
56           get_input: FSB_1_image
57         volume_type:
58           get_input: volume_type
59         size: 3*1024
60         read_only:
61           get_input: stam
62         name:
63           get_input: FSB1_volume_name
64     FSB2_volume:
65       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
66       properties:
67         image:
68           get_input: FSB_2_image
69         volume_type:
70           get_input: volume_type
71         size: '(get_input : volume_size) * 1024'
72         read_only: true
73         name:
74           get_input: FSB2_volume_name
75     FSB3_volume:
76       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
77       properties:
78         image:
79           get_input: FSB_1_image
80         volume_type:
81           get_input: volume_type
82         size: 3*1024
83         read_only: true
84         name:
85           get_input: FSB1_volume_name
86     FSB4_volume:
87       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
88       properties:
89         image:
90           get_input: FSB_2_image
91         volume_type:
92           get_input: volume_type
93         size: '(get_input : volume_size) * 1024'
94         read_only: true
95         name:
96           get_input: FSB2_volume_name
97   groups:
98     hot_template_group:
99       type: org.openecomp.groups.heat.HeatStack
100       properties:
101         heat_file: ../Artifacts/hot_template.yml
102         description: server template for vMME
103       members:
104       - FSB1_volume
105       - FSB2_volume
106       - FSB3_volume
107       - FSB4_volume