6f5f545db6a25f3e28fcd9108373368c5cec79b6
[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     untrusted_num_vn:
56       hidden: false
57       immutable: false
58       type: float
59       description: Number of vDBE subinterface virtual Networks
60       constraints:
61       - in_range:
62         - 1
63         - 77
64     subinterface_vlan1_counter:
65       type: list
66       required: true
67       entry_schema:
68         type: float
69     subinterface_vlan1_subinterfaces_name_prefix:
70       type: list
71       required: true
72       entry_schema:
73         type: string
74     vm_image_name:
75       type: string
76       required: true
77     port_vdbe_untr_1_port_network_role:
78       type: string
79       required: true
80     port_vdbe_untr_2_port_name:
81       type: list
82       required: true
83       entry_schema:
84         type: string
85     port_vdbe_untr_2_port_network_role:
86       type: string
87       required: true
88     compute_vdbe_metadata:
89       type: list
90       required: true
91       entry_schema:
92         type: json
93     subinterface_vlan1_aap_untrusted_v6_ip_prefix_len:
94       type: list
95       required: true
96       entry_schema:
97         type: string
98     port_vdbe_untr_1_port_virtual_network_refs:
99       type: list
100       required: true
101       entry_schema:
102         type: json
103     port_vdbe_untr_1_port_ip_requirements:
104       type: list
105       required: true
106       entry_schema:
107         type: org.openecomp.datatypes.network.IpRequirements
108     port_vdbe_untr_2_port_vlan_requirements:
109       type: list
110       required: true
111       entry_schema:
112         type: org.openecomp.datatypes.network.VlanRequirements
113     port_vdbe_untr_2_port_exCP_naming:
114       type: org.openecomp.datatypes.Naming
115       required: true
116     subinterface_vlan1_vn_network_list:
117       type: list
118       required: true
119       entry_schema:
120         type: string
121     port_vdbe_untr_2_port_subnetpoolid:
122       type: string
123       required: true
124     port_vdbe_untr_2_port_order:
125       type: integer
126       required: true
127     port_vdbe_untr_2_port_ip_requirements:
128       type: list
129       required: true
130       entry_schema:
131         type: org.openecomp.datatypes.network.IpRequirements
132     port_vdbe_untr_1_port_mac_requirements:
133       type: org.openecomp.datatypes.network.MacRequirements
134       required: true
135     port_vdbe_untr_1_port_order:
136       type: integer
137       required: true
138     subinterface_vlan1_parent_interface:
139       type: list
140       required: true
141       entry_schema:
142         type: string
143     subinterface_vlan1_aap_address_mode:
144       type: list
145       required: true
146       entry_schema:
147         type: string
148     index_value:
149       type: integer
150       description: Index value of this substitution service template runtime instance
151       required: false
152       default: 0
153       constraints:
154       - greater_or_equal: 0
155     port_vdbe_untr_1_port_exCP_naming:
156       type: org.openecomp.datatypes.Naming
157       required: true
158     port_vdbe_untr_1_port_subnetpoolid:
159       type: string
160       required: true
161     subinterface_vlan1_optional_property_1:
162       type: list
163       required: true
164       entry_schema:
165         type: string
166     port_vdbe_untr_1_port_name:
167       type: list
168       required: true
169       entry_schema:
170         type: string
171     port_vdbe_untr_2_port_mac_requirements:
172       type: org.openecomp.datatypes.network.MacRequirements
173       required: true
174     subinterface_vlan1_optional_property_2:
175       type: list
176       required: true
177       entry_schema:
178         type: string
179     port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs:
180       type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
181       required: true
182     subinterface_vlan1_aap_sec_untrusted_ip_prefix_len:
183       type: list
184       required: true
185       entry_schema:
186         type: string
187     subinterface_vlan1_mac_address:
188       type: list
189       required: true
190       entry_schema:
191         type: string
192     subinterface_vlan1_aap_untrusted_ip_prefix_len:
193       type: list
194       required: true
195       entry_schema:
196         type: string
197     subinterface_vlan1_ip_address:
198       type: list
199       required: true
200       entry_schema:
201         type: string
202     port_vdbe_untr_2_port_virtual_machine_interface_allowed_address_pairs:
203       type: org.openecomp.datatypes.heat.contrailV2.virtual.machine.subInterface.AddressPairs
204       required: true
205     compute_vdbe_name:
206       type: list
207       required: true
208       entry_schema:
209         type: string
210     port_vdbe_untr_1_port_network_role_tag:
211       type: string
212       required: true
213     port_vdbe_untr_1_port_vlan_requirements:
214       type: list
215       required: true
216       entry_schema:
217         type: org.openecomp.datatypes.network.VlanRequirements
218     port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses:
219       type: list
220       required: true
221       entry_schema:
222         type: json
223     subinterface_vlan1_vlan_tag_list:
224       type: list
225       required: true
226       entry_schema:
227         type: json
228   node_templates:
229     vdbe:
230       type: org.openecomp.resource.vfc.compute.nodes.heat.vdbe
231       properties:
232         availability_zone:
233           get_input:
234           - compute_vdbe_availability_zone
235           - index_value
236         flavor:
237           get_input: vm_flavor_name
238         metadata:
239           get_input:
240           - compute_vdbe_metadata
241           - index_value
242         image:
243           get_input: vm_image_name
244         name:
245           get_input:
246           - compute_vdbe_name
247           - index_value
248     vdbe_vdbe_untr_2_port:
249       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
250       properties:
251         mac_requirements:
252           get_input: port_vdbe_untr_2_port_mac_requirements
253         order:
254           get_input: port_vdbe_untr_2_port_order
255         exCP_naming:
256           get_input: port_vdbe_untr_2_port_exCP_naming
257         virtual_machine_interface_allowed_address_pairs:
258           get_input:
259           - port_vdbe_untr_2_port_virtual_machine_interface_allowed_address_pairs
260           - index_value
261         vlan_requirements:
262           get_input: port_vdbe_untr_2_port_vlan_requirements
263         virtual_network_refs:
264           get_input:
265           - port_vdbe_untr_2_port_virtual_network_refs
266           - index_value
267         ip_requirements:
268           get_input: port_vdbe_untr_2_port_ip_requirements
269         network_role_tag:
270           get_input: port_vdbe_untr_2_port_network_role_tag
271         virtual_machine_interface_mac_addresses:
272           get_input:
273           - port_vdbe_untr_2_port_virtual_machine_interface_mac_addresses
274           - index_value
275         network_role:
276           get_input: port_vdbe_untr_2_port_network_role
277         subnetpoolid:
278           get_input: port_vdbe_untr_2_port_subnetpoolid
279         name:
280           get_input:
281           - port_vdbe_untr_2_port_name
282           - index_value
283       requirements:
284       - binding:
285           capability: tosca.capabilities.network.Bindable
286           node: vdbe
287           relationship: tosca.relationships.network.BindsTo
288     vdbe_vdbe_untr_1_port_vlan1:
289       type: org.openecomp.resource.abstract.nodes.heat.subinterface.vlan1
290       directives:
291       - substitutable
292       properties:
293         aap_untrusted_ip_prefix:
294           get_input:
295           - subinterface_vlan1_aap_untrusted_ip_prefix
296           - index_value
297         aap_sec_untrusted_ip_prefix:
298           get_input:
299           - subinterface_vlan1_aap_sec_untrusted_ip_prefix
300           - index_value
301         ip_v6_address:
302           get_input:
303           - subinterface_vlan1_ip_v6_address
304           - index_value
305         counter:
306           get_input:
307           - subinterface_vlan1_counter
308           - index_value
309         ip_address:
310           get_input:
311           - subinterface_vlan1_ip_address
312           - index_value
313         subinterfaces_name_prefix:
314           get_input:
315           - subinterface_vlan1_subinterfaces_name_prefix
316           - index_value
317         aap_address_mode:
318           get_input:
319           - subinterface_vlan1_aap_address_mode
320           - index_value
321         service_template_filter:
322           substitute_service_template: vlan1ServiceTemplate.yaml
323           count:
324             get_input: untrusted_num_vn
325           mandatory: false
326         aap_untrusted_v6_ip_prefix:
327           get_input:
328           - subinterface_vlan1_aap_untrusted_v6_ip_prefix
329           - index_value
330         parent_interface:
331           get_input:
332           - subinterface_vlan1_parent_interface
333           - index_value
334         vn_network_list:
335           get_input:
336           - subinterface_vlan1_vn_network_list
337           - index_value
338         optional_property_1:
339           get_input:
340           - subinterface_vlan1_optional_property_1
341           - index_value
342         optional_property_2:
343           get_input:
344           - subinterface_vlan1_optional_property_2
345           - index_value
346         mac_address:
347           get_input:
348           - subinterface_vlan1_mac_address
349           - index_value
350         vlan_tag_list:
351           get_input:
352           - subinterface_vlan1_vlan_tag_list
353           - index_value
354         aap_sec_untrusted_ip_prefix_len:
355           get_input:
356           - subinterface_vlan1_aap_sec_untrusted_ip_prefix_len
357           - index_value
358         vmac_address:
359           get_attribute:
360           - vdbe
361           - accessIPv4
362         aap_untrusted_v6_ip_prefix_len:
363           get_input:
364           - subinterface_vlan1_aap_untrusted_v6_ip_prefix_len
365           - index_value
366         aap_untrusted_ip_prefix_len:
367           get_input:
368           - subinterface_vlan1_aap_untrusted_ip_prefix_len
369           - index_value
370       requirements:
371       - binding_vdbe_untr_x_vlan1-Network-Role_vmi_subport:
372           capability: tosca.capabilities.network.Bindable
373           node: vdbe_vdbe_untr_1_port
374           relationship: tosca.relationships.network.BindsTo
375     vdbe_vdbe_untr_1_port:
376       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
377       properties:
378         mac_requirements:
379           get_input: port_vdbe_untr_1_port_mac_requirements
380         order:
381           get_input: port_vdbe_untr_1_port_order
382         exCP_naming:
383           get_input: port_vdbe_untr_1_port_exCP_naming
384         virtual_machine_interface_allowed_address_pairs:
385           get_input:
386           - port_vdbe_untr_1_port_virtual_machine_interface_allowed_address_pairs
387           - index_value
388         vlan_requirements:
389           get_input: port_vdbe_untr_1_port_vlan_requirements
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       link_vdbe_untr_x_vlan1-Network-Role_vmi_subport_vdbe_vdbe_untr_1_port_vlan1:
643       - vdbe_vdbe_untr_1_port_vlan1
644       - link_vdbe_untr_x_vlan1-Network-Role_vmi_subport
645       dependency_vdbe:
646       - vdbe
647       - dependency