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 / fulltest / catalogInstances / computewithtwosameporttypes / out / Nested_ioxServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_iox
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.compute.nodes.heat.iox:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_iox_data_0_port_ip_requirements:
15       type: list
16       required: true
17       entry_schema:
18         type: org.openecomp.datatypes.network.IpRequirements
19     port_iox_oam_0_port_exCP_naming:
20       type: org.openecomp.datatypes.Naming
21       required: true
22     port_iox_internal_0_port_network:
23       type: list
24       required: true
25       entry_schema:
26         type: string
27     port_iox_data_0_port_name:
28       type: list
29       required: true
30       entry_schema:
31         type: string
32     port_iox_data_0_port_related_networks:
33       type: list
34       required: true
35       entry_schema:
36         type: org.openecomp.datatypes.network.RelatedNetworksAssignments
37     vm_flavor_name:
38       type: string
39       required: true
40     port_iox_data_0_port_subnetpoolid:
41       type: string
42       required: true
43     port_iox_data_0_port_allowed_address_pairs:
44       type: list
45       required: true
46       entry_schema:
47         type: org.openecomp.datatypes.heat.network.AddressPair
48     port_iox_internal_0_port_ip_requirements:
49       type: list
50       required: true
51       entry_schema:
52         type: org.openecomp.datatypes.network.IpRequirements
53     vm_image_name:
54       type: string
55       required: true
56     port_iox_oam_0_port_name:
57       type: list
58       required: true
59       entry_schema:
60         type: string
61     port_iox_oam_0_port_network_role_tag:
62       type: string
63       required: true
64     port_iox_oam_0_port_subnetpoolid:
65       type: string
66       required: true
67     compute_iox_user_data_format:
68       type: list
69       required: true
70       entry_schema:
71         type: string
72     port_iox_data_0_port_fixed_ips:
73       type: list
74       required: true
75       entry_schema:
76         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
77     port_iox_internal_0_port_allowed_address_pairs:
78       type: list
79       required: true
80       entry_schema:
81         type: org.openecomp.datatypes.heat.network.AddressPair
82     compute_iox_config_drive:
83       type: list
84       required: true
85       entry_schema:
86         type: boolean
87     port_iox_internal_0_port_order:
88       type: integer
89       required: true
90     port_iox_oam_0_port_replacement_policy:
91       type: list
92       required: true
93       entry_schema:
94         type: string
95     port_iox_data_0_port_security_groups:
96       type: list
97       required: true
98       entry_schema:
99         type: json
100     port_iox_internal_0_port_vlan_requirements:
101       type: list
102       required: true
103       entry_schema:
104         type: org.openecomp.datatypes.network.VlanRequirements
105     compute_iox_image_update_policy:
106       type: list
107       required: true
108       entry_schema:
109         type: string
110     port_iox_oam_0_port_order:
111       type: integer
112       required: true
113     port_iox_oam_0_port_network:
114       type: list
115       required: true
116       entry_schema:
117         type: string
118     port_iox_oam_0_port_related_networks:
119       type: list
120       required: true
121       entry_schema:
122         type: org.openecomp.datatypes.network.RelatedNetworksAssignments
123     port_iox_internal_0_port_security_groups:
124       type: list
125       required: true
126       entry_schema:
127         type: json
128     port_iox_oam_0_port_vlan_requirements:
129       type: list
130       required: true
131       entry_schema:
132         type: org.openecomp.datatypes.network.VlanRequirements
133     port_iox_data_0_port_order:
134       type: integer
135       required: true
136     port_iox_internal_0_port_name:
137       type: list
138       required: true
139       entry_schema:
140         type: string
141     port_iox_oam_0_port_fixed_ips:
142       type: list
143       required: true
144       entry_schema:
145         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
146     port_iox_data_0_port_vlan_requirements:
147       type: list
148       required: true
149       entry_schema:
150         type: org.openecomp.datatypes.network.VlanRequirements
151     compute_iox_name:
152       type: list
153       required: true
154       entry_schema:
155         type: string
156     port_iox_data_0_port_network:
157       type: list
158       required: true
159       entry_schema:
160         type: string
161     port_iox_internal_0_port_replacement_policy:
162       type: list
163       required: true
164       entry_schema:
165         type: string
166     port_iox_internal_0_port_mac_requirements:
167       type: org.openecomp.datatypes.network.MacRequirements
168       required: true
169     port_iox_data_0_port_mac_requirements:
170       type: org.openecomp.datatypes.network.MacRequirements
171       required: true
172     port_iox_data_0_port_exCP_naming:
173       type: org.openecomp.datatypes.Naming
174       required: true
175     port_iox_oam_0_port_network_role:
176       type: string
177       required: true
178     port_iox_internal_0_port_network_role:
179       type: string
180       required: true
181     port_iox_data_0_port_network_role:
182       type: string
183       required: true
184     port_iox_data_0_port_replacement_policy:
185       type: list
186       required: true
187       entry_schema:
188         type: string
189     compute_iox_metadata:
190       type: list
191       required: true
192       entry_schema:
193         type: json
194     index_value:
195       type: integer
196       description: Index value of this substitution service template runtime instance
197       required: false
198       default: 0
199       constraints:
200       - greater_or_equal: 0
201     port_iox_internal_0_port_network_role_tag:
202       type: string
203       required: true
204     port_iox_internal_0_port_related_networks:
205       type: list
206       required: true
207       entry_schema:
208         type: org.openecomp.datatypes.network.RelatedNetworksAssignments
209     port_iox_oam_0_port_allowed_address_pairs:
210       type: list
211       required: true
212       entry_schema:
213         type: org.openecomp.datatypes.heat.network.AddressPair
214     port_iox_internal_0_port_subnetpoolid:
215       type: string
216       required: true
217     compute_iox_availability_zone:
218       type: list
219       required: true
220       entry_schema:
221         type: string
222     port_iox_oam_0_port_security_groups:
223       type: list
224       required: true
225       entry_schema:
226         type: json
227     port_iox_oam_0_port_mac_requirements:
228       type: org.openecomp.datatypes.network.MacRequirements
229       required: true
230     port_iox_oam_0_port_ip_requirements:
231       type: list
232       required: true
233       entry_schema:
234         type: org.openecomp.datatypes.network.IpRequirements
235     port_iox_internal_0_port_exCP_naming:
236       type: org.openecomp.datatypes.Naming
237       required: true
238     port_iox_data_0_port_network_role_tag:
239       type: string
240       required: true
241   node_templates:
242     iox_iox_data_0_port:
243       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
244       properties:
245         replacement_policy:
246           get_input:
247           - port_iox_data_0_port_replacement_policy
248           - index_value
249         mac_requirements:
250           get_input: port_iox_data_0_port_mac_requirements
251         allowed_address_pairs:
252           get_input: port_iox_data_0_port_allowed_address_pairs
253         order:
254           get_input: port_iox_data_0_port_order
255         security_groups:
256           get_input:
257           - port_iox_data_0_port_security_groups
258           - index_value
259         exCP_naming:
260           get_input: port_iox_data_0_port_exCP_naming
261         vlan_requirements:
262           get_input: port_iox_data_0_port_vlan_requirements
263         subinterface_indicator: false
264         related_networks:
265           get_input: port_iox_data_0_port_related_networks
266         ip_requirements:
267           get_input: port_iox_data_0_port_ip_requirements
268         network_role_tag:
269           get_input: port_iox_data_0_port_network_role_tag
270         network_role:
271           get_input: port_iox_data_0_port_network_role
272         subnetpoolid:
273           get_input: port_iox_data_0_port_subnetpoolid
274         fixed_ips:
275           get_input:
276           - port_iox_data_0_port_fixed_ips
277           - index_value
278         name:
279           get_input:
280           - port_iox_data_0_port_name
281           - index_value
282         network:
283           get_input:
284           - port_iox_data_0_port_network
285           - index_value
286       requirements:
287       - binding:
288           capability: tosca.capabilities.network.Bindable
289           node: iox
290           relationship: tosca.relationships.network.BindsTo
291     iox:
292       type: org.openecomp.resource.vfc.compute.nodes.heat.iox
293       properties:
294         availability_zone:
295           get_input:
296           - compute_iox_availability_zone
297           - index_value
298         flavor:
299           get_input: vm_flavor_name
300         metadata:
301           get_input:
302           - compute_iox_metadata
303           - index_value
304         config_drive:
305           get_input:
306           - compute_iox_config_drive
307           - index_value
308         image:
309           get_input: vm_image_name
310         name:
311           get_input:
312           - compute_iox_name
313           - index_value
314         image_update_policy:
315           get_input:
316           - compute_iox_image_update_policy
317           - index_value
318         user_data_format:
319           get_input:
320           - compute_iox_user_data_format
321           - index_value
322     iox_iox_oam_0_port:
323       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
324       properties:
325         replacement_policy:
326           get_input:
327           - port_iox_oam_0_port_replacement_policy
328           - index_value
329         mac_requirements:
330           get_input: port_iox_oam_0_port_mac_requirements
331         allowed_address_pairs:
332           get_input: port_iox_oam_0_port_allowed_address_pairs
333         order:
334           get_input: port_iox_oam_0_port_order
335         security_groups:
336           get_input:
337           - port_iox_oam_0_port_security_groups
338           - index_value
339         exCP_naming:
340           get_input: port_iox_oam_0_port_exCP_naming
341         vlan_requirements:
342           get_input: port_iox_oam_0_port_vlan_requirements
343         subinterface_indicator: false
344         related_networks:
345           get_input: port_iox_oam_0_port_related_networks
346         ip_requirements:
347           get_input: port_iox_oam_0_port_ip_requirements
348         network_role_tag:
349           get_input: port_iox_oam_0_port_network_role_tag
350         network_role:
351           get_input: port_iox_oam_0_port_network_role
352         subnetpoolid:
353           get_input: port_iox_oam_0_port_subnetpoolid
354         fixed_ips:
355           get_input:
356           - port_iox_oam_0_port_fixed_ips
357           - index_value
358         name:
359           get_input:
360           - port_iox_oam_0_port_name
361           - index_value
362         network:
363           get_input:
364           - port_iox_oam_0_port_network
365           - index_value
366       requirements:
367       - binding:
368           capability: tosca.capabilities.network.Bindable
369           node: iox
370           relationship: tosca.relationships.network.BindsTo
371     iox_iox_internal_0_port:
372       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
373       properties:
374         replacement_policy:
375           get_input:
376           - port_iox_internal_0_port_replacement_policy
377           - index_value
378         mac_requirements:
379           get_input: port_iox_internal_0_port_mac_requirements
380         allowed_address_pairs:
381           get_input: port_iox_internal_0_port_allowed_address_pairs
382         order:
383           get_input: port_iox_internal_0_port_order
384         security_groups:
385           get_input:
386           - port_iox_internal_0_port_security_groups
387           - index_value
388         exCP_naming:
389           get_input: port_iox_internal_0_port_exCP_naming
390         vlan_requirements:
391           get_input: port_iox_internal_0_port_vlan_requirements
392         subinterface_indicator: false
393         related_networks:
394           get_input: port_iox_internal_0_port_related_networks
395         ip_requirements:
396           get_input: port_iox_internal_0_port_ip_requirements
397         network_role_tag:
398           get_input: port_iox_internal_0_port_network_role_tag
399         network_role:
400           get_input: port_iox_internal_0_port_network_role
401         subnetpoolid:
402           get_input: port_iox_internal_0_port_subnetpoolid
403         name:
404           get_input:
405           - port_iox_internal_0_port_name
406           - index_value
407         network:
408           get_input:
409           - port_iox_internal_0_port_network
410           - index_value
411       requirements:
412       - binding:
413           capability: tosca.capabilities.network.Bindable
414           node: iox
415           relationship: tosca.relationships.network.BindsTo
416   substitution_mappings:
417     node_type: org.openecomp.resource.abstract.nodes.iox
418     capabilities:
419       forwarder_iox_iox_oam_0_port:
420       - iox_iox_oam_0_port
421       - forwarder
422       cpu.delta_iox:
423       - iox
424       - cpu.delta
425       disk.device.latency_iox:
426       - iox
427       - disk.device.latency
428       memory_iox:
429       - iox
430       - memory
431       network.outgoing.packets.rate_iox_iox_data_0_port:
432       - iox_iox_data_0_port
433       - network.outgoing.packets.rate
434       disk.device.read.bytes_iox:
435       - iox
436       - disk.device.read.bytes
437       disk.read.requests_iox:
438       - iox
439       - disk.read.requests
440       disk.write.requests_iox:
441       - iox
442       - disk.write.requests
443       network.incoming.bytes_iox_iox_oam_0_port:
444       - iox_iox_oam_0_port
445       - network.incoming.bytes
446       network.incoming.packets.rate_iox_iox_internal_0_port:
447       - iox_iox_internal_0_port
448       - network.incoming.packets.rate
449       disk.device.read.requests.rate_iox:
450       - iox
451       - disk.device.read.requests.rate
452       disk.device.write.requests.rate_iox:
453       - iox
454       - disk.device.write.requests.rate
455       disk.capacity_iox:
456       - iox
457       - disk.capacity
458       disk.write.bytes_iox:
459       - iox
460       - disk.write.bytes
461       disk.device.write.requests_iox:
462       - iox
463       - disk.device.write.requests
464       disk.device.allocation_iox:
465       - iox
466       - disk.device.allocation
467       feature_iox_iox_data_0_port:
468       - iox_iox_data_0_port
469       - feature
470       disk.root.size_iox:
471       - iox
472       - disk.root.size
473       vcpus_iox:
474       - iox
475       - vcpus
476       disk.device.iops_iox:
477       - iox
478       - disk.device.iops
479       network.outgoing.bytes.rate_iox_iox_data_0_port:
480       - iox_iox_data_0_port
481       - network.outgoing.bytes.rate
482       disk.read.bytes.rate_iox:
483       - iox
484       - disk.read.bytes.rate
485       network.outgoing.bytes_iox_iox_oam_0_port:
486       - iox_iox_oam_0_port
487       - network.outgoing.bytes
488       attachment_iox_iox_data_0_port:
489       - iox_iox_data_0_port
490       - attachment
491       network.incoming.packets.rate_iox_iox_oam_0_port:
492       - iox_iox_oam_0_port
493       - network.incoming.packets.rate
494       disk.latency_iox:
495       - iox
496       - disk.latency
497       network.incoming.packets.rate_iox_iox_data_0_port:
498       - iox_iox_data_0_port
499       - network.incoming.packets.rate
500       network.incoming.bytes_iox_iox_internal_0_port:
501       - iox_iox_internal_0_port
502       - network.incoming.bytes
503       cpu_util_iox:
504       - iox
505       - cpu_util
506       binding_iox_iox_oam_0_port:
507       - iox_iox_oam_0_port
508       - binding
509       network.incoming.bytes_iox_iox_data_0_port:
510       - iox_iox_data_0_port
511       - network.incoming.bytes
512       disk.device.capacity_iox:
513       - iox
514       - disk.device.capacity
515       disk.iops_iox:
516       - iox
517       - disk.iops
518       network.outpoing.packets_iox_iox_internal_0_port:
519       - iox_iox_internal_0_port
520       - network.outpoing.packets
521       endpoint_iox:
522       - iox
523       - endpoint
524       binding_iox_iox_internal_0_port:
525       - iox_iox_internal_0_port
526       - binding
527       disk.device.read.requests_iox:
528       - iox
529       - disk.device.read.requests
530       memory.usage_iox:
531       - iox
532       - memory.usage
533       attachment_iox_iox_internal_0_port:
534       - iox_iox_internal_0_port
535       - attachment
536       network.outgoing.bytes_iox_iox_internal_0_port:
537       - iox_iox_internal_0_port
538       - network.outgoing.bytes
539       cpu_iox:
540       - iox
541       - cpu
542       feature_iox_iox_oam_0_port:
543       - iox_iox_oam_0_port
544       - feature
545       disk.usage_iox:
546       - iox
547       - disk.usage
548       scalable_iox:
549       - iox
550       - scalable
551       feature_iox:
552       - iox
553       - feature
554       memory.resident_iox:
555       - iox
556       - memory.resident
557       disk.device.write.bytes_iox:
558       - iox
559       - disk.device.write.bytes
560       network.outgoing.packets.rate_iox_iox_internal_0_port:
561       - iox_iox_internal_0_port
562       - network.outgoing.packets.rate
563       binding_iox_iox_data_0_port:
564       - iox_iox_data_0_port
565       - binding
566       network.outgoing.bytes.rate_iox_iox_oam_0_port:
567       - iox_iox_oam_0_port
568       - network.outgoing.bytes.rate
569       network.incoming.bytes.rate_iox_iox_internal_0_port:
570       - iox_iox_internal_0_port
571       - network.incoming.bytes.rate
572       network.incoming.bytes.rate_iox_iox_oam_0_port:
573       - iox_iox_oam_0_port
574       - network.incoming.bytes.rate
575       disk.allocation_iox:
576       - iox
577       - disk.allocation
578       network.outgoing.packets.rate_iox_iox_oam_0_port:
579       - iox_iox_oam_0_port
580       - network.outgoing.packets.rate
581       binding_iox:
582       - iox
583       - binding
584       os_iox:
585       - iox
586       - os
587       host_iox:
588       - iox
589       - host
590       disk.write.requests.rate_iox:
591       - iox
592       - disk.write.requests.rate
593       disk.write.bytes.rate_iox:
594       - iox
595       - disk.write.bytes.rate
596       disk.read.bytes_iox:
597       - iox
598       - disk.read.bytes
599       network.incoming.packets_iox_iox_oam_0_port:
600       - iox_iox_oam_0_port
601       - network.incoming.packets
602       instance_iox:
603       - iox
604       - instance
605       disk.ephemeral.size_iox:
606       - iox
607       - disk.ephemeral.size
608       network.outpoing.packets_iox_iox_data_0_port:
609       - iox_iox_data_0_port
610       - network.outpoing.packets
611       attachment_iox_iox_oam_0_port:
612       - iox_iox_oam_0_port
613       - attachment
614       feature_iox_iox_internal_0_port:
615       - iox_iox_internal_0_port
616       - feature
617       network.incoming.packets_iox_iox_internal_0_port:
618       - iox_iox_internal_0_port
619       - network.incoming.packets
620       network.outpoing.packets_iox_iox_oam_0_port:
621       - iox_iox_oam_0_port
622       - network.outpoing.packets
623       forwarder_iox_iox_data_0_port:
624       - iox_iox_data_0_port
625       - forwarder
626       disk.device.read.bytes.rate_iox:
627       - iox
628       - disk.device.read.bytes.rate
629       network.incoming.bytes.rate_iox_iox_data_0_port:
630       - iox_iox_data_0_port
631       - network.incoming.bytes.rate
632       network.incoming.packets_iox_iox_data_0_port:
633       - iox_iox_data_0_port
634       - network.incoming.packets
635       disk.device.write.bytes.rate_iox:
636       - iox
637       - disk.device.write.bytes.rate
638       network.outgoing.bytes.rate_iox_iox_internal_0_port:
639       - iox_iox_internal_0_port
640       - network.outgoing.bytes.rate
641       forwarder_iox_iox_internal_0_port:
642       - iox_iox_internal_0_port
643       - forwarder
644       disk.device.usage_iox:
645       - iox
646       - disk.device.usage
647       network.outgoing.bytes_iox_iox_data_0_port:
648       - iox_iox_data_0_port
649       - network.outgoing.bytes
650     requirements:
651       dependency_iox_iox_internal_0_port:
652       - iox_iox_internal_0_port
653       - dependency
654       link_iox_iox_oam_0_port:
655       - iox_iox_oam_0_port
656       - link
657       dependency_iox:
658       - iox
659       - dependency
660       dependency_iox_iox_data_0_port:
661       - iox_iox_data_0_port
662       - dependency
663       link_iox_iox_data_0_port:
664       - iox_iox_data_0_port
665       - link
666       link_iox_iox_internal_0_port:
667       - iox_iox_internal_0_port
668       - link
669       local_storage_iox:
670       - iox
671       - local_storage
672       dependency_iox_iox_oam_0_port:
673       - iox_iox_oam_0_port
674       - dependency