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