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