32b9a11a22ad1ca9a0a8887367f766397dafeb84
[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         subinterface_indicator: true
375         virtual_network_refs:
376           get_input:
377           - port_vdbe_untr_1_port_virtual_network_refs
378           - index_value
379         ip_requirements:
380           get_input: port_vdbe_untr_1_port_ip_requirements
381         network_role_tag:
382           get_input: port_vdbe_untr_1_port_network_role_tag
383         virtual_machine_interface_mac_addresses:
384           get_input:
385           - port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses
386           - index_value
387         network_role:
388           get_input: port_vdbe_untr_1_port_network_role
389         subnetpoolid:
390           get_input: port_vdbe_untr_1_port_subnetpoolid
391         name:
392           get_input:
393           - port_vdbe_untr_1_port_name
394           - index_value
395       requirements:
396       - binding:
397           capability: tosca.capabilities.network.Bindable
398           node: vdbe
399           relationship: tosca.relationships.network.BindsTo
400     vdbe_vdbe_untr_1_port_vlan2:
401       type: org.openecomp.resource.abstract.nodes.heat.subinterface.vlan2
402       directives:
403       - substitutable
404       properties:
405         aap_untrusted_ip_prefix:
406           get_input:
407           - subinterface_vlan2_aap_untrusted_ip_prefix
408           - index_value
409         aap_sec_untrusted_ip_prefix:
410           get_input:
411           - subinterface_vlan2_aap_sec_untrusted_ip_prefix
412           - index_value
413         ip_v6_address:
414           get_input:
415           - subinterface_vlan2_ip_v6_address
416           - index_value
417         counter:
418           get_input:
419           - subinterface_vlan2_counter
420           - index_value
421         ip_address:
422           get_input:
423           - subinterface_vlan2_ip_address
424           - index_value
425         subinterfaces_name_prefix:
426           get_input:
427           - subinterface_vlan2_subinterfaces_name_prefix
428           - index_value
429         aap_address_mode:
430           get_input:
431           - subinterface_vlan2_aap_address_mode
432           - index_value
433         service_template_filter:
434           count:
435             get_input:
436             - subinterface_vlan2_service_template_filter_count
437             - index_value
438           substitute_service_template: vlan2ServiceTemplate.yaml
439           mandatory: true
440         aap_untrusted_v6_ip_prefix:
441           get_input:
442           - subinterface_vlan2_aap_untrusted_v6_ip_prefix
443           - index_value
444         parent_interface:
445           get_input:
446           - subinterface_vlan2_parent_interface
447           - index_value
448         vn_network_list:
449           get_input:
450           - subinterface_vlan2_vn_network_list
451           - index_value
452         mac_address:
453           get_input:
454           - subinterface_vlan2_mac_address
455           - index_value
456         vlan_tag_list:
457           get_input:
458           - subinterface_vlan2_vlan_tag_list
459           - index_value
460         aap_sec_untrusted_ip_prefix_len:
461           get_input:
462           - subinterface_vlan2_aap_sec_untrusted_ip_prefix_len
463           - index_value
464         vmac_address:
465           get_input:
466           - subinterface_vlan2_vmac_address
467           - index_value
468         aap_untrusted_v6_ip_prefix_len:
469           get_input:
470           - subinterface_vlan2_aap_untrusted_v6_ip_prefix_len
471           - index_value
472         aap_untrusted_ip_prefix_len:
473           get_input:
474           - subinterface_vlan2_aap_untrusted_ip_prefix_len
475           - index_value
476       requirements:
477       - binding_vdbe_untr_x_subport_another:
478           capability: tosca.capabilities.network.Bindable
479           node: vdbe_vdbe_untr_1_port
480           relationship: tosca.relationships.network.BindsTo
481   substitution_mappings:
482     node_type: org.openecomp.resource.abstract.nodes.vdbe
483     capabilities:
484       feature_vdbe:
485       - vdbe
486       - feature
487       feature_vdbe_untr_x_subport_another_vdbe_vdbe_untr_1_port_vlan2:
488       - vdbe_vdbe_untr_1_port_vlan2
489       - feature_vdbe_untr_x_subport_another
490       disk.device.iops_vdbe:
491       - vdbe
492       - disk.device.iops
493       endpoint_vdbe:
494       - vdbe
495       - endpoint
496       disk.ephemeral.size_vdbe:
497       - vdbe
498       - disk.ephemeral.size
499       cpu_util_vdbe:
500       - vdbe
501       - cpu_util
502       vcpus_vdbe:
503       - vdbe
504       - vcpus
505       disk.write.requests_vdbe:
506       - vdbe
507       - disk.write.requests
508       feature_vdbe_vdbe_untr_1_port_vlan1:
509       - vdbe_vdbe_untr_1_port_vlan1
510       - feature
511       feature_vdbe_vdbe_untr_1_port_vlan2:
512       - vdbe_vdbe_untr_1_port_vlan2
513       - feature
514       disk.device.latency_vdbe:
515       - vdbe
516       - disk.device.latency
517       disk.device.write.requests.rate_vdbe:
518       - vdbe
519       - disk.device.write.requests.rate
520       feature_vdbe_vdbe_untr_1_port:
521       - vdbe_vdbe_untr_1_port
522       - feature
523       disk.write.bytes.rate_vdbe:
524       - vdbe
525       - disk.write.bytes.rate
526       network.incoming.bytes.rate_vdbe_vdbe_untr_1_port:
527       - vdbe_vdbe_untr_1_port
528       - network.incoming.bytes.rate
529       network.incoming.packets.rate_vdbe_vdbe_untr_1_port:
530       - vdbe_vdbe_untr_1_port
531       - network.incoming.packets.rate
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_untr_x_subport_vdbe_vdbe_untr_1_port_vlan1:
563       - vdbe_vdbe_untr_1_port_vlan1
564       - feature_vdbe_untr_x_subport
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       disk.read.bytes.rate_vdbe:
623       - vdbe
624       - disk.read.bytes.rate
625       os_vdbe:
626       - vdbe
627       - os
628       disk.device.read.requests_vdbe:
629       - vdbe
630       - disk.device.read.requests
631       disk.root.size_vdbe:
632       - vdbe
633       - disk.root.size
634       memory_vdbe:
635       - vdbe
636       - memory
637       binding_vdbe:
638       - vdbe
639       - binding
640       disk.device.write.bytes_vdbe:
641       - vdbe
642       - disk.device.write.bytes
643       network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
644       - vdbe_vdbe_untr_1_port
645       - network.outgoing.bytes.rate
646       disk.device.read.requests.rate_vdbe:
647       - vdbe
648       - disk.device.read.requests.rate
649       disk.read.bytes_vdbe:
650       - vdbe
651       - disk.read.bytes
652     requirements:
653       subinterface_link_vdbe_untr_x_subport_another_vdbe_vdbe_untr_1_port_vlan2:
654       - vdbe_vdbe_untr_1_port_vlan2
655       - subinterface_link_vdbe_untr_x_subport_another
656       dependency_vdbe_vdbe_untr_1_port:
657       - vdbe_vdbe_untr_1_port
658       - dependency
659       subinterface_link_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vlan1:
660       - vdbe_vdbe_untr_1_port_vlan1
661       - subinterface_link_vdbe_untr_x_subport
662       local_storage_vdbe:
663       - vdbe
664       - local_storage
665       dependency_vdbe_vdbe_untr_1_port_vlan1:
666       - vdbe_vdbe_untr_1_port_vlan1
667       - dependency
668       dependency_vdbe_vdbe_untr_1_port_vlan2:
669       - vdbe_vdbe_untr_1_port_vlan2
670       - dependency
671       dependency_vdbe_untr_x_subport_another_vdbe_vdbe_untr_1_port_vlan2:
672       - vdbe_vdbe_untr_1_port_vlan2
673       - dependency_vdbe_untr_x_subport_another
674       link_vdbe_vdbe_untr_1_port:
675       - vdbe_vdbe_untr_1_port
676       - link
677       dependency_vdbe:
678       - vdbe
679       - dependency
680       dependency_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vlan1:
681       - vdbe_vdbe_untr_1_port_vlan1
682       - dependency_vdbe_untr_x_subport