64e5bdd8eb0f1b8c0b6fe765d92780c0f0c84040
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_lbd_1
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.lbd:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_lbd_internal_0_port_network_role_tag:
15       type: string
16       required: true
17     compute_lbd_user_data_format:
18       type: list
19       required: true
20       entry_schema:
21         type: string
22     compute_lbd_config_drive:
23       type: list
24       required: true
25       entry_schema:
26         type: boolean
27     port_lbd_dpdk_0_port_fixed_ips:
28       type: list
29       required: true
30       entry_schema:
31         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
32     port_lbd_internal_0_port_exCP_naming:
33       type: org.openecomp.datatypes.Naming
34       required: true
35     port_lbd_dpdk_0_port_exCP_naming:
36       type: org.openecomp.datatypes.Naming
37       required: true
38     port_lbd_internal_0_port_network_role:
39       type: string
40       required: true
41     port_lbd_internal_0_port_security_groups:
42       type: list
43       required: true
44       entry_schema:
45         type: json
46     vm_flavor_name:
47       type: string
48       required: true
49     port_lbd_dpdk_0_port_security_groups:
50       type: list
51       required: true
52       entry_schema:
53         type: json
54     compute_lbd_availability_zone:
55       type: list
56       required: true
57       entry_schema:
58         type: string
59     port_lbd_dpdk_0_port_allowed_address_pairs:
60       type: list
61       required: true
62       entry_schema:
63         type: org.openecomp.datatypes.heat.network.AddressPair
64     port_lbd_dpdk_0_port_subnetpoolid:
65       type: string
66       required: true
67     port_lbd_dpdk_0_port_vlan_requirements:
68       type: list
69       required: true
70       entry_schema:
71         type: org.openecomp.datatypes.network.VlanRequirements
72     vm_image_name:
73       type: string
74       required: true
75     port_lbd_dpdk_0_port_name:
76       type: list
77       required: true
78       entry_schema:
79         type: string
80     port_lbd_internal_0_port_subnetpoolid:
81       type: string
82       required: true
83     port_lbd_dpdk_0_port_ip_requirements:
84       type: list
85       required: true
86       entry_schema:
87         type: org.openecomp.datatypes.network.IpRequirements
88     port_lbd_ims_core_0_port_order:
89       type: integer
90       required: true
91     port_lbd_ims_core_0_port_network_role:
92       type: string
93       required: true
94     port_lbd_ims_core_0_port_network:
95       type: list
96       required: true
97       entry_schema:
98         type: string
99     port_lbd_dpdk_0_port_network:
100       type: list
101       required: true
102       entry_schema:
103         type: string
104     port_lbd_dpdk_0_port_network_role_tag:
105       type: string
106       required: true
107     port_lbd_ims_core_0_port_mac_requirements:
108       type: org.openecomp.datatypes.network.MacRequirements
109       required: true
110     port_lbd_ims_core_0_port_allowed_address_pairs:
111       type: list
112       required: true
113       entry_schema:
114         type: org.openecomp.datatypes.heat.network.AddressPair
115     port_lbd_internal_0_port_name:
116       type: list
117       required: true
118       entry_schema:
119         type: string
120     port_lbd_internal_0_port_order:
121       type: integer
122       required: true
123     port_lbd_dpdk_0_port_network_role:
124       type: string
125       required: true
126     port_lbd_ims_core_0_port_vlan_requirements:
127       type: list
128       required: true
129       entry_schema:
130         type: org.openecomp.datatypes.network.VlanRequirements
131     port_lbd_ims_core_0_port_subnetpoolid:
132       type: string
133       required: true
134     index_value:
135       type: integer
136       description: Index value of this substitution service template runtime instance
137       required: false
138       default: 0
139       constraints:
140       - greater_or_equal: 0
141     port_lbd_ims_core_0_port_network_role_tag:
142       type: string
143       required: true
144     compute_lbd_scheduler_hints:
145       type: list
146       required: true
147       entry_schema:
148         type: json
149     port_lbd_internal_0_port_mac_requirements:
150       type: org.openecomp.datatypes.network.MacRequirements
151       required: true
152     port_lbd_ims_core_0_port_fixed_ips:
153       type: list
154       required: true
155       entry_schema:
156         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
157     port_lbd_dpdk_0_port_order:
158       type: integer
159       required: true
160     port_lbd_ims_core_0_port_ip_requirements:
161       type: list
162       required: true
163       entry_schema:
164         type: org.openecomp.datatypes.network.IpRequirements
165     port_lbd_ims_core_0_port_exCP_naming:
166       type: org.openecomp.datatypes.Naming
167       required: true
168     port_lbd_internal_0_port_fixed_ips:
169       type: list
170       required: true
171       entry_schema:
172         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
173     port_lbd_internal_0_port_network:
174       type: list
175       required: true
176       entry_schema:
177         type: string
178     port_lbd_dpdk_0_port_mac_requirements:
179       type: org.openecomp.datatypes.network.MacRequirements
180       required: true
181     compute_lbd_metadata:
182       type: list
183       required: true
184       entry_schema:
185         type: json
186     compute_lbd_name:
187       type: list
188       required: true
189       entry_schema:
190         type: string
191     port_lbd_internal_0_port_ip_requirements:
192       type: list
193       required: true
194       entry_schema:
195         type: org.openecomp.datatypes.network.IpRequirements
196     port_lbd_ims_core_0_port_security_groups:
197       type: list
198       required: true
199       entry_schema:
200         type: json
201     port_lbd_ims_core_0_port_name:
202       type: list
203       required: true
204       entry_schema:
205         type: string
206     port_lbd_internal_0_port_vlan_requirements:
207       type: list
208       required: true
209       entry_schema:
210         type: org.openecomp.datatypes.network.VlanRequirements
211   node_templates:
212     lbd_lbd_ims_core_0_port:
213       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
214       properties:
215         mac_requirements:
216           get_input: port_lbd_ims_core_0_port_mac_requirements
217         allowed_address_pairs:
218           get_input: port_lbd_ims_core_0_port_allowed_address_pairs
219         order:
220           get_input: port_lbd_ims_core_0_port_order
221         security_groups:
222           get_input:
223           - port_lbd_ims_core_0_port_security_groups
224           - index_value
225         exCP_naming:
226           get_input: port_lbd_ims_core_0_port_exCP_naming
227         vlan_requirements:
228           get_input: port_lbd_ims_core_0_port_vlan_requirements
229         ip_requirements:
230           get_input: port_lbd_ims_core_0_port_ip_requirements
231         network_role_tag:
232           get_input: port_lbd_ims_core_0_port_network_role_tag
233         network_role:
234           get_input: port_lbd_ims_core_0_port_network_role
235         subnetpoolid:
236           get_input: port_lbd_ims_core_0_port_subnetpoolid
237         fixed_ips:
238           get_input: port_lbd_ims_core_0_port_fixed_ips
239         name:
240           get_input:
241           - port_lbd_ims_core_0_port_name
242           - index_value
243         network:
244           get_input:
245           - port_lbd_ims_core_0_port_network
246           - index_value
247       requirements:
248       - binding:
249           capability: tosca.capabilities.network.Bindable
250           node: lbd
251           relationship: tosca.relationships.network.BindsTo
252     lbd_lbd_dpdk_0_port:
253       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
254       properties:
255         mac_requirements:
256           get_input: port_lbd_dpdk_0_port_mac_requirements
257         allowed_address_pairs:
258           get_input: port_lbd_dpdk_0_port_allowed_address_pairs
259         order:
260           get_input: port_lbd_dpdk_0_port_order
261         security_groups:
262           get_input:
263           - port_lbd_dpdk_0_port_security_groups
264           - index_value
265         exCP_naming:
266           get_input: port_lbd_dpdk_0_port_exCP_naming
267         vlan_requirements:
268           get_input: port_lbd_dpdk_0_port_vlan_requirements
269         ip_requirements:
270           get_input: port_lbd_dpdk_0_port_ip_requirements
271         network_role_tag:
272           get_input: port_lbd_dpdk_0_port_network_role_tag
273         network_role:
274           get_input: port_lbd_dpdk_0_port_network_role
275         subnetpoolid:
276           get_input: port_lbd_dpdk_0_port_subnetpoolid
277         fixed_ips:
278           get_input: port_lbd_dpdk_0_port_fixed_ips
279         name:
280           get_input:
281           - port_lbd_dpdk_0_port_name
282           - index_value
283         network:
284           get_input:
285           - port_lbd_dpdk_0_port_network
286           - index_value
287       requirements:
288       - binding:
289           capability: tosca.capabilities.network.Bindable
290           node: lbd
291           relationship: tosca.relationships.network.BindsTo
292     lbd_lbd_internal_0_port:
293       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
294       properties:
295         mac_requirements:
296           get_input: port_lbd_internal_0_port_mac_requirements
297         order:
298           get_input: port_lbd_internal_0_port_order
299         security_groups:
300           get_input:
301           - port_lbd_internal_0_port_security_groups
302           - index_value
303         exCP_naming:
304           get_input: port_lbd_internal_0_port_exCP_naming
305         vlan_requirements:
306           get_input: port_lbd_internal_0_port_vlan_requirements
307         ip_requirements:
308           get_input: port_lbd_internal_0_port_ip_requirements
309         network_role_tag:
310           get_input: port_lbd_internal_0_port_network_role_tag
311         network_role:
312           get_input: port_lbd_internal_0_port_network_role
313         fixed_ips:
314           get_input: port_lbd_internal_0_port_fixed_ips
315         subnetpoolid:
316           get_input: port_lbd_internal_0_port_subnetpoolid
317         name:
318           get_input:
319           - port_lbd_internal_0_port_name
320           - index_value
321         network:
322           get_input:
323           - port_lbd_internal_0_port_network
324           - index_value
325       requirements:
326       - binding:
327           capability: tosca.capabilities.network.Bindable
328           node: lbd
329           relationship: tosca.relationships.network.BindsTo
330     lbd:
331       type: org.openecomp.resource.vfc.compute.nodes.heat.lbd
332       properties:
333         availability_zone:
334           get_input:
335           - compute_lbd_availability_zone
336           - index_value
337         flavor:
338           get_input: vm_flavor_name
339         metadata:
340           get_input:
341           - compute_lbd_metadata
342           - index_value
343         config_drive:
344           get_input:
345           - compute_lbd_config_drive
346           - index_value
347         image:
348           get_input: vm_image_name
349         name:
350           get_input:
351           - compute_lbd_name
352           - index_value
353         scheduler_hints:
354           get_input:
355           - compute_lbd_scheduler_hints
356           - index_value
357         user_data_format:
358           get_input:
359           - compute_lbd_user_data_format
360           - index_value
361   substitution_mappings:
362     node_type: org.openecomp.resource.abstract.nodes.lbd_1
363     capabilities:
364       disk.ephemeral.size_lbd:
365       - lbd
366       - disk.ephemeral.size
367       attachment_lbd_lbd_ims_core_0_port:
368       - lbd_lbd_ims_core_0_port
369       - attachment
370       network.incoming.bytes.rate_lbd_lbd_ims_core_0_port:
371       - lbd_lbd_ims_core_0_port
372       - network.incoming.bytes.rate
373       disk.write.requests.rate_lbd:
374       - lbd
375       - disk.write.requests.rate
376       disk.write.bytes.rate_lbd:
377       - lbd
378       - disk.write.bytes.rate
379       network.incoming.packets.rate_lbd_lbd_internal_0_port:
380       - lbd_lbd_internal_0_port
381       - network.incoming.packets.rate
382       instance_lbd:
383       - lbd
384       - instance
385       network.incoming.packets_lbd_lbd_internal_0_port:
386       - lbd_lbd_internal_0_port
387       - network.incoming.packets
388       disk.device.iops_lbd:
389       - lbd
390       - disk.device.iops
391       network.outgoing.bytes_lbd_lbd_ims_core_0_port:
392       - lbd_lbd_ims_core_0_port
393       - network.outgoing.bytes
394       network.outgoing.bytes.rate_lbd_lbd_ims_core_0_port:
395       - lbd_lbd_ims_core_0_port
396       - network.outgoing.bytes.rate
397       network.outgoing.packets.rate_lbd_lbd_dpdk_0_port:
398       - lbd_lbd_dpdk_0_port
399       - network.outgoing.packets.rate
400       network.incoming.bytes_lbd_lbd_dpdk_0_port:
401       - lbd_lbd_dpdk_0_port
402       - network.incoming.bytes
403       host_lbd:
404       - lbd
405       - host
406       disk.device.capacity_lbd:
407       - lbd
408       - disk.device.capacity
409       network.incoming.bytes_lbd_lbd_ims_core_0_port:
410       - lbd_lbd_ims_core_0_port
411       - network.incoming.bytes
412       cpu_util_lbd:
413       - lbd
414       - cpu_util
415       disk.device.read.requests_lbd:
416       - lbd
417       - disk.device.read.requests
418       network.outpoing.packets_lbd_lbd_internal_0_port:
419       - lbd_lbd_internal_0_port
420       - network.outpoing.packets
421       memory.usage_lbd:
422       - lbd
423       - memory.usage
424       network.outgoing.bytes_lbd_lbd_dpdk_0_port:
425       - lbd_lbd_dpdk_0_port
426       - network.outgoing.bytes
427       binding_lbd_lbd_internal_0_port:
428       - lbd_lbd_internal_0_port
429       - binding
430       disk.read.requests_lbd:
431       - lbd
432       - disk.read.requests
433       cpu.delta_lbd:
434       - lbd
435       - cpu.delta
436       network.outpoing.packets_lbd_lbd_ims_core_0_port:
437       - lbd_lbd_ims_core_0_port
438       - network.outpoing.packets
439       memory_lbd:
440       - lbd
441       - memory
442       network.incoming.packets.rate_lbd_lbd_dpdk_0_port:
443       - lbd_lbd_dpdk_0_port
444       - network.incoming.packets.rate
445       disk.write.bytes_lbd:
446       - lbd
447       - disk.write.bytes
448       network.outgoing.packets.rate_lbd_lbd_internal_0_port:
449       - lbd_lbd_internal_0_port
450       - network.outgoing.packets.rate
451       scalable_lbd:
452       - lbd
453       - scalable
454       disk.device.read.requests.rate_lbd:
455       - lbd
456       - disk.device.read.requests.rate
457       disk.root.size_lbd:
458       - lbd
459       - disk.root.size
460       vcpus_lbd:
461       - lbd
462       - vcpus
463       disk.allocation_lbd:
464       - lbd
465       - disk.allocation
466       attachment_lbd_lbd_dpdk_0_port:
467       - lbd_lbd_dpdk_0_port
468       - attachment
469       disk.device.write.requests_lbd:
470       - lbd
471       - disk.device.write.requests
472       os_lbd:
473       - lbd
474       - os
475       disk.latency_lbd:
476       - lbd
477       - disk.latency
478       memory.resident_lbd:
479       - lbd
480       - memory.resident
481       disk.read.bytes.rate_lbd:
482       - lbd
483       - disk.read.bytes.rate
484       disk.read.bytes_lbd:
485       - lbd
486       - disk.read.bytes
487       network.incoming.bytes_lbd_lbd_internal_0_port:
488       - lbd_lbd_internal_0_port
489       - network.incoming.bytes
490       network.outgoing.bytes.rate_lbd_lbd_internal_0_port:
491       - lbd_lbd_internal_0_port
492       - network.outgoing.bytes.rate
493       binding_lbd_lbd_ims_core_0_port:
494       - lbd_lbd_ims_core_0_port
495       - binding
496       network.incoming.packets_lbd_lbd_dpdk_0_port:
497       - lbd_lbd_dpdk_0_port
498       - network.incoming.packets
499       network.incoming.bytes.rate_lbd_lbd_internal_0_port:
500       - lbd_lbd_internal_0_port
501       - network.incoming.bytes.rate
502       binding_lbd_lbd_dpdk_0_port:
503       - lbd_lbd_dpdk_0_port
504       - binding
505       forwarder_lbd_lbd_ims_core_0_port:
506       - lbd_lbd_ims_core_0_port
507       - forwarder
508       network.outgoing.bytes_lbd_lbd_internal_0_port:
509       - lbd_lbd_internal_0_port
510       - network.outgoing.bytes
511       cpu_lbd:
512       - lbd
513       - cpu
514       endpoint_lbd:
515       - lbd
516       - endpoint
517       disk.device.read.bytes.rate_lbd:
518       - lbd
519       - disk.device.read.bytes.rate
520       feature_lbd_lbd_internal_0_port:
521       - lbd_lbd_internal_0_port
522       - feature
523       disk.device.write.bytes.rate_lbd:
524       - lbd
525       - disk.device.write.bytes.rate
526       network.incoming.packets.rate_lbd_lbd_ims_core_0_port:
527       - lbd_lbd_ims_core_0_port
528       - network.incoming.packets.rate
529       network.incoming.packets_lbd_lbd_ims_core_0_port:
530       - lbd_lbd_ims_core_0_port
531       - network.incoming.packets
532       network.incoming.bytes.rate_lbd_lbd_dpdk_0_port:
533       - lbd_lbd_dpdk_0_port
534       - network.incoming.bytes.rate
535       attachment_lbd_lbd_internal_0_port:
536       - lbd_lbd_internal_0_port
537       - attachment
538       disk.iops_lbd:
539       - lbd
540       - disk.iops
541       disk.device.usage_lbd:
542       - lbd
543       - disk.device.usage
544       disk.usage_lbd:
545       - lbd
546       - disk.usage
547       disk.device.read.bytes_lbd:
548       - lbd
549       - disk.device.read.bytes
550       network.outpoing.packets_lbd_lbd_dpdk_0_port:
551       - lbd_lbd_dpdk_0_port
552       - network.outpoing.packets
553       disk.write.requests_lbd:
554       - lbd
555       - disk.write.requests
556       disk.device.write.bytes_lbd:
557       - lbd
558       - disk.device.write.bytes
559       forwarder_lbd_lbd_internal_0_port:
560       - lbd_lbd_internal_0_port
561       - forwarder
562       disk.capacity_lbd:
563       - lbd
564       - disk.capacity
565       forwarder_lbd_lbd_dpdk_0_port:
566       - lbd_lbd_dpdk_0_port
567       - forwarder
568       feature_lbd:
569       - lbd
570       - feature
571       disk.device.latency_lbd:
572       - lbd
573       - disk.device.latency
574       disk.device.write.requests.rate_lbd:
575       - lbd
576       - disk.device.write.requests.rate
577       binding_lbd:
578       - lbd
579       - binding
580       feature_lbd_lbd_dpdk_0_port:
581       - lbd_lbd_dpdk_0_port
582       - feature
583       feature_lbd_lbd_ims_core_0_port:
584       - lbd_lbd_ims_core_0_port
585       - feature
586       network.outgoing.packets.rate_lbd_lbd_ims_core_0_port:
587       - lbd_lbd_ims_core_0_port
588       - network.outgoing.packets.rate
589       disk.device.allocation_lbd:
590       - lbd
591       - disk.device.allocation
592       network.outgoing.bytes.rate_lbd_lbd_dpdk_0_port:
593       - lbd_lbd_dpdk_0_port
594       - network.outgoing.bytes.rate
595     requirements:
596       dependency_lbd_lbd_dpdk_0_port:
597       - lbd_lbd_dpdk_0_port
598       - dependency
599       link_lbd_lbd_dpdk_0_port:
600       - lbd_lbd_dpdk_0_port
601       - link
602       dependency_lbd:
603       - lbd
604       - dependency
605       dependency_lbd_lbd_internal_0_port:
606       - lbd_lbd_internal_0_port
607       - dependency
608       dependency_lbd_lbd_ims_core_0_port:
609       - lbd_lbd_ims_core_0_port
610       - dependency
611       local_storage_lbd:
612       - lbd
613       - local_storage
614       link_lbd_lbd_ims_core_0_port:
615       - lbd_lbd_ims_core_0_port
616       - link
617       link_lbd_lbd_internal_0_port:
618       - lbd_lbd_internal_0_port
619       - link