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