6cff6fed0d7db31c9cabaf71b905ba0ba7e0ee3d
[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         subinterface_indicator: true
371         virtual_network_refs:
372           get_input:
373           - port_vdbe_untr_1_port_virtual_network_refs
374           - index_value
375         ip_requirements:
376           get_input: port_vdbe_untr_1_port_ip_requirements
377         network_role_tag:
378           get_input: port_vdbe_untr_1_port_network_role_tag
379         virtual_machine_interface_mac_addresses:
380           get_input:
381           - port_vdbe_untr_1_port_virtual_machine_interface_mac_addresses
382           - index_value
383         network_role:
384           get_input: port_vdbe_untr_1_port_network_role
385         subnetpoolid:
386           get_input: port_vdbe_untr_1_port_subnetpoolid
387         name:
388           get_input:
389           - port_vdbe_untr_1_port_name
390           - index_value
391       requirements:
392       - binding:
393           capability: tosca.capabilities.network.Bindable
394           node: vdbe
395           relationship: tosca.relationships.network.BindsTo
396     vdbe_vdbe_untr_1_port_vdbe_untr_2_subports:
397       type: org.openecomp.resource.abstract.nodes.heat.subinterface.nested
398       directives:
399       - substitutable
400       properties:
401         aap_untrusted_ip_prefix:
402           get_input:
403           - subinterface_vdbe_untr_2_subports_aap_untrusted_ip_prefix
404           - index_value
405         aap_sec_untrusted_ip_prefix:
406           get_input:
407           - subinterface_vdbe_untr_2_subports_aap_sec_untrusted_ip_prefix
408           - index_value
409         ip_v6_address:
410           get_input:
411           - subinterface_vdbe_untr_2_subports_ip_v6_address
412           - index_value
413         counter:
414           get_input:
415           - subinterface_vdbe_untr_2_subports_counter
416           - index_value
417         ip_address:
418           get_input:
419           - subinterface_vdbe_untr_2_subports_ip_address
420           - index_value
421         subinterfaces_name_prefix:
422           get_input:
423           - subinterface_vdbe_untr_2_subports_subinterfaces_name_prefix
424           - index_value
425         aap_address_mode:
426           get_input:
427           - subinterface_vdbe_untr_2_subports_aap_address_mode
428           - index_value
429         service_template_filter:
430           count:
431             get_input:
432             - subinterface_vdbe_untr_2_subports_service_template_filter_count
433             - index_value
434           substitute_service_template: nestedServiceTemplate.yaml
435           mandatory: true
436         aap_untrusted_v6_ip_prefix:
437           get_input:
438           - subinterface_vdbe_untr_2_subports_aap_untrusted_v6_ip_prefix
439           - index_value
440         parent_interface:
441           get_input:
442           - subinterface_vdbe_untr_2_subports_parent_interface
443           - index_value
444         vn_network_list:
445           get_input:
446           - subinterface_vdbe_untr_2_subports_vn_network_list
447           - index_value
448         mac_address:
449           get_input:
450           - subinterface_vdbe_untr_2_subports_mac_address
451           - index_value
452         vlan_tag_list:
453           get_input:
454           - subinterface_vdbe_untr_2_subports_vlan_tag_list
455           - index_value
456         aap_sec_untrusted_ip_prefix_len:
457           get_input:
458           - subinterface_vdbe_untr_2_subports_aap_sec_untrusted_ip_prefix_len
459           - index_value
460         vmac_address:
461           get_input:
462           - subinterface_vdbe_untr_2_subports_vmac_address
463           - index_value
464         aap_untrusted_v6_ip_prefix_len:
465           get_input:
466           - subinterface_vdbe_untr_2_subports_aap_untrusted_v6_ip_prefix_len
467           - index_value
468         aap_untrusted_ip_prefix_len:
469           get_input:
470           - subinterface_vdbe_untr_2_subports_aap_untrusted_ip_prefix_len
471           - index_value
472       requirements:
473       - binding_vdbe_untr_x_subport:
474           capability: tosca.capabilities.network.Bindable
475           node: vdbe_vdbe_untr_1_port
476           relationship: tosca.relationships.network.BindsTo
477   substitution_mappings:
478     node_type: org.openecomp.resource.abstract.nodes.vdbe
479     capabilities:
480       feature_vdbe:
481       - vdbe
482       - feature
483       feature_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vdbe_untr_1_subports:
484       - vdbe_vdbe_untr_1_port_vdbe_untr_1_subports
485       - feature_vdbe_untr_x_subport
486       disk.device.iops_vdbe:
487       - vdbe
488       - disk.device.iops
489       endpoint_vdbe:
490       - vdbe
491       - endpoint
492       disk.ephemeral.size_vdbe:
493       - vdbe
494       - disk.ephemeral.size
495       cpu_util_vdbe:
496       - vdbe
497       - cpu_util
498       vcpus_vdbe:
499       - vdbe
500       - vcpus
501       disk.write.requests_vdbe:
502       - vdbe
503       - disk.write.requests
504       disk.device.latency_vdbe:
505       - vdbe
506       - disk.device.latency
507       disk.device.write.requests.rate_vdbe:
508       - vdbe
509       - disk.device.write.requests.rate
510       feature_vdbe_vdbe_untr_1_port:
511       - vdbe_vdbe_untr_1_port
512       - feature
513       disk.write.bytes.rate_vdbe:
514       - vdbe
515       - disk.write.bytes.rate
516       network.incoming.bytes.rate_vdbe_vdbe_untr_1_port:
517       - vdbe_vdbe_untr_1_port
518       - network.incoming.bytes.rate
519       network.incoming.packets.rate_vdbe_vdbe_untr_1_port:
520       - vdbe_vdbe_untr_1_port
521       - network.incoming.packets.rate
522       feature_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vdbe_untr_2_subports:
523       - vdbe_vdbe_untr_1_port_vdbe_untr_2_subports
524       - feature_vdbe_untr_x_subport
525       scalable_vdbe:
526       - vdbe
527       - scalable
528       disk.iops_vdbe:
529       - vdbe
530       - disk.iops
531       disk.device.write.requests_vdbe:
532       - vdbe
533       - disk.device.write.requests
534       disk.device.capacity_vdbe:
535       - vdbe
536       - disk.device.capacity
537       network.outgoing.bytes_vdbe_vdbe_untr_1_port:
538       - vdbe_vdbe_untr_1_port
539       - network.outgoing.bytes
540       disk.device.allocation_vdbe:
541       - vdbe
542       - disk.device.allocation
543       disk.usage_vdbe:
544       - vdbe
545       - disk.usage
546       memory.usage_vdbe:
547       - vdbe
548       - memory.usage
549       disk.read.requests_vdbe:
550       - vdbe
551       - disk.read.requests
552       network.incoming.bytes_vdbe_vdbe_untr_1_port:
553       - vdbe_vdbe_untr_1_port
554       - network.incoming.bytes
555       feature_vdbe_vdbe_untr_1_port_vdbe_untr_2_subports:
556       - vdbe_vdbe_untr_1_port_vdbe_untr_2_subports
557       - feature
558       instance_vdbe:
559       - vdbe
560       - instance
561       cpu.delta_vdbe:
562       - vdbe
563       - cpu.delta
564       binding_vdbe_vdbe_untr_1_port:
565       - vdbe_vdbe_untr_1_port
566       - binding
567       disk.device.read.bytes.rate_vdbe:
568       - vdbe
569       - disk.device.read.bytes.rate
570       disk.device.write.bytes.rate_vdbe:
571       - vdbe
572       - disk.device.write.bytes.rate
573       memory.resident_vdbe:
574       - vdbe
575       - memory.resident
576       forwarder_vdbe_vdbe_untr_1_port:
577       - vdbe_vdbe_untr_1_port
578       - forwarder
579       disk.write.requests.rate_vdbe:
580       - vdbe
581       - disk.write.requests.rate
582       cpu_vdbe:
583       - vdbe
584       - cpu
585       disk.write.bytes_vdbe:
586       - vdbe
587       - disk.write.bytes
588       disk.device.usage_vdbe:
589       - vdbe
590       - disk.device.usage
591       disk.device.read.bytes_vdbe:
592       - vdbe
593       - disk.device.read.bytes
594       disk.latency_vdbe:
595       - vdbe
596       - disk.latency
597       network.outgoing.packets.rate_vdbe_vdbe_untr_1_port:
598       - vdbe_vdbe_untr_1_port
599       - network.outgoing.packets.rate
600       disk.capacity_vdbe:
601       - vdbe
602       - disk.capacity
603       host_vdbe:
604       - vdbe
605       - host
606       disk.allocation_vdbe:
607       - vdbe
608       - disk.allocation
609       network.outpoing.packets_vdbe_vdbe_untr_1_port:
610       - vdbe_vdbe_untr_1_port
611       - network.outpoing.packets
612       network.incoming.packets_vdbe_vdbe_untr_1_port:
613       - vdbe_vdbe_untr_1_port
614       - network.incoming.packets
615       feature_vdbe_vdbe_untr_1_port_vdbe_untr_1_subports:
616       - vdbe_vdbe_untr_1_port_vdbe_untr_1_subports
617       - feature
618       disk.read.bytes.rate_vdbe:
619       - vdbe
620       - disk.read.bytes.rate
621       os_vdbe:
622       - vdbe
623       - os
624       disk.device.read.requests_vdbe:
625       - vdbe
626       - disk.device.read.requests
627       disk.root.size_vdbe:
628       - vdbe
629       - disk.root.size
630       memory_vdbe:
631       - vdbe
632       - memory
633       binding_vdbe:
634       - vdbe
635       - binding
636       disk.device.write.bytes_vdbe:
637       - vdbe
638       - disk.device.write.bytes
639       network.outgoing.bytes.rate_vdbe_vdbe_untr_1_port:
640       - vdbe_vdbe_untr_1_port
641       - network.outgoing.bytes.rate
642       disk.device.read.requests.rate_vdbe:
643       - vdbe
644       - disk.device.read.requests.rate
645       disk.read.bytes_vdbe:
646       - vdbe
647       - disk.read.bytes
648     requirements:
649       subinterface_link_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vdbe_untr_1_subports:
650       - vdbe_vdbe_untr_1_port_vdbe_untr_1_subports
651       - subinterface_link_vdbe_untr_x_subport
652       dependency_vdbe_vdbe_untr_1_port:
653       - vdbe_vdbe_untr_1_port
654       - dependency
655       dependency_vdbe_vdbe_untr_1_port_vdbe_untr_2_subports:
656       - vdbe_vdbe_untr_1_port_vdbe_untr_2_subports
657       - dependency
658       subinterface_link_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vdbe_untr_2_subports:
659       - vdbe_vdbe_untr_1_port_vdbe_untr_2_subports
660       - subinterface_link_vdbe_untr_x_subport
661       dependency_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vdbe_untr_1_subports:
662       - vdbe_vdbe_untr_1_port_vdbe_untr_1_subports
663       - dependency_vdbe_untr_x_subport
664       local_storage_vdbe:
665       - vdbe
666       - local_storage
667       dependency_vdbe_vdbe_untr_1_port_vdbe_untr_1_subports:
668       - vdbe_vdbe_untr_1_port_vdbe_untr_1_subports
669       - dependency
670       link_vdbe_vdbe_untr_1_port:
671       - vdbe_vdbe_untr_1_port
672       - link
673       dependency_vdbe_untr_x_subport_vdbe_vdbe_untr_1_port_vdbe_untr_2_subports:
674       - vdbe_vdbe_untr_1_port_vdbe_untr_2_subports
675       - dependency_vdbe_untr_x_subport
676       dependency_vdbe:
677       - vdbe
678       - dependency