[sdc] docker file fix for cassandra
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / vol_att / volume_file_parallel_to_main_file / expectedoutputfiles / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5   ContrailComputeGlobalTypes:
6     file: ContrailComputeGlobalTypesServiceTemplate.yaml
7   CinderVolumeGlobalTypes:
8     file: CinderVolumeGlobalTypesServiceTemplate.yaml
9   ContrailVirtualNetworkGlobalType:
10     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
11   AbstractSubstituteGlobalTypes:
12     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
13   ContrailPortGlobalTypes:
14     file: ContrailPortGlobalTypesServiceTemplate.yaml
15   NeutronPortGlobalTypes:
16     file: NeutronPortGlobalTypesServiceTemplate.yaml
17   NeutronNetGlobalTypes:
18     file: NeutronNetGlobalTypesServiceTemplate.yaml
19   CommonGlobalTypes:
20     file: CommonGlobalTypesServiceTemplate.yaml
21   ContrailAbstractSubstituteGlobalTypes:
22     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
23   ContrailNetworkRuleGlobalType:
24     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
25   NeutronSecurityRulesGlobalTypes:
26     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
27   NovaServerGlobalTypes:
28     file: NovaServerGlobalTypesServiceTemplate.yaml
29   ContrailV2VirtualMachineInterfaceGlobalType:
30     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
31 node_types:
32   org.openecomp.resource.vfc.nodes.heat.cmaui:
33     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
34 topology_template:
35   inputs:
36     cmaui_names:
37       hidden: false
38       immutable: false
39       type: list
40       description: CMAUI1, CMAUI2 server names
41       entry_schema:
42         type: string
43     cmaui_cinder_volume_size:
44       label: CMAUI Cinder volume size
45       hidden: false
46       immutable: false
47       type: float
48       description: the size of the CMAUI Cinder volume
49     timezone:
50       label: timezone
51       hidden: false
52       immutable: false
53       type: string
54       description: timezone
55     security_group_name:
56       label: security group name
57       hidden: false
58       immutable: false
59       type: string
60       description: the name of security group
61     cmaui_volume:
62       label: CMAUI vm volume type
63       hidden: false
64       immutable: false
65       type: string
66       description: the name of the target volume backend
67     oam_network_netmask:
68       label: oam network netmask
69       hidden: false
70       immutable: false
71       type: string
72       description: oam network gateway
73     cmaui_image:
74       hidden: false
75       immutable: false
76       type: string
77       description: Image for CMAUI server
78     vnf_id:
79       hidden: false
80       immutable: false
81       type: string
82       description: Unique ID for this VNF instance
83       default: This_is_ths_MMSC-CMAUI_id
84     cmaui_flavor:
85       hidden: false
86       immutable: false
87       type: string
88       description: Flavor for CMAUI server
89     oam_network_gateway:
90       label: oam network gateway
91       hidden: false
92       immutable: false
93       type: string
94       description: oam network gateway
95     availability_zone_0:
96       label: availabilityzone name
97       hidden: false
98       immutable: false
99       type: string
100       description: availabilityzone name
101     cmaui_oam_ips:
102       label: CMAUI oam_net IP addresses
103       hidden: false
104       immutable: false
105       type: list
106       description: CMAUI oam_net IP addresses
107       entry_schema:
108         type: string
109     external_dns:
110       label: dns server
111       hidden: false
112       immutable: false
113       type: string
114       description: dns server
115     oam_net_name:
116       hidden: false
117       immutable: false
118       type: string
119       description: UID of OAM network
120     external_ntp:
121       label: ntp server
122       hidden: false
123       immutable: false
124       type: string
125       description: ntp server
126     CMAUI_volume_type:
127       label: CMAUI vm volume type
128       hidden: false
129       immutable: false
130       type: string
131       description: the name of the target volume backend
132   node_templates:
133     server_cmaui:
134       type: org.openecomp.resource.vfc.nodes.heat.cmaui
135       properties:
136         flavor:
137           get_input: cmaui_flavor
138         availability_zone:
139           get_input: availability_zone_0
140         image:
141           get_input: cmaui_image
142         metadata:
143           vnf_id:
144             get_input: vnf_id
145         user_data_format: RAW
146         name:
147           get_input:
148           - cmaui_names
149           - 0
150     cmaui_volume:
151       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
152       properties:
153         volume_type:
154           get_input: CMAUI_volume_type
155         size: '(get_input : cmaui_cinder_volume_size) * 1024'
156     cmaui_port_0:
157       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
158       properties:
159         replacement_policy: AUTO
160         security_groups:
161         - get_input: security_group_name
162         fixed_ips:
163         - ip_address:
164             get_input:
165             - cmaui_oam_ips
166             - 0
167         network:
168           get_input: oam_net_name
169       requirements:
170       - binding:
171           capability: tosca.capabilities.network.Bindable
172           node: server_cmaui
173           relationship: tosca.relationships.network.BindsTo
174   groups:
175     a_vol:
176       type: org.openecomp.groups.heat.HeatStack
177       properties:
178         heat_file: ../Artifacts/a_vol.yml
179         description: volume
180       members:
181       - cmaui_volume
182     hot_template:
183       type: org.openecomp.groups.heat.HeatStack
184       properties:
185         heat_file: ../Artifacts/hot_template.yml
186         description: cmaui server template for vMMSC
187       members:
188       - server_cmaui
189       - cmaui_port_0