13006c7a6efc7e3857e13601f468e796fe7d0bab
[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         subinterface_indicator: false
260         virtual_network_refs:
261           get_input:
262           - port_vdbe_untr_2_port_virtual_network_refs
263           - index_value
264         ip_requirements:
265           get_input: port_vdbe_untr_2_port_ip_requirements
266         network_role_tag:
267           get_input: port_vdbe_untr_2_port_network_role_tag
268         virtual_machine_interface_mac_addresses:
269           get_input:
270           - port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses
271           - index_value
272         network_role:
273           get_input: port_vdbe_untr_2_port_network_role
274         subnetpoolid:
275           get_input: port_vdbe_untr_2_port_subnetpoolid
276         name:
277           get_input:
278           - port_vdbe_untr_2_port_name
279           - index_value
280       requirements:
281       - binding:
282           capability: tosca.capabilities.network.Bindable
283           node: vdbe
284           relationship: tosca.relationships.network.BindsTo
285     vdbe_vdbe_untr_1_port_vlan1:
286       type: org.openecomp.resource.abstract.nodes.heat.subinterface.vlan1
287       directives:
288       - substitutable
289       properties:
290         aap_untrusted_ip_prefix:
291           get_input:
292           - subinterface_vlan1_aap_untrusted_ip_prefix
293           - index_value
294         aap_sec_untrusted_ip_prefix:
295           get_input:
296           - subinterface_vlan1_aap_sec_untrusted_ip_prefix
297           - index_value
298         ip_v6_address:
299           get_input:
300           - subinterface_vlan1_ip_v6_address
301           - index_value
302         counter:
303           get_input:
304           - subinterface_vlan1_counter
305           - index_value
306         ip_address:
307           get_input:
308           - subinterface_vlan1_ip_address
309           - index_value
310         subinterfaces_name_prefix:
311           get_input:
312           - subinterface_vlan1_subinterfaces_name_prefix
313           - index_value
314         aap_address_mode:
315           get_input:
316           - subinterface_vlan1_aap_address_mode
317           - index_value
318         service_template_filter:
319           count:
320             get_input:
321             - subinterface_vlan1_service_template_filter_count
322             - index_value
323           substitute_service_template: vlan1ServiceTemplate.yaml
324           mandatory: false
325         aap_untrusted_v6_ip_prefix:
326           get_input:
327           - subinterface_vlan1_aap_untrusted_v6_ip_prefix
328           - index_value
329         parent_interface:
330           get_input:
331           - subinterface_vlan1_parent_interface
332           - index_value
333         vn_network_list:
334           get_input:
335           - subinterface_vlan1_vn_network_list
336           - index_value
337         optional_property_1:
338           get_input:
339           - subinterface_vlan1_optional_property_1
340           - index_value
341         optional_property_2:
342           get_input:
343           - subinterface_vlan1_optional_property_2
344           - index_value
345         mac_address:
346           get_input:
347           - subinterface_vlan1_mac_address
348           - index_value
349         vlan_tag_list:
350           get_input:
351           - subinterface_vlan1_vlan_tag_list
352           - index_value
353         aap_sec_untrusted_ip_prefix_len:
354           get_input:
355           - subinterface_vlan1_aap_sec_untrusted_ip_prefix_len
356           - index_value
357         vmac_address:
358           get_attribute:
359           - vdbe
360           - accessIPv4
361         aap_untrusted_v6_ip_prefix_len:
362           get_input:
363           - subinterface_vlan1_aap_untrusted_v6_ip_prefix_len
364           - index_value
365         aap_untrusted_ip_prefix_len:
366           get_input:
367           - subinterface_vlan1_aap_untrusted_ip_prefix_len
368           - index_value
369       requirements:
370       - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
371           capability: tosca.capabilities.network.Bindable
372           node: vdbe_vdbe_untr_1_port
373           relationship: tosca.relationships.network.BindsTo
374     vdbe_vdbe_untr_1_port:
375       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
376       properties:
377         mac_requirements:
378           get_input: port_vdbe_untr_1_port_mac_requirements
379         order:
380           get_input: port_vdbe_untr_1_port_order
381         exCP_naming:
382           get_input: port_vdbe_untr_1_port_exCP_naming
383         virtual_machine_interface_allowed_address_pairs:
384           get_input:
385           - port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs
386           - index_value
387         vlan_requirements:
388           get_input: port_vdbe_untr_1_port_vlan_requirements
389         subinterface_indicator: true
390         virtual_network_refs:
391           get_input:
392           - port_vdbe_untr_1_port_virtual_network_refs
393           - index_value
394         ip_requirements:
395           get_input: port_vdbe_untr_1_port_ip_requirements
396         network_role_tag:
397           get_input: port_vdbe_untr_1_port_network_role_tag
398         virtual_machine_interface_mac_addresses:
399           get_input:
400           - port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses
401           - index_value
402         network_role:
403           get_input: port_vdbe_untr_1_port_network_role
404         subnetpoolid:
405           get_input: port_vdbe_untr_1_port_subnetpoolid
406         name:
407           get_input:
408           - port_vdbe_untr_1_port_name
409           - index_value
410       requirements:
411       - binding:
412           capability: tosca.capabilities.network.Bindable
413           node: vdbe
414           relationship: tosca.relationships.network.BindsTo
415   outputs:
416     vdbe_vdbe_untr_1_port_vlan1_aap_address_mode:
417       type: string
418       value:
419         get_attribute:
420         - vdbe_vdbe_untr_1_port_vlan1
421         - aap_address_mode
422   substitution_mappings:
423     node_type: org.openecomp.resource.abstract.nodes.vdbe
424     capabilities:
425       feature_vdbe:
426       - vdbe
427       - feature
428       disk.device.iops_vdbe:
429       - vdbe
430       - disk.device.iops
431       endpoint_vdbe:
432       - vdbe
433       - endpoint
434       disk.ephemeral.size_vdbe:
435       - vdbe
436       - disk.ephemeral.size
437       feature_vdbe_vdbe_untr_2_port:
438       - vdbe_vdbe_untr_2_port
439       - feature
440       feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
441       - vdbe_vdbe_untr_1_port_vlan1
442       - feature_vdbe_untr_x_vlan1-Network-Role_vmi_subport
443       cpu_util_vdbe:
444       - vdbe
445       - cpu_util
446       vcpus_vdbe:
447       - vdbe
448       - vcpus
449       disk.write.requests_vdbe:
450       - vdbe
451       - disk.write.requests
452       feature_vdbe_vdbe_untr_1_port_vlan1:
453       - vdbe_vdbe_untr_1_port_vlan1
454       - feature
455       disk.device.latency_vdbe:
456       - vdbe
457       - disk.device.latency
458       disk.device.write.requests.rate_vdbe:
459       - vdbe
460       - disk.device.write.requests.rate
461       network.incoming.packets_vdbe_vdbe_untr_2_port:
462       - vdbe_vdbe_untr_2_port
463       - network.incoming.packets
464       feature_vdbe_vdbe_untr_1_port:
465       - vdbe_vdbe_untr_1_port
466       - feature
467       disk.write.bytes.rate_vdbe:
468       - vdbe
469       - disk.write.bytes.rate
470       network.incoming.bytes.rate_vdbe_vdbe_untr_1_port:
471       - vdbe_vdbe_untr_1_port
472       - network.incoming.bytes.rate
473       network.incoming.packets.rate_vdbe_vdbe_untr_1_port:
474       - vdbe_vdbe_untr_1_port
475       - network.incoming.packets.rate
476       scalable_vdbe:
477       - vdbe
478       - scalable
479       disk.iops_vdbe:
480       - vdbe
481       - disk.iops
482       disk.device.write.requests_vdbe:
483       - vdbe
484       - disk.device.write.requests
485       disk.device.capacity_vdbe:
486       - vdbe
487       - disk.device.capacity
488       network.outgoing.bytes.rate_vdbe_vdbe_untr_2_port:
489       - vdbe_vdbe_untr_2_port
490       - network.outgoing.bytes.rate
491       network.outgoing.bytes_vdbe_vdbe_untr_1_port:
492       - vdbe_vdbe_untr_1_port
493       - network.outgoing.bytes
494       disk.device.allocation_vdbe:
495       - vdbe
496       - disk.device.allocation
497       disk.usage_vdbe:
498       - vdbe
499       - disk.usage
500       memory.usage_vdbe:
501       - vdbe
502       - memory.usage
503       network.outpoing.packets_vdbe_vdbe_untr_2_port:
504       - vdbe_vdbe_untr_2_port
505       - network.outpoing.packets
506       disk.read.requests_vdbe:
507       - vdbe
508       - disk.read.requests
509       network.incoming.bytes_vdbe_vdbe_untr_1_port:
510       - vdbe_vdbe_untr_1_port
511       - network.incoming.bytes
512       instance_vdbe:
513       - vdbe
514       - instance
515       cpu.delta_vdbe:
516       - vdbe
517       - cpu.delta
518       network.outgoing.packets.rate_vdbe_vdbe_untr_2_port:
519       - vdbe_vdbe_untr_2_port
520       - network.outgoing.packets.rate
521       binding_vdbe_vdbe_untr_1_port:
522       - vdbe_vdbe_untr_1_port
523       - binding
524       disk.device.read.bytes.rate_vdbe:
525       - vdbe
526       - disk.device.read.bytes.rate
527       disk.device.write.bytes.rate_vdbe:
528       - vdbe
529       - disk.device.write.bytes.rate
530       memory.resident_vdbe:
531       - vdbe
532       - memory.resident
533       forwarder_vdbe_vdbe_untr_1_port:
534       - vdbe_vdbe_untr_1_port
535       - forwarder
536       disk.write.requests.rate_vdbe:
537       - vdbe
538       - disk.write.requests.rate
539       cpu_vdbe:
540       - vdbe
541       - cpu
542       disk.write.bytes_vdbe:
543       - vdbe
544       - disk.write.bytes
545       forwarder_vdbe_vdbe_untr_2_port:
546       - vdbe_vdbe_untr_2_port
547       - forwarder
548       disk.device.usage_vdbe:
549       - vdbe
550       - disk.device.usage
551       disk.device.read.bytes_vdbe:
552       - vdbe
553       - disk.device.read.bytes
554       disk.latency_vdbe:
555       - vdbe
556       - disk.latency
557       network.outgoing.packets.rate_vdbe_vdbe_untr_1_port:
558       - vdbe_vdbe_untr_1_port
559       - network.outgoing.packets.rate
560       disk.capacity_vdbe:
561       - vdbe
562       - disk.capacity
563       host_vdbe:
564       - vdbe
565       - host
566       disk.allocation_vdbe:
567       - vdbe
568       - disk.allocation
569       network.outpoing.packets_vdbe_vdbe_untr_1_port:
570       - vdbe_vdbe_untr_1_port
571       - network.outpoing.packets
572       network.incoming.packets_vdbe_vdbe_untr_1_port:
573       - vdbe_vdbe_untr_1_port
574       - network.incoming.packets
575       disk.read.bytes.rate_vdbe:
576       - vdbe
577       - disk.read.bytes.rate
578       network.incoming.bytes_vdbe_vdbe_untr_2_port:
579       - vdbe_vdbe_untr_2_port
580       - network.incoming.bytes
581       os_vdbe:
582       - vdbe
583       - os
584       disk.device.read.requests_vdbe:
585       - vdbe
586       - disk.device.read.requests
587       network.incoming.packets.rate_vdbe_vdbe_untr_2_port:
588       - vdbe_vdbe_untr_2_port
589       - network.incoming.packets.rate
590       disk.root.size_vdbe:
591       - vdbe
592       - disk.root.size
593       network.incoming.bytes.rate_vdbe_vdbe_untr_2_port:
594       - vdbe_vdbe_untr_2_port
595       - network.incoming.bytes.rate
596       binding_vdbe_vdbe_untr_2_port:
597       - vdbe_vdbe_untr_2_port
598       - binding
599       memory_vdbe:
600       - vdbe
601       - memory
602       binding_vdbe:
603       - vdbe
604       - binding
605       disk.device.write.bytes_vdbe:
606       - vdbe
607       - disk.device.write.bytes
608       network.outgoing.bytes_vdbe_vdbe_untr_2_port:
609       - vdbe_vdbe_untr_2_port
610       - network.outgoing.bytes
611       network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
612       - vdbe_vdbe_untr_1_port
613       - network.outgoing.bytes.rate
614       disk.device.read.requests.rate_vdbe:
615       - vdbe
616       - disk.device.read.requests.rate
617       disk.read.bytes_vdbe:
618       - vdbe
619       - disk.read.bytes
620     requirements:
621       dependency_vdbe_vdbe_untr_1_port:
622       - vdbe_vdbe_untr_1_port
623       - dependency
624       link_vdbe_vdbe_untr_2_port:
625       - vdbe_vdbe_untr_2_port
626       - link
627       local_storage_vdbe:
628       - vdbe
629       - local_storage
630       dependency_vdbe_vdbe_untr_2_port:
631       - vdbe_vdbe_untr_2_port
632       - dependency
633       dependency_vdbe_vdbe_untr_1_port_vlan1:
634       - vdbe_vdbe_untr_1_port_vlan1
635       - dependency
636       dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
637       - vdbe_vdbe_untr_1_port_vlan1
638       - dependency_vdbe_untr_x_vlan1-Network-Role_vmi_subport
639       link_vdbe_vdbe_untr_1_port:
640       - vdbe_vdbe_untr_1_port
641       - link
642       dependency_vdbe:
643       - vdbe
644       - dependency
645       subinterface_link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
646       - vdbe_vdbe_untr_1_port_vlan1
647       - subinterface_link_vdbe_untr_x_vlan1-Network-Role_vmi_subport