[sdc] update code of sdc
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / singleSubstitution / generalVf / out / Nested_NCB1ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_NCB1
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.NCB1:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_NCB1_Internal1_network_role:
15       type: list
16       required: true
17       entry_schema:
18         type: string
19     port_NCB1_Internal2_network_role:
20       type: list
21       required: true
22       entry_schema:
23         type: string
24     port_NCB1_Internal1_network_role_tag:
25       type: list
26       required: true
27       entry_schema:
28         type: string
29     vm_flavor_name:
30       type: string
31       required: true
32     compute_NCB1_name:
33       type: list
34       required: true
35       entry_schema:
36         type: string
37     port_NCB1_Internal2_mac_requirements:
38       type: org.openecomp.datatypes.network.MacRequirements
39       required: true
40     vm_image_name:
41       type: string
42       required: true
43     port_NCB1_Internal2_order:
44       type: list
45       required: true
46       entry_schema:
47         type: integer
48     port_NCB1_Internal2_ip_requirements:
49       type: list
50       required: true
51       entry_schema:
52         type: org.openecomp.datatypes.network.IpRequirements
53     port_NCB1_Internal1_exCP_naming:
54       type: list
55       required: true
56       entry_schema:
57         type: json
58     port_NCB1_Internal1_subnetpoolid:
59       type: list
60       required: true
61       entry_schema:
62         type: string
63     port_NCB1_Internal2_vlan_requirements:
64       type: list
65       required: true
66       entry_schema:
67         type: json
68     port_NCB1_Internal2_subnetpoolid:
69       type: list
70       required: true
71       entry_schema:
72         type: string
73     port_NCB1_Internal2_mac_address:
74       type: string
75       required: true
76     index_value:
77       type: integer
78       description: Index value of this substitution service template runtime instance
79       required: false
80       default: 0
81       constraints:
82       - greater_or_equal: 0
83     port_NCB1_Internal1_mac_address:
84       type: string
85       required: true
86     port_NCB1_Internal1_order:
87       type: list
88       required: true
89       entry_schema:
90         type: integer
91     port_NCB1_Internal2_exCP_naming:
92       type: list
93       required: true
94       entry_schema:
95         type: json
96     port_NCB1_Internal1_ip_requirements:
97       type: list
98       required: true
99       entry_schema:
100         type: org.openecomp.datatypes.network.IpRequirements
101     port_NCB1_Internal1_vlan_requirements:
102       type: list
103       required: true
104       entry_schema:
105         type: json
106     port_NCB1_Internal1_mac_requirements:
107       type: org.openecomp.datatypes.network.MacRequirements
108       required: true
109     port_NCB1_Internal1_network:
110       type: list
111       required: true
112       entry_schema:
113         type: string
114     compute_NCB1_availability_zone:
115       type: list
116       required: true
117       entry_schema:
118         type: string
119     port_NCB1_Internal2_network_role_tag:
120       type: list
121       required: true
122       entry_schema:
123         type: string
124     port_NCB1_Internal2_network:
125       type: list
126       required: true
127       entry_schema:
128         type: string
129   node_templates:
130     NCB1:
131       type: org.openecomp.resource.vfc.nodes.heat.NCB1
132       properties:
133         availability_zone:
134           get_input:
135           - compute_NCB1_availability_zone
136           - index_value
137         flavor:
138           get_input: vm_flavor_name
139         image:
140           get_input: vm_image_name
141         name:
142           get_input:
143           - compute_NCB1_name
144           - index_value
145     NCB1_NCB1_Internal1:
146       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
147       properties:
148         exCP_naming:
149           get_input:
150           - port_NCB1_Internal1_exCP_naming
151           - index_value
152         vlan_requirements:
153           get_input:
154           - port_NCB1_Internal1_vlan_requirements
155           - index_value
156         ip_requirements:
157           get_input: port_NCB1_Internal1_ip_requirements
158         network_role_tag:
159           get_input:
160           - port_NCB1_Internal1_network_role_tag
161           - index_value
162         mac_requirements:
163           get_input: port_NCB1_Internal1_mac_requirements
164         order:
165           get_input:
166           - port_NCB1_Internal1_order
167           - index_value
168         network_role:
169           get_input:
170           - port_NCB1_Internal1_network_role
171           - index_value
172         subnetpoolid:
173           get_input:
174           - port_NCB1_Internal1_subnetpoolid
175           - index_value
176         network:
177           get_input:
178           - port_NCB1_Internal1_network
179           - index_value
180         mac_address:
181           get_input: port_NCB1_Internal1_mac_address
182       requirements:
183       - binding:
184           capability: tosca.capabilities.network.Bindable
185           node: NCB1
186           relationship: tosca.relationships.network.BindsTo
187     NCB1_NCB1_Internal2:
188       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
189       properties:
190         exCP_naming:
191           get_input:
192           - port_NCB1_Internal2_exCP_naming
193           - index_value
194         vlan_requirements:
195           get_input:
196           - port_NCB1_Internal2_vlan_requirements
197           - index_value
198         ip_requirements:
199           get_input: port_NCB1_Internal2_ip_requirements
200         network_role_tag:
201           get_input:
202           - port_NCB1_Internal2_network_role_tag
203           - index_value
204         mac_requirements:
205           get_input: port_NCB1_Internal2_mac_requirements
206         order:
207           get_input:
208           - port_NCB1_Internal2_order
209           - index_value
210         network_role:
211           get_input:
212           - port_NCB1_Internal2_network_role
213           - index_value
214         subnetpoolid:
215           get_input:
216           - port_NCB1_Internal2_subnetpoolid
217           - index_value
218         network:
219           get_input:
220           - port_NCB1_Internal2_network
221           - index_value
222         mac_address:
223           get_input: port_NCB1_Internal2_mac_address
224       requirements:
225       - binding:
226           capability: tosca.capabilities.network.Bindable
227           node: NCB1
228           relationship: tosca.relationships.network.BindsTo
229   substitution_mappings:
230     node_type: org.openecomp.resource.abstract.nodes.NCB1
231     capabilities:
232       disk.device.write.bytes.rate_NCB1:
233       - NCB1
234       - disk.device.write.bytes.rate
235       memory.resident_NCB1:
236       - NCB1
237       - memory.resident
238       disk.root.size_NCB1:
239       - NCB1
240       - disk.root.size
241       instance_NCB1:
242       - NCB1
243       - instance
244       disk.device.read.bytes.rate_NCB1:
245       - NCB1
246       - disk.device.read.bytes.rate
247       disk.write.requests.rate_NCB1:
248       - NCB1
249       - disk.write.requests.rate
250       cpu_NCB1:
251       - NCB1
252       - cpu
253       binding_NCB1_NCB1_Internal1:
254       - NCB1_NCB1_Internal1
255       - binding
256       binding_NCB1_NCB1_Internal2:
257       - NCB1_NCB1_Internal2
258       - binding
259       cpu.delta_NCB1:
260       - NCB1
261       - cpu.delta
262       disk.device.capacity_NCB1:
263       - NCB1
264       - disk.device.capacity
265       binding_NCB1:
266       - NCB1
267       - binding
268       disk.device.read.bytes_NCB1:
269       - NCB1
270       - disk.device.read.bytes
271       network.outgoing.bytes.rate_NCB1_NCB1_Internal1:
272       - NCB1_NCB1_Internal1
273       - network.outgoing.bytes.rate
274       network.outgoing.bytes.rate_NCB1_NCB1_Internal2:
275       - NCB1_NCB1_Internal2
276       - network.outgoing.bytes.rate
277       disk.device.allocation_NCB1:
278       - NCB1
279       - disk.device.allocation
280       disk.usage_NCB1:
281       - NCB1
282       - disk.usage
283       network.incoming.bytes.rate_NCB1_NCB1_Internal2:
284       - NCB1_NCB1_Internal2
285       - network.incoming.bytes.rate
286       network.incoming.packets_NCB1_NCB1_Internal2:
287       - NCB1_NCB1_Internal2
288       - network.incoming.packets
289       disk.ephemeral.size_NCB1:
290       - NCB1
291       - disk.ephemeral.size
292       network.incoming.bytes.rate_NCB1_NCB1_Internal1:
293       - NCB1_NCB1_Internal1
294       - network.incoming.bytes.rate
295       network.incoming.packets_NCB1_NCB1_Internal1:
296       - NCB1_NCB1_Internal1
297       - network.incoming.packets
298       disk.allocation_NCB1:
299       - NCB1
300       - disk.allocation
301       disk.write.bytes_NCB1:
302       - NCB1
303       - disk.write.bytes
304       disk.device.latency_NCB1:
305       - NCB1
306       - disk.device.latency
307       network.outpoing.packets_NCB1_NCB1_Internal1:
308       - NCB1_NCB1_Internal1
309       - network.outpoing.packets
310       network.incoming.packets.rate_NCB1_NCB1_Internal2:
311       - NCB1_NCB1_Internal2
312       - network.incoming.packets.rate
313       network.incoming.packets.rate_NCB1_NCB1_Internal1:
314       - NCB1_NCB1_Internal1
315       - network.incoming.packets.rate
316       vcpus_NCB1:
317       - NCB1
318       - vcpus
319       feature_NCB1_NCB1_Internal2:
320       - NCB1_NCB1_Internal2
321       - feature
322       endpoint_NCB1:
323       - NCB1
324       - endpoint
325       network.outgoing.bytes_NCB1_NCB1_Internal2:
326       - NCB1_NCB1_Internal2
327       - network.outgoing.bytes
328       disk.device.iops_NCB1:
329       - NCB1
330       - disk.device.iops
331       network.outgoing.bytes_NCB1_NCB1_Internal1:
332       - NCB1_NCB1_Internal1
333       - network.outgoing.bytes
334       feature_NCB1:
335       - NCB1
336       - feature
337       network.outpoing.packets_NCB1_NCB1_Internal2:
338       - NCB1_NCB1_Internal2
339       - network.outpoing.packets
340       feature_NCB1_NCB1_Internal1:
341       - NCB1_NCB1_Internal1
342       - feature
343       disk.read.requests_NCB1:
344       - NCB1
345       - disk.read.requests
346       disk.device.write.requests_NCB1:
347       - NCB1
348       - disk.device.write.requests
349       memory.usage_NCB1:
350       - NCB1
351       - memory.usage
352       attachment_NCB1_NCB1_Internal2:
353       - NCB1_NCB1_Internal2
354       - attachment
355       network.outgoing.packets.rate_NCB1_NCB1_Internal2:
356       - NCB1_NCB1_Internal2
357       - network.outgoing.packets.rate
358       attachment_NCB1_NCB1_Internal1:
359       - NCB1_NCB1_Internal1
360       - attachment
361       network.outgoing.packets.rate_NCB1_NCB1_Internal1:
362       - NCB1_NCB1_Internal1
363       - network.outgoing.packets.rate
364       disk.write.bytes.rate_NCB1:
365       - NCB1
366       - disk.write.bytes.rate
367       disk.device.read.requests_NCB1:
368       - NCB1
369       - disk.device.read.requests
370       memory_NCB1:
371       - NCB1
372       - memory
373       disk.device.write.bytes_NCB1:
374       - NCB1
375       - disk.device.write.bytes
376       disk.device.read.requests.rate_NCB1:
377       - NCB1
378       - disk.device.read.requests.rate
379       disk.read.bytes_NCB1:
380       - NCB1
381       - disk.read.bytes
382       disk.read.bytes.rate_NCB1:
383       - NCB1
384       - disk.read.bytes.rate
385       disk.capacity_NCB1:
386       - NCB1
387       - disk.capacity
388       disk.device.write.requests.rate_NCB1:
389       - NCB1
390       - disk.device.write.requests.rate
391       scalable_NCB1:
392       - NCB1
393       - scalable
394       disk.iops_NCB1:
395       - NCB1
396       - disk.iops
397       os_NCB1:
398       - NCB1
399       - os
400       network.incoming.bytes_NCB1_NCB1_Internal2:
401       - NCB1_NCB1_Internal2
402       - network.incoming.bytes
403       network.incoming.bytes_NCB1_NCB1_Internal1:
404       - NCB1_NCB1_Internal1
405       - network.incoming.bytes
406       disk.write.requests_NCB1:
407       - NCB1
408       - disk.write.requests
409       disk.latency_NCB1:
410       - NCB1
411       - disk.latency
412       host_NCB1:
413       - NCB1
414       - host
415       cpu_util_NCB1:
416       - NCB1
417       - cpu_util
418       disk.device.usage_NCB1:
419       - NCB1
420       - disk.device.usage
421     requirements:
422       link_NCB1_NCB1_Internal1:
423       - NCB1_NCB1_Internal1
424       - link
425       local_storage_NCB1:
426       - NCB1
427       - local_storage
428       link_NCB1_NCB1_Internal2:
429       - NCB1_NCB1_Internal2
430       - link
431       dependency_NCB1_NCB1_Internal1:
432       - NCB1_NCB1_Internal1
433       - dependency
434       dependency_NCB1:
435       - NCB1
436       - dependency
437       dependency_NCB1_NCB1_Internal2:
438       - NCB1_NCB1_Internal2
439       - dependency