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