43be472875636aa542207dc7c181aef01a43ff14
[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         subinterface_indicator: false
249         ip_requirements:
250           get_input: port_plt_internal_0_port_ip_requirements
251         network_role_tag:
252           get_input: port_plt_internal_0_port_network_role_tag
253         network_role:
254           get_input: port_plt_internal_0_port_network_role
255         subnetpoolid:
256           get_input: port_plt_internal_0_port_subnetpoolid
257         name:
258           get_input:
259           - port_plt_internal_0_port_name
260           - index_value
261         network:
262           get_input:
263           - port_plt_internal_0_port_network
264           - index_value
265       requirements:
266       - binding:
267           capability: tosca.capabilities.network.Bindable
268           node: plt
269           relationship: tosca.relationships.network.BindsTo
270     plt_plt_data_0_port:
271       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
272       properties:
273         replacement_policy:
274           get_input:
275           - port_plt_data_0_port_replacement_policy
276           - index_value
277         mac_requirements:
278           get_input: port_plt_data_0_port_mac_requirements
279         allowed_address_pairs:
280           get_input: port_plt_data_0_port_allowed_address_pairs
281         order:
282           get_input: port_plt_data_0_port_order
283         security_groups:
284           get_input:
285           - port_plt_data_0_port_security_groups
286           - index_value
287         exCP_naming:
288           get_input: port_plt_data_0_port_exCP_naming
289         vlan_requirements:
290           get_input: port_plt_data_0_port_vlan_requirements
291         subinterface_indicator: false
292         ip_requirements:
293           get_input: port_plt_data_0_port_ip_requirements
294         network_role_tag:
295           get_input: port_plt_data_0_port_network_role_tag
296         network_role:
297           get_input: port_plt_data_0_port_network_role
298         subnetpoolid:
299           get_input: port_plt_data_0_port_subnetpoolid
300         fixed_ips:
301           get_input:
302           - port_plt_data_0_port_fixed_ips
303           - index_value
304         name:
305           get_input:
306           - port_plt_data_0_port_name
307           - index_value
308         network:
309           get_input:
310           - port_plt_data_0_port_network
311           - index_value
312       requirements:
313       - binding:
314           capability: tosca.capabilities.network.Bindable
315           node: plt
316           relationship: tosca.relationships.network.BindsTo
317     plt:
318       type: org.openecomp.resource.vfc.compute.nodes.heat.plt
319       properties:
320         availability_zone:
321           get_input:
322           - compute_plt_availability_zone
323           - index_value
324         flavor:
325           get_input: vm_flavor_name
326         metadata:
327           get_input:
328           - compute_plt_metadata
329           - index_value
330         config_drive:
331           get_input:
332           - compute_plt_config_drive
333           - index_value
334         image:
335           get_input: vm_image_name
336         name:
337           get_input:
338           - compute_plt_name
339           - index_value
340         image_update_policy:
341           get_input:
342           - compute_plt_image_update_policy
343           - index_value
344         user_data_format:
345           get_input:
346           - compute_plt_user_data_format
347           - index_value
348     plt_plt_oam_0_port:
349       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
350       properties:
351         replacement_policy:
352           get_input:
353           - port_plt_oam_0_port_replacement_policy
354           - index_value
355         mac_requirements:
356           get_input: port_plt_oam_0_port_mac_requirements
357         allowed_address_pairs:
358           get_input: port_plt_oam_0_port_allowed_address_pairs
359         order:
360           get_input: port_plt_oam_0_port_order
361         security_groups:
362           get_input:
363           - port_plt_oam_0_port_security_groups
364           - index_value
365         exCP_naming:
366           get_input: port_plt_oam_0_port_exCP_naming
367         vlan_requirements:
368           get_input: port_plt_oam_0_port_vlan_requirements
369         subinterface_indicator: false
370         ip_requirements:
371           get_input: port_plt_oam_0_port_ip_requirements
372         network_role_tag:
373           get_input: port_plt_oam_0_port_network_role_tag
374         network_role:
375           get_input: port_plt_oam_0_port_network_role
376         subnetpoolid:
377           get_input: port_plt_oam_0_port_subnetpoolid
378         fixed_ips:
379           get_input:
380           - port_plt_oam_0_port_fixed_ips
381           - index_value
382         name:
383           get_input:
384           - port_plt_oam_0_port_name
385           - index_value
386         network:
387           get_input:
388           - port_plt_oam_0_port_network
389           - index_value
390       requirements:
391       - binding:
392           capability: tosca.capabilities.network.Bindable
393           node: plt
394           relationship: tosca.relationships.network.BindsTo
395   substitution_mappings:
396     node_type: org.openecomp.resource.abstract.nodes.plt
397     capabilities:
398       network.outgoing.bytes.rate_plt_plt_oam_0_port:
399       - plt_plt_oam_0_port
400       - network.outgoing.bytes.rate
401       disk.device.usage_plt:
402       - plt
403       - disk.device.usage
404       disk.iops_plt:
405       - plt
406       - disk.iops
407       disk.read.bytes.rate_plt:
408       - plt
409       - disk.read.bytes.rate
410       disk.device.allocation_plt:
411       - plt
412       - disk.device.allocation
413       disk.device.write.bytes.rate_plt:
414       - plt
415       - disk.device.write.bytes.rate
416       disk.read.bytes_plt:
417       - plt
418       - disk.read.bytes
419       network.incoming.packets_plt_plt_internal_0_port:
420       - plt_plt_internal_0_port
421       - network.incoming.packets
422       disk.capacity_plt:
423       - plt
424       - disk.capacity
425       disk.write.bytes_plt:
426       - plt
427       - disk.write.bytes
428       disk.device.read.bytes.rate_plt:
429       - plt
430       - disk.device.read.bytes.rate
431       endpoint_plt:
432       - plt
433       - endpoint
434       disk.read.requests_plt:
435       - plt
436       - disk.read.requests
437       network.outpoing.packets_plt_plt_oam_0_port:
438       - plt_plt_oam_0_port
439       - network.outpoing.packets
440       disk.device.write.requests.rate_plt:
441       - plt
442       - disk.device.write.requests.rate
443       attachment_plt_plt_data_0_port:
444       - plt_plt_data_0_port
445       - attachment
446       feature_plt:
447       - plt
448       - feature
449       cpu_plt:
450       - plt
451       - cpu
452       disk.write.requests_plt:
453       - plt
454       - disk.write.requests
455       network.incoming.packets.rate_plt_plt_internal_0_port:
456       - plt_plt_internal_0_port
457       - network.incoming.packets.rate
458       disk.device.write.bytes_plt:
459       - plt
460       - disk.device.write.bytes
461       network.outgoing.bytes_plt_plt_oam_0_port:
462       - plt_plt_oam_0_port
463       - network.outgoing.bytes
464       network.outpoing.packets_plt_plt_internal_0_port:
465       - plt_plt_internal_0_port
466       - network.outpoing.packets
467       network.incoming.bytes_plt_plt_internal_0_port:
468       - plt_plt_internal_0_port
469       - network.incoming.bytes
470       network.outgoing.packets.rate_plt_plt_oam_0_port:
471       - plt_plt_oam_0_port
472       - network.outgoing.packets.rate
473       network.incoming.bytes_plt_plt_oam_0_port:
474       - plt_plt_oam_0_port
475       - network.incoming.bytes
476       network.incoming.bytes_plt_plt_data_0_port:
477       - plt_plt_data_0_port
478       - network.incoming.bytes
479       attachment_plt_plt_internal_0_port:
480       - plt_plt_internal_0_port
481       - attachment
482       binding_plt:
483       - plt
484       - binding
485       network.incoming.bytes.rate_plt_plt_oam_0_port:
486       - plt_plt_oam_0_port
487       - network.incoming.bytes.rate
488       disk.device.read.bytes_plt:
489       - plt
490       - disk.device.read.bytes
491       disk.device.latency_plt:
492       - plt
493       - disk.device.latency
494       network.incoming.packets.rate_plt_plt_data_0_port:
495       - plt_plt_data_0_port
496       - network.incoming.packets.rate
497       network.outgoing.bytes_plt_plt_internal_0_port:
498       - plt_plt_internal_0_port
499       - network.outgoing.bytes
500       binding_plt_plt_internal_0_port:
501       - plt_plt_internal_0_port
502       - binding
503       feature_plt_plt_internal_0_port:
504       - plt_plt_internal_0_port
505       - feature
506       instance_plt:
507       - plt
508       - instance
509       disk.latency_plt:
510       - plt
511       - disk.latency
512       disk.write.bytes.rate_plt:
513       - plt
514       - disk.write.bytes.rate
515       disk.ephemeral.size_plt:
516       - plt
517       - disk.ephemeral.size
518       cpu_util_plt:
519       - plt
520       - cpu_util
521       binding_plt_plt_oam_0_port:
522       - plt_plt_oam_0_port
523       - binding
524       memory.usage_plt:
525       - plt
526       - memory.usage
527       attachment_plt_plt_oam_0_port:
528       - plt_plt_oam_0_port
529       - attachment
530       network.incoming.packets_plt_plt_oam_0_port:
531       - plt_plt_oam_0_port
532       - network.incoming.packets
533       disk.device.capacity_plt:
534       - plt
535       - disk.device.capacity
536       forwarder_plt_plt_oam_0_port:
537       - plt_plt_oam_0_port
538       - forwarder
539       binding_plt_plt_data_0_port:
540       - plt_plt_data_0_port
541       - binding
542       disk.device.read.requests_plt:
543       - plt
544       - disk.device.read.requests
545       memory.resident_plt:
546       - plt
547       - memory.resident
548       network.outgoing.packets.rate_plt_plt_internal_0_port:
549       - plt_plt_internal_0_port
550       - network.outgoing.packets.rate
551       scalable_plt:
552       - plt
553       - scalable
554       network.incoming.packets.rate_plt_plt_oam_0_port:
555       - plt_plt_oam_0_port
556       - network.incoming.packets.rate
557       network.outgoing.packets.rate_plt_plt_data_0_port:
558       - plt_plt_data_0_port
559       - network.outgoing.packets.rate
560       network.incoming.bytes.rate_plt_plt_data_0_port:
561       - plt_plt_data_0_port
562       - network.incoming.bytes.rate
563       disk.usage_plt:
564       - plt
565       - disk.usage
566       feature_plt_plt_oam_0_port:
567       - plt_plt_oam_0_port
568       - feature
569       network.incoming.bytes.rate_plt_plt_internal_0_port:
570       - plt_plt_internal_0_port
571       - network.incoming.bytes.rate
572       memory_plt:
573       - plt
574       - memory
575       disk.root.size_plt:
576       - plt
577       - disk.root.size
578       network.outgoing.bytes_plt_plt_data_0_port:
579       - plt_plt_data_0_port
580       - network.outgoing.bytes
581       cpu.delta_plt:
582       - plt
583       - cpu.delta
584       disk.device.write.requests_plt:
585       - plt
586       - disk.device.write.requests
587       feature_plt_plt_data_0_port:
588       - plt_plt_data_0_port
589       - feature
590       network.outgoing.bytes.rate_plt_plt_data_0_port:
591       - plt_plt_data_0_port
592       - network.outgoing.bytes.rate
593       disk.device.read.requests.rate_plt:
594       - plt
595       - disk.device.read.requests.rate
596       network.outpoing.packets_plt_plt_data_0_port:
597       - plt_plt_data_0_port
598       - network.outpoing.packets
599       os_plt:
600       - plt
601       - os
602       network.outgoing.bytes.rate_plt_plt_internal_0_port:
603       - plt_plt_internal_0_port
604       - network.outgoing.bytes.rate
605       forwarder_plt_plt_internal_0_port:
606       - plt_plt_internal_0_port
607       - forwarder
608       network.incoming.packets_plt_plt_data_0_port:
609       - plt_plt_data_0_port
610       - network.incoming.packets
611       disk.allocation_plt:
612       - plt
613       - disk.allocation
614       host_plt:
615       - plt
616       - host
617       vcpus_plt:
618       - plt
619       - vcpus
620       disk.device.iops_plt:
621       - plt
622       - disk.device.iops
623       disk.write.requests.rate_plt:
624       - plt
625       - disk.write.requests.rate
626       forwarder_plt_plt_data_0_port:
627       - plt_plt_data_0_port
628       - forwarder
629     requirements:
630       local_storage_plt:
631       - plt
632       - local_storage
633       link_plt_plt_internal_0_port:
634       - plt_plt_internal_0_port
635       - link
636       dependency_plt_plt_oam_0_port:
637       - plt_plt_oam_0_port
638       - dependency
639       dependency_plt_plt_data_0_port:
640       - plt_plt_data_0_port
641       - dependency
642       link_plt_plt_data_0_port:
643       - plt_plt_data_0_port
644       - link
645       dependency_plt_plt_internal_0_port:
646       - plt_plt_internal_0_port
647       - dependency
648       link_plt_plt_oam_0_port:
649       - plt_plt_oam_0_port
650       - link
651       dependency_plt:
652       - plt
653       - dependency