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