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 / subinterface / vlantagging / pattern1a / multipleVlanSameType / out / Nested_vdbeServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_vdbe
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.vdbe:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     subinterface_vdbe_untr_1_subports_ip_address:
15       type: list
16       required: true
17       entry_schema:
18         type: string
19     subinterface_vdbe_untr_1_subports_aap_sec_untrusted_ip_prefix:
20       type: list
21       required: true
22       entry_schema:
23         type: string
24     subinterface_vdbe_untr_2_subports_aap_untrusted_v6_ip_prefix:
25       type: list
26       required: true
27       entry_schema:
28         type: string
29     compute_vdbe_availability_zone:
30       type: list
31       required: true
32       entry_schema:
33         type: string
34     subinterface_vdbe_untr_2_subports_aap_address_mode:
35       type: list
36       required: true
37       entry_schema:
38         type: string
39     vm_flavor_name:
40       type: string
41       required: true
42     subinterface_vdbe_untr_2_subports_aap_untrusted_ip_prefix_len:
43       type: list
44       required: true
45       entry_schema:
46         type: string
47     subinterface_vdbe_untr_1_subports_mac_address:
48       type: list
49       required: true
50       entry_schema:
51         type: string
52     subinterface_vdbe_untr_1_subports_subinterfaces_name_prefix:
53       type: list
54       required: true
55       entry_schema:
56         type: string
57     vm_image_name:
58       type: string
59       required: true
60     subinterface_vdbe_untr_1_subports_aap_untrusted_v6_ip_prefix_len:
61       type: list
62       required: true
63       entry_schema:
64         type: string
65     compute_vdbe_metadata:
66       type: list
67       required: true
68       entry_schema:
69         type: json
70     port_vdbe_untr_1_port_ip_requirements:
71       type: list
72       required: true
73       entry_schema:
74         type: org.openecomp.datatypes.network.IpRequirements
75     subinterface_vdbe_untr_2_subports_counter:
76       type: list
77       required: true
78       entry_schema:
79         type: float
80     subinterface_vdbe_untr_2_subports_vmac_address:
81       type: list
82       required: true
83       entry_schema:
84         type: string
85     subinterface_vdbe_untr_1_subports_aap_address_mode:
86       type: list
87       required: true
88       entry_schema:
89         type: string
90     subinterface_vdbe_untr_2_subports_vlan_tag_list:
91       type: list
92       required: true
93       entry_schema:
94         type: json
95     port_vdbe_untr_1_port_mac_requirements:
96       type: org.openecomp.datatypes.network.MacRequirements
97       required: true
98     port_vdbe_untr_1_port_order:
99       type: integer
100       required: true
101     subinterface_vdbe_untr_1_subports_vn_network_list:
102       type: list
103       required: true
104       entry_schema:
105         type: string
106     port_vdbe_untr_1_port_subnetpoolid:
107       type: string
108       required: true
109     subinterface_vdbe_untr_2_subports_vn_network_list:
110       type: list
111       required: true
112       entry_schema:
113         type: string
114     subinterface_vdbe_untr_1_subports_aap_untrusted_v6_ip_prefix:
115       type: list
116       required: true
117       entry_schema:
118         type: string
119     subinterface_vdbe_untr_2_subports_ip_v6_address:
120       type: list
121       required: true
122       entry_schema:
123         type: string
124     port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs:
125       type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
126       required: true
127     subinterface_vdbe_untr_2_subports_mac_address:
128       type: list
129       required: true
130       entry_schema:
131         type: string
132     subinterface_vdbe_untr_2_subports_aap_untrusted_v6_ip_prefix_len:
133       type: list
134       required: true
135       entry_schema:
136         type: string
137     compute_vdbe_name:
138       type: list
139       required: true
140       entry_schema:
141         type: string
142     port_vdbe_untr_1_port_network_role_tag:
143       type: string
144       required: true
145     subinterface_vdbe_untr_1_subports_aap_sec_untrusted_ip_prefix_len:
146       type: list
147       required: true
148       entry_schema:
149         type: string
150     subinterface_vdbe_untr_2_subports_aap_sec_untrusted_ip_prefix_len:
151       type: list
152       required: true
153       entry_schema:
154         type: string
155     subinterface_vdbe_untr_1_subports_vlan_tag_list:
156       type: list
157       required: true
158       entry_schema:
159         type: json
160     subinterface_vdbe_untr_2_subports_aap_untrusted_ip_prefix:
161       type: list
162       required: true
163       entry_schema:
164         type: string
165     subinterface_vdbe_untr_1_subports_aap_untrusted_ip_prefix:
166       type: list
167       required: true
168       entry_schema:
169         type: string
170     port_vdbe_untr_1_port_related_networks:
171       type: list
172       required: true
173       entry_schema:
174         type: org.openecomp.datatypes.network.RelatedNetworksAssignments
175     subinterface_vdbe_untr_1_subports_ip_v6_address:
176       type: list
177       required: true
178       entry_schema:
179         type: string
180     port_vdbe_untr_1_port_network_role:
181       type: string
182       required: true
183     port_vdbe_untr_1_port_virtual_network_refs:
184       type: list
185       required: true
186       entry_schema:
187         type: json
188     index_value:
189       type: integer
190       description: Index value of this substitution service template runtime instance
191       required: false
192       default: 0
193       constraints:
194       - greater_or_equal: 0
195     subinterface_vdbe_untr_1_subports_parent_interface:
196       type: list
197       required: true
198       entry_schema:
199         type: string
200     subinterface_vdbe_untr_2_subports_service_template_filter_count:
201       type: list
202       required: true
203       entry_schema:
204         type: float
205     subinterface_vdbe_untr_1_subports_service_template_filter_count:
206       type: list
207       required: true
208       entry_schema:
209         type: float
210     port_vdbe_untr_1_port_exCP_naming:
211       type: org.openecomp.datatypes.Naming
212       required: true
213     subinterface_vdbe_untr_2_subports_ip_address:
214       type: list
215       required: true
216       entry_schema:
217         type: string
218     subinterface_vdbe_untr_1_subports_vmac_address:
219       type: list
220       required: true
221       entry_schema:
222         type: string
223     subinterface_vdbe_untr_2_subports_subinterfaces_name_prefix:
224       type: list
225       required: true
226       entry_schema:
227         type: string
228     port_vdbe_untr_1_port_name:
229       type: list
230       required: true
231       entry_schema:
232         type: string
233     subinterface_vdbe_untr_2_subports_aap_sec_untrusted_ip_prefix:
234       type: list
235       required: true
236       entry_schema:
237         type: string
238     subinterface_vdbe_untr_1_subports_aap_untrusted_ip_prefix_len:
239       type: list
240       required: true
241       entry_schema:
242         type: string
243     subinterface_vdbe_untr_2_subports_parent_interface:
244       type: list
245       required: true
246       entry_schema:
247         type: string
248     port_vdbe_untr_1_port_vlan_requirements:
249       type: list
250       required: true
251       entry_schema:
252         type: org.openecomp.datatypes.network.VlanRequirements
253     port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
254       type: list
255       required: true
256       entry_schema:
257         type: json
258   node_templates:
259     vdbe_vdbe_untr_1_port_vdbe_untr_1_subports:
260       type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested
261       directives:
262       - substitutable
263       properties:
264         aap_untrusted_ip_prefix:
265           get_input:
266           - subinterface_vdbe_untr_1_subports_aap_untrusted_ip_prefix
267           - index_value
268         aap_sec_untrusted_ip_prefix:
269           get_input:
270           - subinterface_vdbe_untr_1_subports_aap_sec_untrusted_ip_prefix
271           - index_value
272         ip_v6_address:
273           get_input:
274           - subinterface_vdbe_untr_1_subports_ip_v6_address
275           - index_value
276         counter:
277           get_property:
278           - SELF
279           - service_template_filter
280           - index_value
281         ip_address:
282           get_input:
283           - subinterface_vdbe_untr_1_subports_ip_address
284           - index_value
285         subinterfaces_name_prefix:
286           get_input:
287           - subinterface_vdbe_untr_1_subports_subinterfaces_name_prefix
288           - index_value
289         aap_address_mode:
290           get_input:
291           - subinterface_vdbe_untr_1_subports_aap_address_mode
292           - index_value
293         service_template_filter:
294           count:
295             get_input:
296             - subinterface_vdbe_untr_1_subports_service_template_filter_count
297             - index_value
298           substitute_service_template: nestedServiceTemplate.yaml
299           mandatory: false
300         aap_untrusted_v6_ip_prefix:
301           get_input:
302           - subinterface_vdbe_untr_1_subports_aap_untrusted_v6_ip_prefix
303           - index_value
304         parent_interface:
305           get_input:
306           - subinterface_vdbe_untr_1_subports_parent_interface
307           - index_value
308         vn_network_list:
309           get_input:
310           - subinterface_vdbe_untr_1_subports_vn_network_list
311           - index_value
312         mac_address:
313           get_input:
314           - subinterface_vdbe_untr_1_subports_mac_address
315           - index_value
316         vlan_tag_list:
317           get_input:
318           - subinterface_vdbe_untr_1_subports_vlan_tag_list
319           - index_value
320         aap_sec_untrusted_ip_prefix_len:
321           get_input:
322           - subinterface_vdbe_untr_1_subports_aap_sec_untrusted_ip_prefix_len
323           - index_value
324         vmac_address:
325           get_input:
326           - subinterface_vdbe_untr_1_subports_vmac_address
327           - index_value
328         aap_untrusted_v6_ip_prefix_len:
329           get_input:
330           - subinterface_vdbe_untr_1_subports_aap_untrusted_v6_ip_prefix_len
331           - index_value
332         aap_untrusted_ip_prefix_len:
333           get_input:
334           - subinterface_vdbe_untr_1_subports_aap_untrusted_ip_prefix_len
335           - index_value
336       requirements:
337       - binding_vdbe_untr_x_subport:
338           capability: tosca.capabilities.network.Bindable
339           node: vdbe_vdbe_untr_1_port
340           relationship: tosca.relationships.network.BindsTo
341     vdbe:
342       type: org.openecomp.resource.vfc.compute.nodes.heat.vdbe
343       properties:
344         availability_zone:
345           get_input:
346           - compute_vdbe_availability_zone
347           - index_value
348         flavor:
349           get_input: vm_flavor_name
350         metadata:
351           get_input:
352           - compute_vdbe_metadata
353           - index_value
354         image:
355           get_input: vm_image_name
356         name:
357           get_input:
358           - compute_vdbe_name
359           - index_value
360     vdbe_vdbe_untr_1_port:
361       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
362       properties:
363         mac_requirements:
364           get_input: port_vdbe_untr_1_port_mac_requirements
365         order:
366           get_input: port_vdbe_untr_1_port_order
367         exCP_naming:
368           get_input: port_vdbe_untr_1_port_exCP_naming
369         virtual_machine_interface_allowed_address_pairs:
370           get_input:
371           - port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs
372           - index_value
373         vlan_requirements:
374           get_input: port_vdbe_untr_1_port_vlan_requirements
375         subinterface_indicator: true
376         related_networks:
377           get_input: port_vdbe_untr_1_port_related_networks
378         virtual_network_refs:
379           get_input:
380           - port_vdbe_untr_1_port_virtual_network_refs
381           - index_value
382         ip_requirements:
383           get_input: port_vdbe_untr_1_port_ip_requirements
384         network_role_tag:
385           get_input: port_vdbe_untr_1_port_network_role_tag
386         virtual_machine_interface_mac_addresses:
387           get_input:
388           - port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses
389           - index_value
390         network_role:
391           get_input: port_vdbe_untr_1_port_network_role
392         subnetpoolid:
393           get_input: port_vdbe_untr_1_port_subnetpoolid
394         name:
395           get_input:
396           - port_vdbe_untr_1_port_name
397           - index_value
398       requirements:
399       - binding:
400           capability: tosca.capabilities.network.Bindable
401           node: vdbe
402           relationship: tosca.relationships.network.BindsTo
403     vdbe_vdbe_untr_1_port_vdbe_untr_2_subports:
404       type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested
405       directives:
406       - substitutable
407       properties:
408         aap_untrusted_ip_prefix:
409           get_input:
410           - subinterface_vdbe_untr_2_subports_aap_untrusted_ip_prefix
411           - index_value
412         aap_sec_untrusted_ip_prefix:
413           get_input:
414           - subinterface_vdbe_untr_2_subports_aap_sec_untrusted_ip_prefix
415           - index_value
416         ip_v6_address:
417           get_input:
418           - subinterface_vdbe_untr_2_subports_ip_v6_address
419           - index_value
420         counter:
421           get_input:
422           - subinterface_vdbe_untr_2_subports_counter
423           - index_value
424         ip_address:
425           get_input:
426           - subinterface_vdbe_untr_2_subports_ip_address
427           - index_value
428         subinterfaces_name_prefix:
429           get_input:
430           - subinterface_vdbe_untr_2_subports_subinterfaces_name_prefix
431           - index_value
432         aap_address_mode:
433           get_input:
434           - subinterface_vdbe_untr_2_subports_aap_address_mode
435           - index_value
436         service_template_filter:
437           count:
438             get_input:
439             - subinterface_vdbe_untr_2_subports_service_template_filter_count
440             - index_value
441           substitute_service_template: nestedServiceTemplate.yaml
442           mandatory: true
443         aap_untrusted_v6_ip_prefix:
444           get_input:
445           - subinterface_vdbe_untr_2_subports_aap_untrusted_v6_ip_prefix
446           - index_value
447         parent_interface:
448           get_input:
449           - subinterface_vdbe_untr_2_subports_parent_interface
450           - index_value
451         vn_network_list:
452           get_input:
453           - subinterface_vdbe_untr_2_subports_vn_network_list
454           - index_value
455         mac_address:
456           get_input:
457           - subinterface_vdbe_untr_2_subports_mac_address
458           - index_value
459         vlan_tag_list:
460           get_input:
461           - subinterface_vdbe_untr_2_subports_vlan_tag_list
462           - index_value
463         aap_sec_untrusted_ip_prefix_len:
464           get_input:
465           - subinterface_vdbe_untr_2_subports_aap_sec_untrusted_ip_prefix_len
466           - index_value
467         vmac_address:
468           get_input:
469           - subinterface_vdbe_untr_2_subports_vmac_address
470           - index_value
471         aap_untrusted_v6_ip_prefix_len:
472           get_input:
473           - subinterface_vdbe_untr_2_subports_aap_untrusted_v6_ip_prefix_len
474           - index_value
475         aap_untrusted_ip_prefix_len:
476           get_input:
477           - subinterface_vdbe_untr_2_subports_aap_untrusted_ip_prefix_len
478           - index_value
479       requirements:
480       - binding_vdbe_untr_x_subport:
481           capability: tosca.capabilities.network.Bindable
482           node: vdbe_vdbe_untr_1_port
483           relationship: tosca.relationships.network.BindsTo
484   substitution_mappings:
485     node_type: org.openecomp.resource.abstract.nodes.vdbe
486     capabilities:
487       feature_vdbe:
488       - vdbe
489       - feature
490       feature_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vdbe_untr_1_subports:
491       - vdbe_vdbe_untr_1_port_vdbe_untr_1_subports
492       - feature_vdbe_untr_x_subport
493       disk.device.iops_vdbe:
494       - vdbe
495       - disk.device.iops
496       endpoint_vdbe:
497       - vdbe
498       - endpoint
499       disk.ephemeral.size_vdbe:
500       - vdbe
501       - disk.ephemeral.size
502       cpu_util_vdbe:
503       - vdbe
504       - cpu_util
505       vcpus_vdbe:
506       - vdbe
507       - vcpus
508       disk.write.requests_vdbe:
509       - vdbe
510       - disk.write.requests
511       disk.device.latency_vdbe:
512       - vdbe
513       - disk.device.latency
514       disk.device.write.requests.rate_vdbe:
515       - vdbe
516       - disk.device.write.requests.rate
517       feature_vdbe_vdbe_untr_1_port:
518       - vdbe_vdbe_untr_1_port
519       - feature
520       disk.write.bytes.rate_vdbe:
521       - vdbe
522       - disk.write.bytes.rate
523       network.incoming.bytes.rate_vdbe_vdbe_untr_1_port:
524       - vdbe_vdbe_untr_1_port
525       - network.incoming.bytes.rate
526       network.incoming.packets.rate_vdbe_vdbe_untr_1_port:
527       - vdbe_vdbe_untr_1_port
528       - network.incoming.packets.rate
529       feature_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vdbe_untr_2_subports:
530       - vdbe_vdbe_untr_1_port_vdbe_untr_2_subports
531       - feature_vdbe_untr_x_subport
532       scalable_vdbe:
533       - vdbe
534       - scalable
535       disk.iops_vdbe:
536       - vdbe
537       - disk.iops
538       disk.device.write.requests_vdbe:
539       - vdbe
540       - disk.device.write.requests
541       disk.device.capacity_vdbe:
542       - vdbe
543       - disk.device.capacity
544       network.outgoing.bytes_vdbe_vdbe_untr_1_port:
545       - vdbe_vdbe_untr_1_port
546       - network.outgoing.bytes
547       disk.device.allocation_vdbe:
548       - vdbe
549       - disk.device.allocation
550       disk.usage_vdbe:
551       - vdbe
552       - disk.usage
553       memory.usage_vdbe:
554       - vdbe
555       - memory.usage
556       disk.read.requests_vdbe:
557       - vdbe
558       - disk.read.requests
559       network.incoming.bytes_vdbe_vdbe_untr_1_port:
560       - vdbe_vdbe_untr_1_port
561       - network.incoming.bytes
562       feature_vdbe_vdbe_untr_1_port_vdbe_untr_2_subports:
563       - vdbe_vdbe_untr_1_port_vdbe_untr_2_subports
564       - feature
565       instance_vdbe:
566       - vdbe
567       - instance
568       cpu.delta_vdbe:
569       - vdbe
570       - cpu.delta
571       binding_vdbe_vdbe_untr_1_port:
572       - vdbe_vdbe_untr_1_port
573       - binding
574       disk.device.read.bytes.rate_vdbe:
575       - vdbe
576       - disk.device.read.bytes.rate
577       disk.device.write.bytes.rate_vdbe:
578       - vdbe
579       - disk.device.write.bytes.rate
580       memory.resident_vdbe:
581       - vdbe
582       - memory.resident
583       forwarder_vdbe_vdbe_untr_1_port:
584       - vdbe_vdbe_untr_1_port
585       - forwarder
586       disk.write.requests.rate_vdbe:
587       - vdbe
588       - disk.write.requests.rate
589       cpu_vdbe:
590       - vdbe
591       - cpu
592       disk.write.bytes_vdbe:
593       - vdbe
594       - disk.write.bytes
595       disk.device.usage_vdbe:
596       - vdbe
597       - disk.device.usage
598       disk.device.read.bytes_vdbe:
599       - vdbe
600       - disk.device.read.bytes
601       disk.latency_vdbe:
602       - vdbe
603       - disk.latency
604       network.outgoing.packets.rate_vdbe_vdbe_untr_1_port:
605       - vdbe_vdbe_untr_1_port
606       - network.outgoing.packets.rate
607       disk.capacity_vdbe:
608       - vdbe
609       - disk.capacity
610       host_vdbe:
611       - vdbe
612       - host
613       disk.allocation_vdbe:
614       - vdbe
615       - disk.allocation
616       network.outpoing.packets_vdbe_vdbe_untr_1_port:
617       - vdbe_vdbe_untr_1_port
618       - network.outpoing.packets
619       network.incoming.packets_vdbe_vdbe_untr_1_port:
620       - vdbe_vdbe_untr_1_port
621       - network.incoming.packets
622       feature_vdbe_vdbe_untr_1_port_vdbe_untr_1_subports:
623       - vdbe_vdbe_untr_1_port_vdbe_untr_1_subports
624       - feature
625       disk.read.bytes.rate_vdbe:
626       - vdbe
627       - disk.read.bytes.rate
628       os_vdbe:
629       - vdbe
630       - os
631       disk.device.read.requests_vdbe:
632       - vdbe
633       - disk.device.read.requests
634       disk.root.size_vdbe:
635       - vdbe
636       - disk.root.size
637       memory_vdbe:
638       - vdbe
639       - memory
640       binding_vdbe:
641       - vdbe
642       - binding
643       disk.device.write.bytes_vdbe:
644       - vdbe
645       - disk.device.write.bytes
646       network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
647       - vdbe_vdbe_untr_1_port
648       - network.outgoing.bytes.rate
649       disk.device.read.requests.rate_vdbe:
650       - vdbe
651       - disk.device.read.requests.rate
652       disk.read.bytes_vdbe:
653       - vdbe
654       - disk.read.bytes
655     requirements:
656       subinterface_link_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vdbe_untr_1_subports:
657       - vdbe_vdbe_untr_1_port_vdbe_untr_1_subports
658       - subinterface_link_vdbe_untr_x_subport
659       dependency_vdbe_vdbe_untr_1_port:
660       - vdbe_vdbe_untr_1_port
661       - dependency
662       dependency_vdbe_vdbe_untr_1_port_vdbe_untr_2_subports:
663       - vdbe_vdbe_untr_1_port_vdbe_untr_2_subports
664       - dependency
665       subinterface_link_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vdbe_untr_2_subports:
666       - vdbe_vdbe_untr_1_port_vdbe_untr_2_subports
667       - subinterface_link_vdbe_untr_x_subport
668       dependency_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vdbe_untr_1_subports:
669       - vdbe_vdbe_untr_1_port_vdbe_untr_1_subports
670       - dependency_vdbe_untr_x_subport
671       local_storage_vdbe:
672       - vdbe
673       - local_storage
674       dependency_vdbe_vdbe_untr_1_port_vdbe_untr_1_subports:
675       - vdbe_vdbe_untr_1_port_vdbe_untr_1_subports
676       - dependency
677       link_vdbe_vdbe_untr_1_port:
678       - vdbe_vdbe_untr_1_port
679       - link
680       dependency_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vdbe_untr_2_subports:
681       - vdbe_vdbe_untr_1_port_vdbe_untr_2_subports
682       - dependency_vdbe_untr_x_subport
683       dependency_vdbe:
684       - vdbe
685       - dependency