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