related-networks property support as input
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / unifiedComposition / creSubstitutionServiceTemplate / WithOutputParameters / noConsolidation / out / SubstitutionServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_FSB1
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.FSB1:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_FSB1_Internal_mac_address:
15       type: string
16       required: true
17     port_FSB1_Internal_ip_requirements:
18       type: list
19       required: true
20       entry_schema:
21         type: org.openecomp.datatypes.network.IpRequirements
22     port_FSB2_Internal_related_networks:
23       type: list
24       required: true
25       entry_schema:
26         type: org.openecomp.datatypes.network.RelatedNetworksAssignments
27     port_FSB1_Internal_subnetpoolid:
28       type: string
29       required: true
30     port_FSB1_OAM_subnetpoolid:
31       type: string
32       required: true
33     compute_FSB1_metadata:
34       type: list
35       required: true
36       entry_schema:
37         type: json
38     port_FSB2_Internal_vlan_requirements:
39       type: list
40       required: true
41       entry_schema:
42         type: org.openecomp.datatypes.network.VlanRequirements
43     port_FSB2_Internal_order:
44       type: integer
45       required: true
46     port_FSB1_OAM_exCP_naming:
47       type: org.openecomp.datatypes.Naming
48       required: true
49     port_FSB1_OAM_ip_requirements:
50       type: list
51       required: true
52       entry_schema:
53         type: org.openecomp.datatypes.network.IpRequirements
54     port_FSB2_Internal_ip_requirements:
55       type: list
56       required: true
57       entry_schema:
58         type: org.openecomp.datatypes.network.IpRequirements
59     vm_flavor_name:
60       type: string
61       required: true
62     port_FSB2_Internal_network_role:
63       type: string
64       required: true
65     port_FSB1_Internal_related_networks:
66       type: list
67       required: true
68       entry_schema:
69         type: org.openecomp.datatypes.network.RelatedNetworksAssignments
70     port_FSB1_Internal_network_role_tag:
71       type: string
72       required: true
73     port_FSB1_OAM_vlan_requirements:
74       type: list
75       required: true
76       entry_schema:
77         type: org.openecomp.datatypes.network.VlanRequirements
78     port_FSB1_Internal_vlan_requirements:
79       type: list
80       required: true
81       entry_schema:
82         type: org.openecomp.datatypes.network.VlanRequirements
83     port_FSB2_Internal_subnetpoolid:
84       type: string
85       required: true
86     port_FSB1_Internal_exCP_naming:
87       type: org.openecomp.datatypes.Naming
88       required: true
89     port_FSB1_Internal_network_role:
90       type: string
91       required: true
92     port_FSB1_OAM_mac_requirements:
93       type: org.openecomp.datatypes.network.MacRequirements
94       required: true
95     compute_FSB1_availability_zone:
96       type: list
97       required: true
98       entry_schema:
99         type: string
100     port_FSB1_Internal_network:
101       type: list
102       required: true
103       entry_schema:
104         type: string
105     index_value:
106       type: integer
107       description: Index value of this substitution service template runtime instance
108       required: false
109       default: 0
110       constraints:
111       - greater_or_equal: 0
112     port_FSB1_OAM_order:
113       type: integer
114       required: true
115     port_FSB2_Internal_mac_requirements:
116       type: org.openecomp.datatypes.network.MacRequirements
117       required: true
118     port_FSB2_Internal_mac_address:
119       type: string
120       required: true
121     port_FSB1_OAM_network:
122       type: list
123       required: true
124       entry_schema:
125         type: string
126     port_FSB2_Internal_exCP_naming:
127       type: org.openecomp.datatypes.Naming
128       required: true
129     port_FSB1_Internal_order:
130       type: integer
131       required: true
132     port_FSB1_OAM_network_role:
133       type: string
134       required: true
135     port_FSB2_Internal_network:
136       type: list
137       required: true
138       entry_schema:
139         type: string
140     port_FSB1_OAM_related_networks:
141       type: list
142       required: true
143       entry_schema:
144         type: org.openecomp.datatypes.network.RelatedNetworksAssignments
145     port_FSB1_OAM_network_role_tag:
146       type: string
147       required: true
148     port_FSB1_Internal_mac_requirements:
149       type: org.openecomp.datatypes.network.MacRequirements
150       required: true
151     compute_FSB1_name:
152       type: list
153       required: true
154       entry_schema:
155         type: string
156     port_FSB1_OAM_fixed_ips:
157       type: list
158       required: true
159       entry_schema:
160         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
161     port_FSB2_Internal_network_role_tag:
162       type: string
163       required: true
164   node_templates:
165     FSB1_FSB1_Internal:
166       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
167       properties:
168         mac_requirements:
169           get_input: port_FSB1_Internal_mac_requirements
170         order:
171           get_input: port_FSB1_Internal_order
172         mac_address:
173           get_input: port_FSB1_Internal_mac_address
174         exCP_naming:
175           get_input: port_FSB1_Internal_exCP_naming
176         vlan_requirements:
177           get_input: port_FSB1_Internal_vlan_requirements
178         subinterface_indicator: false
179         ip_requirements:
180           get_input: port_FSB1_Internal_ip_requirements
181         related_networks:
182           get_input: port_FSB1_Internal_related_networks
183         network_role_tag:
184           get_input: port_FSB1_Internal_network_role_tag
185         network_role:
186           get_input: port_FSB1_Internal_network_role
187         subnetpoolid:
188           get_input: port_FSB1_Internal_subnetpoolid
189         network:
190           get_input:
191           - port_FSB1_Internal_network
192           - index_value
193       requirements:
194       - binding:
195           capability: tosca.capabilities.network.Bindable
196           node: FSB1
197           relationship: tosca.relationships.network.BindsTo
198     FSB1_FSB2_Internal:
199       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
200       properties:
201         mac_requirements:
202           get_input: port_FSB2_Internal_mac_requirements
203         order:
204           get_input: port_FSB2_Internal_order
205         mac_address:
206           get_input: port_FSB2_Internal_mac_address
207         exCP_naming:
208           get_input: port_FSB2_Internal_exCP_naming
209         vlan_requirements:
210           get_input: port_FSB2_Internal_vlan_requirements
211         subinterface_indicator: false
212         ip_requirements:
213           get_input: port_FSB2_Internal_ip_requirements
214         related_networks:
215           get_input: port_FSB2_Internal_related_networks
216         network_role_tag:
217           get_input: port_FSB2_Internal_network_role_tag
218         network_role:
219           get_input: port_FSB2_Internal_network_role
220         subnetpoolid:
221           get_input: port_FSB2_Internal_subnetpoolid
222         network:
223           get_input:
224           - port_FSB2_Internal_network
225           - index_value
226       requirements:
227       - binding:
228           capability: tosca.capabilities.network.Bindable
229           node: FSB1
230           relationship: tosca.relationships.network.BindsTo
231     FSB1_FSB1_OAM:
232       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
233       properties:
234         mac_requirements:
235           get_input: port_FSB1_OAM_mac_requirements
236         order:
237           get_input: port_FSB1_OAM_order
238         exCP_naming:
239           get_input: port_FSB1_OAM_exCP_naming
240         vlan_requirements:
241           get_input: port_FSB1_OAM_vlan_requirements
242         subinterface_indicator: false
243         ip_requirements:
244           get_input: port_FSB1_OAM_ip_requirements
245         related_networks:
246           get_input: port_FSB1_OAM_related_networks
247         network_role_tag:
248           get_input: port_FSB1_OAM_network_role_tag
249         network_role:
250           get_input: port_FSB1_OAM_network_role
251         fixed_ips:
252           get_input:
253           - port_FSB1_OAM_fixed_ips
254           - index_value
255         subnetpoolid:
256           get_input: port_FSB1_OAM_subnetpoolid
257         network:
258           get_input:
259           - port_FSB1_OAM_network
260           - index_value
261       requirements:
262       - binding:
263           capability: tosca.capabilities.network.Bindable
264           node: FSB1
265           relationship: tosca.relationships.network.BindsTo
266     FSB1:
267       type: org.openecomp.resource.vfc.nodes.heat.FSB1
268       properties:
269         availability_zone:
270           get_input:
271           - compute_FSB1_availability_zone
272           - index_value
273         flavor:
274           get_input: vm_flavor_name
275         metadata:
276           get_input:
277           - compute_FSB1_metadata
278           - index_value
279         name:
280           get_input:
281           - compute_FSB1_name
282           - index_value
283       artifacts:
284         nimbus-ethernet-gw:
285           type: tosca.artifacts.Deployment
286           file: ../Artifacts/nimbus-ethernet-gw
287         nimbus-ethernet:
288           type: tosca.artifacts.Deployment
289           file: ../Artifacts/nimbus-ethernet
290   outputs:
291     FSB1_FSB2_Internal_tenant_id:
292       type: string
293       value:
294         get_attribute:
295         - FSB1_FSB2_Internal
296         - tenant_id
297     FSB1_FSB1_Internal_network_id:
298       type: string
299       value:
300         get_attribute:
301         - FSB1_FSB1_Internal
302         - network_id
303     FSB1_accessIPv6:
304       type: string
305       value:
306         get_attribute:
307         - FSB1
308         - accessIPv6
309     FSB1_FSB1_OAM_status:
310       type: string
311       value:
312         get_attribute:
313         - FSB1_FSB1_OAM
314         - status
315     FSB1_addresses:
316       type: map
317       value:
318         get_attribute:
319         - FSB1
320         - addresses
321       entry_schema:
322         type: org.openecomp.datatypes.heat.novaServer.network.AddressInfo
323     FSB1_FSB2_Internal_network_id:
324       type: string
325       value:
326         get_attribute:
327         - FSB1_FSB2_Internal
328         - network_id
329     FSB1_FSB1_Internal_device_owner:
330       type: string
331       value:
332         get_attribute:
333         - FSB1_FSB1_Internal
334         - device_owner
335   substitution_mappings:
336     node_type: org.openecomp.resource.abstract.nodes.FSB1
337     capabilities:
338       network.incoming.bytes.rate_FSB1_FSB1_OAM:
339       - FSB1_FSB1_OAM
340       - network.incoming.bytes.rate
341       network.outgoing.bytes_FSB1_FSB1_OAM:
342       - FSB1_FSB1_OAM
343       - network.outgoing.bytes
344       binding_FSB1_FSB2_Internal:
345       - FSB1_FSB2_Internal
346       - binding
347       disk.capacity_FSB1:
348       - FSB1
349       - disk.capacity
350       disk.read.bytes.rate_FSB1:
351       - FSB1
352       - disk.read.bytes.rate
353       disk.device.latency_FSB1:
354       - FSB1
355       - disk.device.latency
356       disk.allocation_FSB1:
357       - FSB1
358       - disk.allocation
359       disk.read.bytes_FSB1:
360       - FSB1
361       - disk.read.bytes
362       disk.device.capacity_FSB1:
363       - FSB1
364       - disk.device.capacity
365       cpu_util_FSB1:
366       - FSB1
367       - cpu_util
368       disk.device.write.requests.rate_FSB1:
369       - FSB1
370       - disk.device.write.requests.rate
371       network.outgoing.bytes.rate_FSB1_FSB1_OAM:
372       - FSB1_FSB1_OAM
373       - network.outgoing.bytes.rate
374       disk.root.size_FSB1:
375       - FSB1
376       - disk.root.size
377       forwarder_FSB1_FSB2_Internal:
378       - FSB1_FSB2_Internal
379       - forwarder
380       feature_FSB1:
381       - FSB1
382       - feature
383       network.incoming.packets.rate_FSB1_FSB1_Internal:
384       - FSB1_FSB1_Internal
385       - network.incoming.packets.rate
386       network.outgoing.bytes_FSB1_FSB1_Internal:
387       - FSB1_FSB1_Internal
388       - network.outgoing.bytes
389       feature_FSB1_FSB2_Internal:
390       - FSB1_FSB2_Internal
391       - feature
392       attachment_FSB1_FSB2_Internal:
393       - FSB1_FSB2_Internal
394       - attachment
395       network.incoming.packets_FSB1_FSB2_Internal:
396       - FSB1_FSB2_Internal
397       - network.incoming.packets
398       forwarder_FSB1_FSB1_OAM:
399       - FSB1_FSB1_OAM
400       - forwarder
401       memory.resident_FSB1:
402       - FSB1
403       - memory.resident
404       network.incoming.packets.rate_FSB1_FSB1_OAM:
405       - FSB1_FSB1_OAM
406       - network.incoming.packets.rate
407       forwarder_FSB1_FSB1_Internal:
408       - FSB1_FSB1_Internal
409       - forwarder
410       network.incoming.packets.rate_FSB1_FSB2_Internal:
411       - FSB1_FSB2_Internal
412       - network.incoming.packets.rate
413       cpu_FSB1:
414       - FSB1
415       - cpu
416       disk.write.requests.rate_FSB1:
417       - FSB1
418       - disk.write.requests.rate
419       feature_FSB1_FSB1_OAM:
420       - FSB1_FSB1_OAM
421       - feature
422       instance_FSB1:
423       - FSB1
424       - instance
425       disk.device.read.bytes.rate_FSB1:
426       - FSB1
427       - disk.device.read.bytes.rate
428       cpu.delta_FSB1:
429       - FSB1
430       - cpu.delta
431       disk.write.bytes_FSB1:
432       - FSB1
433       - disk.write.bytes
434       binding_FSB1_FSB1_Internal:
435       - FSB1_FSB1_Internal
436       - binding
437       disk.device.read.requests.rate_FSB1:
438       - FSB1
439       - disk.device.read.requests.rate
440       feature_FSB1_FSB1_Internal:
441       - FSB1_FSB1_Internal
442       - feature
443       disk.device.read.requests_FSB1:
444       - FSB1
445       - disk.device.read.requests
446       disk.ephemeral.size_FSB1:
447       - FSB1
448       - disk.ephemeral.size
449       binding_FSB1:
450       - FSB1
451       - binding
452       disk.device.write.bytes_FSB1:
453       - FSB1
454       - disk.device.write.bytes
455       network.outgoing.packets.rate_FSB1_FSB1_OAM:
456       - FSB1_FSB1_OAM
457       - network.outgoing.packets.rate
458       binding_FSB1_FSB1_OAM:
459       - FSB1_FSB1_OAM
460       - binding
461       attachment_FSB1_FSB1_OAM:
462       - FSB1_FSB1_OAM
463       - attachment
464       network.incoming.packets_FSB1_FSB1_Internal:
465       - FSB1_FSB1_Internal
466       - network.incoming.packets
467       attachment_FSB1_FSB1_Internal:
468       - FSB1_FSB1_Internal
469       - attachment
470       network.incoming.bytes_FSB1_FSB1_OAM:
471       - FSB1_FSB1_OAM
472       - network.incoming.bytes
473       memory_FSB1:
474       - FSB1
475       - memory
476       network.incoming.packets_FSB1_FSB1_OAM:
477       - FSB1_FSB1_OAM
478       - network.incoming.packets
479       network.outpoing.packets_FSB1_FSB1_Internal:
480       - FSB1_FSB1_Internal
481       - network.outpoing.packets
482       network.outgoing.bytes.rate_FSB1_FSB2_Internal:
483       - FSB1_FSB2_Internal
484       - network.outgoing.bytes.rate
485       disk.device.read.bytes_FSB1:
486       - FSB1
487       - disk.device.read.bytes
488       disk.device.usage_FSB1:
489       - FSB1
490       - disk.device.usage
491       disk.write.bytes.rate_FSB1:
492       - FSB1
493       - disk.write.bytes.rate
494       scalable_FSB1:
495       - FSB1
496       - scalable
497       disk.usage_FSB1:
498       - FSB1
499       - disk.usage
500       network.outpoing.packets_FSB1_FSB1_OAM:
501       - FSB1_FSB1_OAM
502       - network.outpoing.packets
503       host_FSB1:
504       - FSB1
505       - host
506       disk.device.allocation_FSB1:
507       - FSB1
508       - disk.device.allocation
509       os_FSB1:
510       - FSB1
511       - os
512       vcpus_FSB1:
513       - FSB1
514       - vcpus
515       disk.write.requests_FSB1:
516       - FSB1
517       - disk.write.requests
518       network.outgoing.bytes_FSB1_FSB2_Internal:
519       - FSB1_FSB2_Internal
520       - network.outgoing.bytes
521       network.incoming.bytes_FSB1_FSB1_Internal:
522       - FSB1_FSB1_Internal
523       - network.incoming.bytes
524       network.outpoing.packets_FSB1_FSB2_Internal:
525       - FSB1_FSB2_Internal
526       - network.outpoing.packets
527       disk.device.write.bytes.rate_FSB1:
528       - FSB1
529       - disk.device.write.bytes.rate
530       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
531       - FSB1_FSB1_Internal
532       - network.outgoing.bytes.rate
533       endpoint_FSB1:
534       - FSB1
535       - endpoint
536       network.outgoing.packets.rate_FSB1_FSB1_Internal:
537       - FSB1_FSB1_Internal
538       - network.outgoing.packets.rate
539       network.incoming.bytes.rate_FSB1_FSB1_Internal:
540       - FSB1_FSB1_Internal
541       - network.incoming.bytes.rate
542       disk.latency_FSB1:
543       - FSB1
544       - disk.latency
545       memory.usage_FSB1:
546       - FSB1
547       - memory.usage
548       disk.read.requests_FSB1:
549       - FSB1
550       - disk.read.requests
551       disk.device.write.requests_FSB1:
552       - FSB1
553       - disk.device.write.requests
554       network.incoming.bytes.rate_FSB1_FSB2_Internal:
555       - FSB1_FSB2_Internal
556       - network.incoming.bytes.rate
557       network.incoming.bytes_FSB1_FSB2_Internal:
558       - FSB1_FSB2_Internal
559       - network.incoming.bytes
560       disk.iops_FSB1:
561       - FSB1
562       - disk.iops
563       network.outgoing.packets.rate_FSB1_FSB2_Internal:
564       - FSB1_FSB2_Internal
565       - network.outgoing.packets.rate
566       disk.device.iops_FSB1:
567       - FSB1
568       - disk.device.iops
569     requirements:
570       link_FSB1_FSB1_OAM:
571       - FSB1_FSB1_OAM
572       - link
573       dependency_FSB1_FSB1_OAM:
574       - FSB1_FSB1_OAM
575       - dependency
576       dependency_FSB1:
577       - FSB1
578       - dependency
579       link_FSB1_FSB2_Internal:
580       - FSB1_FSB2_Internal
581       - link
582       dependency_FSB1_FSB1_Internal:
583       - FSB1_FSB1_Internal
584       - dependency
585       link_FSB1_FSB1_Internal:
586       - FSB1_FSB1_Internal
587       - link
588       local_storage_FSB1:
589       - FSB1
590       - local_storage
591       dependency_FSB1_FSB2_Internal:
592       - FSB1_FSB2_Internal
593       - dependency