a2c4af5dafa1da669c0a826e2bf7e66ffafa7162
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_lbd
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_1_port_vlan_requirements:
15       type: list
16       required: true
17       entry_schema:
18         type: org.openecomp.datatypes.network.VlanRequirements
19     port_lbd_ims_core_1_port_allowed_address_pairs:
20       type: list
21       required: true
22       entry_schema:
23         type: org.openecomp.datatypes.heat.network.AddressPair
24     compute_lbd_user_data_format:
25       type: list
26       required: true
27       entry_schema:
28         type: string
29     compute_lbd_config_drive:
30       type: list
31       required: true
32       entry_schema:
33         type: boolean
34     port_lbd_internal_1_port_name:
35       type: list
36       required: true
37       entry_schema:
38         type: string
39     port_lbd_dpdk_1_port_allowed_address_pairs:
40       type: list
41       required: true
42       entry_schema:
43         type: org.openecomp.datatypes.heat.network.AddressPair
44     port_lbd_ims_core_1_port_ip_requirements:
45       type: list
46       required: true
47       entry_schema:
48         type: org.openecomp.datatypes.network.IpRequirements
49     port_lbd_ims_core_1_port_vlan_requirements:
50       type: list
51       required: true
52       entry_schema:
53         type: org.openecomp.datatypes.network.VlanRequirements
54     port_lbd_dpdk_1_port_mac_requirements:
55       type: org.openecomp.datatypes.network.MacRequirements
56       required: true
57     port_lbd_dpdk_1_port_subnetpoolid:
58       type: string
59       required: true
60     vm_flavor_name:
61       type: string
62       required: true
63     port_lbd_internal_1_port_exCP_naming:
64       type: org.openecomp.datatypes.Naming
65       required: true
66     port_lbd_ims_core_1_port_mac_requirements:
67       type: org.openecomp.datatypes.network.MacRequirements
68       required: true
69     compute_lbd_availability_zone:
70       type: list
71       required: true
72       entry_schema:
73         type: string
74     port_lbd_internal_1_port_network_role_tag:
75       type: string
76       required: true
77     port_lbd_internal_1_port_order:
78       type: integer
79       required: true
80     port_lbd_internal_1_port_ip_requirements:
81       type: list
82       required: true
83       entry_schema:
84         type: org.openecomp.datatypes.network.IpRequirements
85     port_lbd_internal_1_port_security_groups:
86       type: list
87       required: true
88       entry_schema:
89         type: json
90     port_lbd_ims_core_1_port_subnetpoolid:
91       type: string
92       required: true
93     vm_image_name:
94       type: string
95       required: true
96     port_lbd_dpdk_1_port_exCP_naming:
97       type: org.openecomp.datatypes.Naming
98       required: true
99     port_lbd_ims_core_1_port_order:
100       type: integer
101       required: true
102     port_lbd_dpdk_1_port_network:
103       type: list
104       required: true
105       entry_schema:
106         type: string
107     port_lbd_ims_core_1_port_name:
108       type: list
109       required: true
110       entry_schema:
111         type: string
112     port_lbd_dpdk_1_port_order:
113       type: integer
114       required: true
115     port_lbd_ims_core_1_port_network_role:
116       type: string
117       required: true
118     port_lbd_internal_1_port_subnetpoolid:
119       type: string
120       required: true
121     port_lbd_ims_core_1_port_security_groups:
122       type: list
123       required: true
124       entry_schema:
125         type: json
126     port_lbd_ims_core_1_port_fixed_ips:
127       type: list
128       required: true
129       entry_schema:
130         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
131     port_lbd_internal_1_port_fixed_ips:
132       type: list
133       required: true
134       entry_schema:
135         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
136     index_value:
137       type: integer
138       description: Index value of this substitution service template runtime instance
139       required: false
140       default: 0
141       constraints:
142       - greater_or_equal: 0
143     port_lbd_ims_core_1_port_network:
144       type: list
145       required: true
146       entry_schema:
147         type: string
148     port_lbd_dpdk_1_port_network_role_tag:
149       type: string
150       required: true
151     compute_lbd_scheduler_hints:
152       type: list
153       required: true
154       entry_schema:
155         type: json
156     port_lbd_dpdk_1_port_name:
157       type: list
158       required: true
159       entry_schema:
160         type: string
161     port_lbd_dpdk_1_port_security_groups:
162       type: list
163       required: true
164       entry_schema:
165         type: json
166     port_lbd_dpdk_1_port_fixed_ips:
167       type: list
168       required: true
169       entry_schema:
170         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
171     port_lbd_ims_core_1_port_exCP_naming:
172       type: org.openecomp.datatypes.Naming
173       required: true
174     port_lbd_internal_1_port_network:
175       type: list
176       required: true
177       entry_schema:
178         type: string
179     port_lbd_internal_1_port_network_role:
180       type: string
181       required: true
182     port_lbd_dpdk_1_port_ip_requirements:
183       type: list
184       required: true
185       entry_schema:
186         type: org.openecomp.datatypes.network.IpRequirements
187     compute_lbd_metadata:
188       type: list
189       required: true
190       entry_schema:
191         type: json
192     port_lbd_internal_1_port_mac_requirements:
193       type: org.openecomp.datatypes.network.MacRequirements
194       required: true
195     port_lbd_dpdk_1_port_vlan_requirements:
196       type: list
197       required: true
198       entry_schema:
199         type: org.openecomp.datatypes.network.VlanRequirements
200     compute_lbd_name:
201       type: list
202       required: true
203       entry_schema:
204         type: string
205     port_lbd_ims_core_1_port_network_role_tag:
206       type: string
207       required: true
208     port_lbd_dpdk_1_port_network_role:
209       type: string
210       required: true
211   node_templates:
212     lbd_lbd_ims_core_1_port:
213       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
214       properties:
215         mac_requirements:
216           get_input: port_lbd_ims_core_1_port_mac_requirements
217         allowed_address_pairs:
218           get_input: port_lbd_ims_core_1_port_allowed_address_pairs
219         order:
220           get_input: port_lbd_ims_core_1_port_order
221         security_groups:
222           get_input:
223           - port_lbd_ims_core_1_port_security_groups
224           - index_value
225         exCP_naming:
226           get_input: port_lbd_ims_core_1_port_exCP_naming
227         vlan_requirements:
228           get_input: port_lbd_ims_core_1_port_vlan_requirements
229         ip_requirements:
230           get_input: port_lbd_ims_core_1_port_ip_requirements
231         network_role_tag:
232           get_input: port_lbd_ims_core_1_port_network_role_tag
233         network_role:
234           get_input: port_lbd_ims_core_1_port_network_role
235         subnetpoolid:
236           get_input: port_lbd_ims_core_1_port_subnetpoolid
237         fixed_ips:
238           get_input: port_lbd_ims_core_1_port_fixed_ips
239         name:
240           get_input:
241           - port_lbd_ims_core_1_port_name
242           - index_value
243         network:
244           get_input:
245           - port_lbd_ims_core_1_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_1_port:
253       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
254       properties:
255         mac_requirements:
256           get_input: port_lbd_dpdk_1_port_mac_requirements
257         allowed_address_pairs:
258           get_input: port_lbd_dpdk_1_port_allowed_address_pairs
259         order:
260           get_input: port_lbd_dpdk_1_port_order
261         security_groups:
262           get_input:
263           - port_lbd_dpdk_1_port_security_groups
264           - index_value
265         exCP_naming:
266           get_input: port_lbd_dpdk_1_port_exCP_naming
267         vlan_requirements:
268           get_input: port_lbd_dpdk_1_port_vlan_requirements
269         ip_requirements:
270           get_input: port_lbd_dpdk_1_port_ip_requirements
271         network_role_tag:
272           get_input: port_lbd_dpdk_1_port_network_role_tag
273         network_role:
274           get_input: port_lbd_dpdk_1_port_network_role
275         subnetpoolid:
276           get_input: port_lbd_dpdk_1_port_subnetpoolid
277         fixed_ips:
278           get_input: port_lbd_dpdk_1_port_fixed_ips
279         name:
280           get_input:
281           - port_lbd_dpdk_1_port_name
282           - index_value
283         network:
284           get_input:
285           - port_lbd_dpdk_1_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_1_port:
293       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
294       properties:
295         mac_requirements:
296           get_input: port_lbd_internal_1_port_mac_requirements
297         order:
298           get_input: port_lbd_internal_1_port_order
299         security_groups:
300           get_input:
301           - port_lbd_internal_1_port_security_groups
302           - index_value
303         exCP_naming:
304           get_input: port_lbd_internal_1_port_exCP_naming
305         vlan_requirements:
306           get_input: port_lbd_internal_1_port_vlan_requirements
307         ip_requirements:
308           get_input: port_lbd_internal_1_port_ip_requirements
309         network_role_tag:
310           get_input: port_lbd_internal_1_port_network_role_tag
311         network_role:
312           get_input: port_lbd_internal_1_port_network_role
313         fixed_ips:
314           get_input: port_lbd_internal_1_port_fixed_ips
315         subnetpoolid:
316           get_input: port_lbd_internal_1_port_subnetpoolid
317         name:
318           get_input:
319           - port_lbd_internal_1_port_name
320           - index_value
321         network:
322           get_input:
323           - port_lbd_internal_1_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
363     capabilities:
364       disk.ephemeral.size_lbd:
365       - lbd
366       - disk.ephemeral.size
367       disk.write.requests.rate_lbd:
368       - lbd
369       - disk.write.requests.rate
370       disk.write.bytes.rate_lbd:
371       - lbd
372       - disk.write.bytes.rate
373       instance_lbd:
374       - lbd
375       - instance
376       disk.device.iops_lbd:
377       - lbd
378       - disk.device.iops
379       network.outgoing.packets.rate_lbd_lbd_ims_core_1_port:
380       - lbd_lbd_ims_core_1_port
381       - network.outgoing.packets.rate
382       host_lbd:
383       - lbd
384       - host
385       disk.device.capacity_lbd:
386       - lbd
387       - disk.device.capacity
388       cpu_util_lbd:
389       - lbd
390       - cpu_util
391       disk.device.read.requests_lbd:
392       - lbd
393       - disk.device.read.requests
394       attachment_lbd_lbd_ims_core_1_port:
395       - lbd_lbd_ims_core_1_port
396       - attachment
397       memory.usage_lbd:
398       - lbd
399       - memory.usage
400       binding_lbd_lbd_dpdk_1_port:
401       - lbd_lbd_dpdk_1_port
402       - binding
403       network.outpoing.packets_lbd_lbd_ims_core_1_port:
404       - lbd_lbd_ims_core_1_port
405       - network.outpoing.packets
406       network.outgoing.bytes_lbd_lbd_ims_core_1_port:
407       - lbd_lbd_ims_core_1_port
408       - network.outgoing.bytes
409       network.incoming.packets_lbd_lbd_internal_1_port:
410       - lbd_lbd_internal_1_port
411       - network.incoming.packets
412       disk.read.requests_lbd:
413       - lbd
414       - disk.read.requests
415       feature_lbd_lbd_internal_1_port:
416       - lbd_lbd_internal_1_port
417       - feature
418       network.incoming.bytes_lbd_lbd_ims_core_1_port:
419       - lbd_lbd_ims_core_1_port
420       - network.incoming.bytes
421       cpu.delta_lbd:
422       - lbd
423       - cpu.delta
424       memory_lbd:
425       - lbd
426       - memory
427       disk.write.bytes_lbd:
428       - lbd
429       - disk.write.bytes
430       scalable_lbd:
431       - lbd
432       - scalable
433       network.incoming.bytes.rate_lbd_lbd_dpdk_1_port:
434       - lbd_lbd_dpdk_1_port
435       - network.incoming.bytes.rate
436       network.outgoing.bytes.rate_lbd_lbd_dpdk_1_port:
437       - lbd_lbd_dpdk_1_port
438       - network.outgoing.bytes.rate
439       network.incoming.packets.rate_lbd_lbd_ims_core_1_port:
440       - lbd_lbd_ims_core_1_port
441       - network.incoming.packets.rate
442       disk.device.read.requests.rate_lbd:
443       - lbd
444       - disk.device.read.requests.rate
445       network.outgoing.bytes_lbd_lbd_dpdk_1_port:
446       - lbd_lbd_dpdk_1_port
447       - network.outgoing.bytes
448       disk.root.size_lbd:
449       - lbd
450       - disk.root.size
451       vcpus_lbd:
452       - lbd
453       - vcpus
454       disk.allocation_lbd:
455       - lbd
456       - disk.allocation
457       forwarder_lbd_lbd_dpdk_1_port:
458       - lbd_lbd_dpdk_1_port
459       - forwarder
460       disk.device.write.requests_lbd:
461       - lbd
462       - disk.device.write.requests
463       os_lbd:
464       - lbd
465       - os
466       disk.latency_lbd:
467       - lbd
468       - disk.latency
469       network.incoming.packets_lbd_lbd_dpdk_1_port:
470       - lbd_lbd_dpdk_1_port
471       - network.incoming.packets
472       memory.resident_lbd:
473       - lbd
474       - memory.resident
475       forwarder_lbd_lbd_internal_1_port:
476       - lbd_lbd_internal_1_port
477       - forwarder
478       disk.read.bytes.rate_lbd:
479       - lbd
480       - disk.read.bytes.rate
481       network.incoming.bytes.rate_lbd_lbd_internal_1_port:
482       - lbd_lbd_internal_1_port
483       - network.incoming.bytes.rate
484       network.outgoing.bytes.rate_lbd_lbd_internal_1_port:
485       - lbd_lbd_internal_1_port
486       - network.outgoing.bytes.rate
487       disk.read.bytes_lbd:
488       - lbd
489       - disk.read.bytes
490       network.outgoing.packets.rate_lbd_lbd_internal_1_port:
491       - lbd_lbd_internal_1_port
492       - network.outgoing.packets.rate
493       network.outgoing.bytes_lbd_lbd_internal_1_port:
494       - lbd_lbd_internal_1_port
495       - network.outgoing.bytes
496       forwarder_lbd_lbd_ims_core_1_port:
497       - lbd_lbd_ims_core_1_port
498       - forwarder
499       network.incoming.packets.rate_lbd_lbd_dpdk_1_port:
500       - lbd_lbd_dpdk_1_port
501       - network.incoming.packets.rate
502       network.outpoing.packets_lbd_lbd_dpdk_1_port:
503       - lbd_lbd_dpdk_1_port
504       - network.outpoing.packets
505       attachment_lbd_lbd_internal_1_port:
506       - lbd_lbd_internal_1_port
507       - attachment
508       feature_lbd_lbd_dpdk_1_port:
509       - lbd_lbd_dpdk_1_port
510       - feature
511       cpu_lbd:
512       - lbd
513       - cpu
514       feature_lbd_lbd_ims_core_1_port:
515       - lbd_lbd_ims_core_1_port
516       - feature
517       endpoint_lbd:
518       - lbd
519       - endpoint
520       disk.device.read.bytes.rate_lbd:
521       - lbd
522       - disk.device.read.bytes.rate
523       disk.device.write.bytes.rate_lbd:
524       - lbd
525       - disk.device.write.bytes.rate
526       disk.iops_lbd:
527       - lbd
528       - disk.iops
529       network.outgoing.packets.rate_lbd_lbd_dpdk_1_port:
530       - lbd_lbd_dpdk_1_port
531       - network.outgoing.packets.rate
532       disk.device.usage_lbd:
533       - lbd
534       - disk.device.usage
535       binding_lbd_lbd_ims_core_1_port:
536       - lbd_lbd_ims_core_1_port
537       - binding
538       disk.usage_lbd:
539       - lbd
540       - disk.usage
541       disk.device.read.bytes_lbd:
542       - lbd
543       - disk.device.read.bytes
544       disk.write.requests_lbd:
545       - lbd
546       - disk.write.requests
547       attachment_lbd_lbd_dpdk_1_port:
548       - lbd_lbd_dpdk_1_port
549       - attachment
550       disk.device.write.bytes_lbd:
551       - lbd
552       - disk.device.write.bytes
553       network.outgoing.bytes.rate_lbd_lbd_ims_core_1_port:
554       - lbd_lbd_ims_core_1_port
555       - network.outgoing.bytes.rate
556       disk.capacity_lbd:
557       - lbd
558       - disk.capacity
559       feature_lbd:
560       - lbd
561       - feature
562       network.incoming.bytes.rate_lbd_lbd_ims_core_1_port:
563       - lbd_lbd_ims_core_1_port
564       - network.incoming.bytes.rate
565       disk.device.latency_lbd:
566       - lbd
567       - disk.device.latency
568       network.incoming.packets_lbd_lbd_ims_core_1_port:
569       - lbd_lbd_ims_core_1_port
570       - network.incoming.packets
571       disk.device.write.requests.rate_lbd:
572       - lbd
573       - disk.device.write.requests.rate
574       binding_lbd:
575       - lbd
576       - binding
577       network.incoming.packets.rate_lbd_lbd_internal_1_port:
578       - lbd_lbd_internal_1_port
579       - network.incoming.packets.rate
580       network.outpoing.packets_lbd_lbd_internal_1_port:
581       - lbd_lbd_internal_1_port
582       - network.outpoing.packets
583       binding_lbd_lbd_internal_1_port:
584       - lbd_lbd_internal_1_port
585       - binding
586       network.incoming.bytes_lbd_lbd_internal_1_port:
587       - lbd_lbd_internal_1_port
588       - network.incoming.bytes
589       network.incoming.bytes_lbd_lbd_dpdk_1_port:
590       - lbd_lbd_dpdk_1_port
591       - network.incoming.bytes
592       disk.device.allocation_lbd:
593       - lbd
594       - disk.device.allocation
595     requirements:
596       dependency_lbd:
597       - lbd
598       - dependency
599       local_storage_lbd:
600       - lbd
601       - local_storage
602       dependency_lbd_lbd_ims_core_1_port:
603       - lbd_lbd_ims_core_1_port
604       - dependency
605       dependency_lbd_lbd_internal_1_port:
606       - lbd_lbd_internal_1_port
607       - dependency
608       link_lbd_lbd_ims_core_1_port:
609       - lbd_lbd_ims_core_1_port
610       - link
611       link_lbd_lbd_dpdk_1_port:
612       - lbd_lbd_dpdk_1_port
613       - link
614       link_lbd_lbd_internal_1_port:
615       - lbd_lbd_internal_1_port
616       - link
617       dependency_lbd_lbd_dpdk_1_port:
618       - lbd_lbd_dpdk_1_port
619       - dependency