[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / nestedOtherScenarios / multiLevel / twoNestedLevelsWithAllPatternsAndConnectivities / out / Nested_BE_1c1ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_BE_1c1
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 node_types:
10   org.openecomp.resource.vfc.nodes.heat.BE_1c1:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_BE_port_exCP_naming:
15       type: org.openecomp.datatypes.Naming
16       required: true
17     port_BE_port_network_role:
18       type: string
19       required: true
20     index_value:
21       type: integer
22       description: Index value of this substitution service template runtime instance
23       required: false
24       default: 0
25       constraints:
26       - greater_or_equal: 0
27     port_BE_port_order:
28       type: integer
29       required: true
30     port_BE_port_subnetpoolid:
31       type: string
32       required: true
33     vm_flavor_name:
34       type: string
35       required: true
36     port_BE_port_mac_requirements:
37       type: org.openecomp.datatypes.network.MacRequirements
38       required: true
39     port_BE_port_fixed_ips:
40       type: list
41       required: true
42       entry_schema:
43         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
44     port_BE_port_vlan_requirements:
45       type: list
46       required: true
47       entry_schema:
48         type: org.openecomp.datatypes.network.VlanRequirements
49     compute_BE_1c1_availability_zone:
50       type: list
51       required: true
52       entry_schema:
53         type: string
54     port_BE_port_network:
55       type: list
56       required: true
57       entry_schema:
58         type: string
59     port_BE_port_ip_requirements:
60       type: list
61       required: true
62       entry_schema:
63         type: org.openecomp.datatypes.network.IpRequirements
64     port_BE_port_network_role_tag:
65       type: string
66       required: true
67     vm_image_name:
68       type: string
69       required: true
70     compute_BE_1c1_name:
71       type: list
72       required: true
73       entry_schema:
74         type: string
75     port_BE_port_replacement_policy:
76       type: list
77       required: true
78       entry_schema:
79         type: string
80   node_templates:
81     BE_1c1_BE_port:
82       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
83       properties:
84         exCP_naming:
85           get_input: port_BE_port_exCP_naming
86         replacement_policy:
87           get_input:
88           - port_BE_port_replacement_policy
89           - index_value
90         vlan_requirements:
91           get_input: port_BE_port_vlan_requirements
92         ip_requirements:
93           get_input: port_BE_port_ip_requirements
94         network_role_tag:
95           get_input: port_BE_port_network_role_tag
96         mac_requirements:
97           get_input: port_BE_port_mac_requirements
98         order:
99           get_input: port_BE_port_order
100         network_role:
101           get_input: port_BE_port_network_role
102         subnetpoolid:
103           get_input: port_BE_port_subnetpoolid
104         fixed_ips:
105           get_input: port_BE_port_fixed_ips
106         network:
107           get_input:
108           - port_BE_port_network
109           - index_value
110       requirements:
111       - binding:
112           capability: tosca.capabilities.network.Bindable
113           node: BE_1c1
114           relationship: tosca.relationships.network.BindsTo
115     BE_1c1:
116       type: org.openecomp.resource.vfc.nodes.heat.BE_1c1
117       properties:
118         availability_zone:
119           get_input:
120           - compute_BE_1c1_availability_zone
121           - index_value
122         flavor:
123           get_input: vm_flavor_name
124         image:
125           get_input: vm_image_name
126         name:
127           get_input:
128           - compute_BE_1c1_name
129           - index_value
130   outputs:
131     BE_1c1_accessIPv4:
132       type: string
133       value:
134         get_attribute:
135         - BE_1c1
136         - accessIPv4
137   substitution_mappings:
138     node_type: org.openecomp.resource.abstract.nodes.BE_1c1
139     capabilities:
140       disk.ephemeral.size_BE_1c1:
141       - BE_1c1
142       - disk.ephemeral.size
143       disk.device.write.bytes_BE_1c1:
144       - BE_1c1
145       - disk.device.write.bytes
146       os_BE_1c1:
147       - BE_1c1
148       - os
149       endpoint_BE_1c1:
150       - BE_1c1
151       - endpoint
152       network.outpoing.packets_BE_1c1_BE_port:
153       - BE_1c1_BE_port
154       - network.outpoing.packets
155       disk.device.write.requests_BE_1c1:
156       - BE_1c1
157       - disk.device.write.requests
158       disk.device.write.bytes.rate_BE_1c1:
159       - BE_1c1
160       - disk.device.write.bytes.rate
161       vcpus_BE_1c1:
162       - BE_1c1
163       - vcpus
164       network.incoming.packets.rate_BE_1c1_BE_port:
165       - BE_1c1_BE_port
166       - network.incoming.packets.rate
167       attachment_BE_1c1_BE_port:
168       - BE_1c1_BE_port
169       - attachment
170       network.incoming.bytes_BE_1c1_BE_port:
171       - BE_1c1_BE_port
172       - network.incoming.bytes
173       disk.capacity_BE_1c1:
174       - BE_1c1
175       - disk.capacity
176       disk.read.bytes_BE_1c1:
177       - BE_1c1
178       - disk.read.bytes
179       host_BE_1c1:
180       - BE_1c1
181       - host
182       disk.usage_BE_1c1:
183       - BE_1c1
184       - disk.usage
185       disk.write.bytes_BE_1c1:
186       - BE_1c1
187       - disk.write.bytes
188       network.outgoing.packets.rate_BE_1c1_BE_port:
189       - BE_1c1_BE_port
190       - network.outgoing.packets.rate
191       binding_BE_1c1_BE_port:
192       - BE_1c1_BE_port
193       - binding
194       disk.device.usage_BE_1c1:
195       - BE_1c1
196       - disk.device.usage
197       disk.device.read.requests.rate_BE_1c1:
198       - BE_1c1
199       - disk.device.read.requests.rate
200       network.outgoing.bytes.rate_BE_1c1_BE_port:
201       - BE_1c1_BE_port
202       - network.outgoing.bytes.rate
203       scalable_BE_1c1:
204       - BE_1c1
205       - scalable
206       disk.read.requests_BE_1c1:
207       - BE_1c1
208       - disk.read.requests
209       memory_BE_1c1:
210       - BE_1c1
211       - memory
212       disk.iops_BE_1c1:
213       - BE_1c1
214       - disk.iops
215       memory.usage_BE_1c1:
216       - BE_1c1
217       - memory.usage
218       network.incoming.packets_BE_1c1_BE_port:
219       - BE_1c1_BE_port
220       - network.incoming.packets
221       disk.device.latency_BE_1c1:
222       - BE_1c1
223       - disk.device.latency
224       disk.device.read.requests_BE_1c1:
225       - BE_1c1
226       - disk.device.read.requests
227       memory.resident_BE_1c1:
228       - BE_1c1
229       - memory.resident
230       disk.allocation_BE_1c1:
231       - BE_1c1
232       - disk.allocation
233       disk.device.allocation_BE_1c1:
234       - BE_1c1
235       - disk.device.allocation
236       disk.device.write.requests.rate_BE_1c1:
237       - BE_1c1
238       - disk.device.write.requests.rate
239       instance_BE_1c1:
240       - BE_1c1
241       - instance
242       disk.read.bytes.rate_BE_1c1:
243       - BE_1c1
244       - disk.read.bytes.rate
245       disk.device.iops_BE_1c1:
246       - BE_1c1
247       - disk.device.iops
248       disk.root.size_BE_1c1:
249       - BE_1c1
250       - disk.root.size
251       network.incoming.bytes.rate_BE_1c1_BE_port:
252       - BE_1c1_BE_port
253       - network.incoming.bytes.rate
254       cpu_BE_1c1:
255       - BE_1c1
256       - cpu
257       cpu.delta_BE_1c1:
258       - BE_1c1
259       - cpu.delta
260       disk.write.requests.rate_BE_1c1:
261       - BE_1c1
262       - disk.write.requests.rate
263       binding_BE_1c1:
264       - BE_1c1
265       - binding
266       feature_BE_1c1:
267       - BE_1c1
268       - feature
269       disk.write.bytes.rate_BE_1c1:
270       - BE_1c1
271       - disk.write.bytes.rate
272       disk.write.requests_BE_1c1:
273       - BE_1c1
274       - disk.write.requests
275       disk.device.read.bytes_BE_1c1:
276       - BE_1c1
277       - disk.device.read.bytes
278       feature_BE_1c1_BE_port:
279       - BE_1c1_BE_port
280       - feature
281       disk.device.read.bytes.rate_BE_1c1:
282       - BE_1c1
283       - disk.device.read.bytes.rate
284       disk.device.capacity_BE_1c1:
285       - BE_1c1
286       - disk.device.capacity
287       network.outgoing.bytes_BE_1c1_BE_port:
288       - BE_1c1_BE_port
289       - network.outgoing.bytes
290       disk.latency_BE_1c1:
291       - BE_1c1
292       - disk.latency
293       cpu_util_BE_1c1:
294       - BE_1c1
295       - cpu_util
296     requirements:
297       link_BE_1c1_BE_port:
298       - BE_1c1_BE_port
299       - link
300       local_storage_BE_1c1:
301       - BE_1c1
302       - local_storage
303       dependency_BE_1c1_BE_port:
304       - BE_1c1_BE_port
305       - dependency
306       dependency_BE_1c1:
307       - BE_1c1
308       - dependency