0b2fd5b0af11f5d6d10ede092c8e130dcb174f9d
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_plt
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.plt:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_plt_oam_0_port_exCP_naming:
15       type: org.openecomp.datatypes.Naming
16       required: true
17     port_plt_oam_0_port_subnetpoolid:
18       type: string
19       required: true
20     port_plt_internal_0_port_allowed_address_pairs:
21       type: list
22       required: true
23       entry_schema:
24         type: org.openecomp.datatypes.heat.network.AddressPair
25     port_plt_oam_0_port_security_groups:
26       type: list
27       required: true
28       entry_schema:
29         type: json
30     compute_plt_config_drive:
31       type: list
32       required: true
33       entry_schema:
34         type: boolean
35     port_plt_data_0_port_subnetpoolid:
36       type: string
37       required: true
38     vm_flavor_name:
39       type: string
40       required: true
41     port_plt_internal_0_port_vlan_requirements:
42       type: list
43       required: true
44       entry_schema:
45         type: org.openecomp.datatypes.network.VlanRequirements
46     port_plt_data_0_port_fixed_ips:
47       type: list
48       required: true
49       entry_schema:
50         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
51     vm_image_name:
52       type: string
53       required: true
54     compute_plt_availability_zone:
55       type: list
56       required: true
57       entry_schema:
58         type: string
59     port_plt_oam_0_port_name:
60       type: list
61       required: true
62       entry_schema:
63         type: string
64     port_plt_internal_0_port_security_groups:
65       type: list
66       required: true
67       entry_schema:
68         type: json
69     port_plt_internal_0_port_network_role_tag:
70       type: string
71       required: true
72     port_plt_oam_0_port_ip_requirements:
73       type: list
74       required: true
75       entry_schema:
76         type: org.openecomp.datatypes.network.IpRequirements
77     port_plt_data_0_port_mac_requirements:
78       type: org.openecomp.datatypes.network.MacRequirements
79       required: true
80     port_plt_data_0_port_allowed_address_pairs:
81       type: list
82       required: true
83       entry_schema:
84         type: org.openecomp.datatypes.heat.network.AddressPair
85     port_plt_internal_0_port_subnetpoolid:
86       type: string
87       required: true
88     port_plt_data_0_port_ip_requirements:
89       type: list
90       required: true
91       entry_schema:
92         type: org.openecomp.datatypes.network.IpRequirements
93     port_plt_internal_0_port_network:
94       type: list
95       required: true
96       entry_schema:
97         type: string
98     compute_plt_metadata:
99       type: list
100       required: true
101       entry_schema:
102         type: json
103     port_plt_data_0_port_security_groups:
104       type: list
105       required: true
106       entry_schema:
107         type: json
108     port_plt_internal_0_port_mac_requirements:
109       type: org.openecomp.datatypes.network.MacRequirements
110       required: true
111     port_plt_data_0_port_order:
112       type: integer
113       required: true
114     port_plt_data_0_port_vlan_requirements:
115       type: list
116       required: true
117       entry_schema:
118         type: org.openecomp.datatypes.network.VlanRequirements
119     port_plt_data_0_port_network_role_tag:
120       type: string
121       required: true
122     port_plt_internal_0_port_order:
123       type: integer
124       required: true
125     port_plt_internal_0_port_ip_requirements:
126       type: list
127       required: true
128       entry_schema:
129         type: org.openecomp.datatypes.network.IpRequirements
130     port_plt_oam_0_port_fixed_ips:
131       type: list
132       required: true
133       entry_schema:
134         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
135     port_plt_oam_0_port_network_role_tag:
136       type: string
137       required: true
138     port_plt_internal_0_port_name:
139       type: list
140       required: true
141       entry_schema:
142         type: string
143     port_plt_oam_0_port_order:
144       type: integer
145       required: true
146     compute_plt_image_update_policy:
147       type: list
148       required: true
149       entry_schema:
150         type: string
151     port_plt_oam_0_port_network_role:
152       type: string
153       required: true
154     port_plt_oam_0_port_allowed_address_pairs:
155       type: list
156       required: true
157       entry_schema:
158         type: org.openecomp.datatypes.heat.network.AddressPair
159     port_plt_data_0_port_name:
160       type: list
161       required: true
162       entry_schema:
163         type: string
164     port_plt_data_0_port_exCP_naming:
165       type: org.openecomp.datatypes.Naming
166       required: true
167     port_plt_internal_0_port_network_role:
168       type: string
169       required: true
170     compute_plt_user_data_format:
171       type: list
172       required: true
173       entry_schema:
174         type: string
175     port_plt_internal_0_port_replacement_policy:
176       type: list
177       required: true
178       entry_schema:
179         type: string
180     port_plt_data_0_port_network:
181       type: list
182       required: true
183       entry_schema:
184         type: string
185     port_plt_data_0_port_network_role:
186       type: string
187       required: true
188     port_plt_internal_0_port_exCP_naming:
189       type: org.openecomp.datatypes.Naming
190       required: true
191     index_value:
192       type: integer
193       description: Index value of this substitution service template runtime instance
194       required: false
195       default: 0
196       constraints:
197       - greater_or_equal: 0
198     port_plt_oam_0_port_network:
199       type: list
200       required: true
201       entry_schema:
202         type: string
203     port_plt_oam_0_port_replacement_policy:
204       type: list
205       required: true
206       entry_schema:
207         type: string
208     port_plt_data_0_port_replacement_policy:
209       type: list
210       required: true
211       entry_schema:
212         type: string
213     port_plt_oam_0_port_mac_requirements:
214       type: org.openecomp.datatypes.network.MacRequirements
215       required: true
216     compute_plt_name:
217       type: list
218       required: true
219       entry_schema:
220         type: string
221     port_plt_oam_0_port_vlan_requirements:
222       type: list
223       required: true
224       entry_schema:
225         type: org.openecomp.datatypes.network.VlanRequirements
226   node_templates:
227     plt_plt_internal_0_port:
228       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
229       properties:
230         replacement_policy:
231           get_input:
232           - port_plt_internal_0_port_replacement_policy
233           - index_value
234         mac_requirements:
235           get_input: port_plt_internal_0_port_mac_requirements
236         allowed_address_pairs:
237           get_input: port_plt_internal_0_port_allowed_address_pairs
238         order:
239           get_input: port_plt_internal_0_port_order
240         security_groups:
241           get_input:
242           - port_plt_internal_0_port_security_groups
243           - index_value
244         exCP_naming:
245           get_input: port_plt_internal_0_port_exCP_naming
246         vlan_requirements:
247           get_input: port_plt_internal_0_port_vlan_requirements
248         ip_requirements:
249           get_input: port_plt_internal_0_port_ip_requirements
250         network_role_tag:
251           get_input: port_plt_internal_0_port_network_role_tag
252         network_role:
253           get_input: port_plt_internal_0_port_network_role
254         subnetpoolid:
255           get_input: port_plt_internal_0_port_subnetpoolid
256         name:
257           get_input:
258           - port_plt_internal_0_port_name
259           - index_value
260         network:
261           get_input:
262           - port_plt_internal_0_port_network
263           - index_value
264       requirements:
265       - binding:
266           capability: tosca.capabilities.network.Bindable
267           node: plt
268           relationship: tosca.relationships.network.BindsTo
269     plt_plt_data_0_port:
270       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
271       properties:
272         replacement_policy:
273           get_input:
274           - port_plt_data_0_port_replacement_policy
275           - index_value
276         mac_requirements:
277           get_input: port_plt_data_0_port_mac_requirements
278         allowed_address_pairs:
279           get_input: port_plt_data_0_port_allowed_address_pairs
280         order:
281           get_input: port_plt_data_0_port_order
282         security_groups:
283           get_input:
284           - port_plt_data_0_port_security_groups
285           - index_value
286         exCP_naming:
287           get_input: port_plt_data_0_port_exCP_naming
288         vlan_requirements:
289           get_input: port_plt_data_0_port_vlan_requirements
290         ip_requirements:
291           get_input: port_plt_data_0_port_ip_requirements
292         network_role_tag:
293           get_input: port_plt_data_0_port_network_role_tag
294         network_role:
295           get_input: port_plt_data_0_port_network_role
296         subnetpoolid:
297           get_input: port_plt_data_0_port_subnetpoolid
298         fixed_ips:
299           get_input:
300           - port_plt_data_0_port_fixed_ips
301           - index_value
302         name:
303           get_input:
304           - port_plt_data_0_port_name
305           - index_value
306         network:
307           get_input:
308           - port_plt_data_0_port_network
309           - index_value
310       requirements:
311       - binding:
312           capability: tosca.capabilities.network.Bindable
313           node: plt
314           relationship: tosca.relationships.network.BindsTo
315     plt:
316       type: org.openecomp.resource.vfc.compute.nodes.heat.plt
317       properties:
318         availability_zone:
319           get_input:
320           - compute_plt_availability_zone
321           - index_value
322         flavor:
323           get_input: vm_flavor_name
324         metadata:
325           get_input:
326           - compute_plt_metadata
327           - index_value
328         config_drive:
329           get_input:
330           - compute_plt_config_drive
331           - index_value
332         image:
333           get_input: vm_image_name
334         name:
335           get_input:
336           - compute_plt_name
337           - index_value
338         image_update_policy:
339           get_input:
340           - compute_plt_image_update_policy
341           - index_value
342         user_data_format:
343           get_input:
344           - compute_plt_user_data_format
345           - index_value
346     plt_plt_oam_0_port:
347       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
348       properties:
349         replacement_policy:
350           get_input:
351           - port_plt_oam_0_port_replacement_policy
352           - index_value
353         mac_requirements:
354           get_input: port_plt_oam_0_port_mac_requirements
355         allowed_address_pairs:
356           get_input: port_plt_oam_0_port_allowed_address_pairs
357         order:
358           get_input: port_plt_oam_0_port_order
359         security_groups:
360           get_input:
361           - port_plt_oam_0_port_security_groups
362           - index_value
363         exCP_naming:
364           get_input: port_plt_oam_0_port_exCP_naming
365         vlan_requirements:
366           get_input: port_plt_oam_0_port_vlan_requirements
367         ip_requirements:
368           get_input: port_plt_oam_0_port_ip_requirements
369         network_role_tag:
370           get_input: port_plt_oam_0_port_network_role_tag
371         network_role:
372           get_input: port_plt_oam_0_port_network_role
373         subnetpoolid:
374           get_input: port_plt_oam_0_port_subnetpoolid
375         fixed_ips:
376           get_input:
377           - port_plt_oam_0_port_fixed_ips
378           - index_value
379         name:
380           get_input:
381           - port_plt_oam_0_port_name
382           - index_value
383         network:
384           get_input:
385           - port_plt_oam_0_port_network
386           - index_value
387       requirements:
388       - binding:
389           capability: tosca.capabilities.network.Bindable
390           node: plt
391           relationship: tosca.relationships.network.BindsTo
392   substitution_mappings:
393     node_type: org.openecomp.resource.abstract.nodes.plt
394     capabilities:
395       network.outgoing.bytes.rate_plt_plt_oam_0_port:
396       - plt_plt_oam_0_port
397       - network.outgoing.bytes.rate
398       disk.device.usage_plt:
399       - plt
400       - disk.device.usage
401       disk.iops_plt:
402       - plt
403       - disk.iops
404       disk.read.bytes.rate_plt:
405       - plt
406       - disk.read.bytes.rate
407       disk.device.allocation_plt:
408       - plt
409       - disk.device.allocation
410       disk.device.write.bytes.rate_plt:
411       - plt
412       - disk.device.write.bytes.rate
413       disk.read.bytes_plt:
414       - plt
415       - disk.read.bytes
416       network.incoming.packets_plt_plt_internal_0_port:
417       - plt_plt_internal_0_port
418       - network.incoming.packets
419       disk.capacity_plt:
420       - plt
421       - disk.capacity
422       disk.write.bytes_plt:
423       - plt
424       - disk.write.bytes
425       disk.device.read.bytes.rate_plt:
426       - plt
427       - disk.device.read.bytes.rate
428       endpoint_plt:
429       - plt
430       - endpoint
431       disk.read.requests_plt:
432       - plt
433       - disk.read.requests
434       network.outpoing.packets_plt_plt_oam_0_port:
435       - plt_plt_oam_0_port
436       - network.outpoing.packets
437       disk.device.write.requests.rate_plt:
438       - plt
439       - disk.device.write.requests.rate
440       attachment_plt_plt_data_0_port:
441       - plt_plt_data_0_port
442       - attachment
443       feature_plt:
444       - plt
445       - feature
446       cpu_plt:
447       - plt
448       - cpu
449       disk.write.requests_plt:
450       - plt
451       - disk.write.requests
452       network.incoming.packets.rate_plt_plt_internal_0_port:
453       - plt_plt_internal_0_port
454       - network.incoming.packets.rate
455       disk.device.write.bytes_plt:
456       - plt
457       - disk.device.write.bytes
458       network.outgoing.bytes_plt_plt_oam_0_port:
459       - plt_plt_oam_0_port
460       - network.outgoing.bytes
461       network.outpoing.packets_plt_plt_internal_0_port:
462       - plt_plt_internal_0_port
463       - network.outpoing.packets
464       network.incoming.bytes_plt_plt_internal_0_port:
465       - plt_plt_internal_0_port
466       - network.incoming.bytes
467       network.outgoing.packets.rate_plt_plt_oam_0_port:
468       - plt_plt_oam_0_port
469       - network.outgoing.packets.rate
470       network.incoming.bytes_plt_plt_oam_0_port:
471       - plt_plt_oam_0_port
472       - network.incoming.bytes
473       network.incoming.bytes_plt_plt_data_0_port:
474       - plt_plt_data_0_port
475       - network.incoming.bytes
476       attachment_plt_plt_internal_0_port:
477       - plt_plt_internal_0_port
478       - attachment
479       binding_plt:
480       - plt
481       - binding
482       network.incoming.bytes.rate_plt_plt_oam_0_port:
483       - plt_plt_oam_0_port
484       - network.incoming.bytes.rate
485       disk.device.read.bytes_plt:
486       - plt
487       - disk.device.read.bytes
488       disk.device.latency_plt:
489       - plt
490       - disk.device.latency
491       network.incoming.packets.rate_plt_plt_data_0_port:
492       - plt_plt_data_0_port
493       - network.incoming.packets.rate
494       network.outgoing.bytes_plt_plt_internal_0_port:
495       - plt_plt_internal_0_port
496       - network.outgoing.bytes
497       binding_plt_plt_internal_0_port:
498       - plt_plt_internal_0_port
499       - binding
500       feature_plt_plt_internal_0_port:
501       - plt_plt_internal_0_port
502       - feature
503       instance_plt:
504       - plt
505       - instance
506       disk.latency_plt:
507       - plt
508       - disk.latency
509       disk.write.bytes.rate_plt:
510       - plt
511       - disk.write.bytes.rate
512       disk.ephemeral.size_plt:
513       - plt
514       - disk.ephemeral.size
515       cpu_util_plt:
516       - plt
517       - cpu_util
518       binding_plt_plt_oam_0_port:
519       - plt_plt_oam_0_port
520       - binding
521       memory.usage_plt:
522       - plt
523       - memory.usage
524       attachment_plt_plt_oam_0_port:
525       - plt_plt_oam_0_port
526       - attachment
527       network.incoming.packets_plt_plt_oam_0_port:
528       - plt_plt_oam_0_port
529       - network.incoming.packets
530       disk.device.capacity_plt:
531       - plt
532       - disk.device.capacity
533       forwarder_plt_plt_oam_0_port:
534       - plt_plt_oam_0_port
535       - forwarder
536       binding_plt_plt_data_0_port:
537       - plt_plt_data_0_port
538       - binding
539       disk.device.read.requests_plt:
540       - plt
541       - disk.device.read.requests
542       memory.resident_plt:
543       - plt
544       - memory.resident
545       network.outgoing.packets.rate_plt_plt_internal_0_port:
546       - plt_plt_internal_0_port
547       - network.outgoing.packets.rate
548       scalable_plt:
549       - plt
550       - scalable
551       network.incoming.packets.rate_plt_plt_oam_0_port:
552       - plt_plt_oam_0_port
553       - network.incoming.packets.rate
554       network.outgoing.packets.rate_plt_plt_data_0_port:
555       - plt_plt_data_0_port
556       - network.outgoing.packets.rate
557       network.incoming.bytes.rate_plt_plt_data_0_port:
558       - plt_plt_data_0_port
559       - network.incoming.bytes.rate
560       disk.usage_plt:
561       - plt
562       - disk.usage
563       feature_plt_plt_oam_0_port:
564       - plt_plt_oam_0_port
565       - feature
566       network.incoming.bytes.rate_plt_plt_internal_0_port:
567       - plt_plt_internal_0_port
568       - network.incoming.bytes.rate
569       memory_plt:
570       - plt
571       - memory
572       disk.root.size_plt:
573       - plt
574       - disk.root.size
575       network.outgoing.bytes_plt_plt_data_0_port:
576       - plt_plt_data_0_port
577       - network.outgoing.bytes
578       cpu.delta_plt:
579       - plt
580       - cpu.delta
581       disk.device.write.requests_plt:
582       - plt
583       - disk.device.write.requests
584       feature_plt_plt_data_0_port:
585       - plt_plt_data_0_port
586       - feature
587       network.outgoing.bytes.rate_plt_plt_data_0_port:
588       - plt_plt_data_0_port
589       - network.outgoing.bytes.rate
590       disk.device.read.requests.rate_plt:
591       - plt
592       - disk.device.read.requests.rate
593       network.outpoing.packets_plt_plt_data_0_port:
594       - plt_plt_data_0_port
595       - network.outpoing.packets
596       os_plt:
597       - plt
598       - os
599       network.outgoing.bytes.rate_plt_plt_internal_0_port:
600       - plt_plt_internal_0_port
601       - network.outgoing.bytes.rate
602       forwarder_plt_plt_internal_0_port:
603       - plt_plt_internal_0_port
604       - forwarder
605       network.incoming.packets_plt_plt_data_0_port:
606       - plt_plt_data_0_port
607       - network.incoming.packets
608       disk.allocation_plt:
609       - plt
610       - disk.allocation
611       host_plt:
612       - plt
613       - host
614       vcpus_plt:
615       - plt
616       - vcpus
617       disk.device.iops_plt:
618       - plt
619       - disk.device.iops
620       disk.write.requests.rate_plt:
621       - plt
622       - disk.write.requests.rate
623       forwarder_plt_plt_data_0_port:
624       - plt_plt_data_0_port
625       - forwarder
626     requirements:
627       local_storage_plt:
628       - plt
629       - local_storage
630       link_plt_plt_internal_0_port:
631       - plt_plt_internal_0_port
632       - link
633       dependency_plt_plt_oam_0_port:
634       - plt_plt_oam_0_port
635       - dependency
636       dependency_plt_plt_data_0_port:
637       - plt_plt_data_0_port
638       - dependency
639       link_plt_plt_data_0_port:
640       - plt_plt_data_0_port
641       - link
642       dependency_plt_plt_internal_0_port:
643       - plt_plt_internal_0_port
644       - dependency
645       link_plt_plt_oam_0_port:
646       - plt_plt_oam_0_port
647       - link
648       dependency_plt:
649       - plt
650       - dependency