a157cf8c26475d525e47f22b3b1c6f2ac821910d
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_iox
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.iox:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_iox_data_0_port_ip_requirements:
15       type: list
16       required: true
17       entry_schema:
18         type: org.openecomp.datatypes.network.IpRequirements
19     port_iox_oam_0_port_exCP_naming:
20       type: org.openecomp.datatypes.Naming
21       required: true
22     port_iox_internal_0_port_network:
23       type: list
24       required: true
25       entry_schema:
26         type: string
27     port_iox_data_0_port_name:
28       type: list
29       required: true
30       entry_schema:
31         type: string
32     vm_flavor_name:
33       type: string
34       required: true
35     port_iox_data_0_port_subnetpoolid:
36       type: string
37       required: true
38     port_iox_data_0_port_allowed_address_pairs:
39       type: list
40       required: true
41       entry_schema:
42         type: org.openecomp.datatypes.heat.network.AddressPair
43     port_iox_internal_0_port_ip_requirements:
44       type: list
45       required: true
46       entry_schema:
47         type: org.openecomp.datatypes.network.IpRequirements
48     vm_image_name:
49       type: string
50       required: true
51     port_iox_oam_0_port_name:
52       type: list
53       required: true
54       entry_schema:
55         type: string
56     port_iox_oam_0_port_network_role_tag:
57       type: string
58       required: true
59     port_iox_oam_0_port_subnetpoolid:
60       type: string
61       required: true
62     compute_iox_user_data_format:
63       type: list
64       required: true
65       entry_schema:
66         type: string
67     port_iox_data_0_port_fixed_ips:
68       type: list
69       required: true
70       entry_schema:
71         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
72     port_iox_internal_0_port_allowed_address_pairs:
73       type: list
74       required: true
75       entry_schema:
76         type: org.openecomp.datatypes.heat.network.AddressPair
77     compute_iox_config_drive:
78       type: list
79       required: true
80       entry_schema:
81         type: boolean
82     port_iox_internal_0_port_order:
83       type: integer
84       required: true
85     port_iox_oam_0_port_replacement_policy:
86       type: list
87       required: true
88       entry_schema:
89         type: string
90     port_iox_data_0_port_security_groups:
91       type: list
92       required: true
93       entry_schema:
94         type: json
95     port_iox_internal_0_port_vlan_requirements:
96       type: list
97       required: true
98       entry_schema:
99         type: org.openecomp.datatypes.network.VlanRequirements
100     compute_iox_image_update_policy:
101       type: list
102       required: true
103       entry_schema:
104         type: string
105     port_iox_oam_0_port_order:
106       type: integer
107       required: true
108     port_iox_oam_0_port_network:
109       type: list
110       required: true
111       entry_schema:
112         type: string
113     port_iox_internal_0_port_security_groups:
114       type: list
115       required: true
116       entry_schema:
117         type: json
118     port_iox_oam_0_port_vlan_requirements:
119       type: list
120       required: true
121       entry_schema:
122         type: org.openecomp.datatypes.network.VlanRequirements
123     port_iox_data_0_port_order:
124       type: integer
125       required: true
126     port_iox_internal_0_port_name:
127       type: list
128       required: true
129       entry_schema:
130         type: string
131     port_iox_oam_0_port_fixed_ips:
132       type: list
133       required: true
134       entry_schema:
135         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
136     port_iox_data_0_port_vlan_requirements:
137       type: list
138       required: true
139       entry_schema:
140         type: org.openecomp.datatypes.network.VlanRequirements
141     compute_iox_name:
142       type: list
143       required: true
144       entry_schema:
145         type: string
146     port_iox_data_0_port_network:
147       type: list
148       required: true
149       entry_schema:
150         type: string
151     port_iox_internal_0_port_replacement_policy:
152       type: list
153       required: true
154       entry_schema:
155         type: string
156     port_iox_internal_0_port_mac_requirements:
157       type: org.openecomp.datatypes.network.MacRequirements
158       required: true
159     port_iox_data_0_port_mac_requirements:
160       type: org.openecomp.datatypes.network.MacRequirements
161       required: true
162     port_iox_data_0_port_exCP_naming:
163       type: org.openecomp.datatypes.Naming
164       required: true
165     port_iox_oam_0_port_network_role:
166       type: string
167       required: true
168     port_iox_internal_0_port_network_role:
169       type: string
170       required: true
171     port_iox_data_0_port_network_role:
172       type: string
173       required: true
174     port_iox_data_0_port_replacement_policy:
175       type: list
176       required: true
177       entry_schema:
178         type: string
179     compute_iox_metadata:
180       type: list
181       required: true
182       entry_schema:
183         type: json
184     index_value:
185       type: integer
186       description: Index value of this substitution service template runtime instance
187       required: false
188       default: 0
189       constraints:
190       - greater_or_equal: 0
191     port_iox_internal_0_port_network_role_tag:
192       type: string
193       required: true
194     port_iox_oam_0_port_allowed_address_pairs:
195       type: list
196       required: true
197       entry_schema:
198         type: org.openecomp.datatypes.heat.network.AddressPair
199     port_iox_internal_0_port_subnetpoolid:
200       type: string
201       required: true
202     compute_iox_availability_zone:
203       type: list
204       required: true
205       entry_schema:
206         type: string
207     port_iox_oam_0_port_security_groups:
208       type: list
209       required: true
210       entry_schema:
211         type: json
212     port_iox_oam_0_port_mac_requirements:
213       type: org.openecomp.datatypes.network.MacRequirements
214       required: true
215     port_iox_oam_0_port_ip_requirements:
216       type: list
217       required: true
218       entry_schema:
219         type: org.openecomp.datatypes.network.IpRequirements
220     port_iox_internal_0_port_exCP_naming:
221       type: org.openecomp.datatypes.Naming
222       required: true
223     port_iox_data_0_port_network_role_tag:
224       type: string
225       required: true
226   node_templates:
227     iox_iox_data_0_port:
228       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
229       properties:
230         replacement_policy:
231           get_input:
232           - port_iox_data_0_port_replacement_policy
233           - index_value
234         mac_requirements:
235           get_input: port_iox_data_0_port_mac_requirements
236         allowed_address_pairs:
237           get_input: port_iox_data_0_port_allowed_address_pairs
238         order:
239           get_input: port_iox_data_0_port_order
240         security_groups:
241           get_input:
242           - port_iox_data_0_port_security_groups
243           - index_value
244         exCP_naming:
245           get_input: port_iox_data_0_port_exCP_naming
246         vlan_requirements:
247           get_input: port_iox_data_0_port_vlan_requirements
248         ip_requirements:
249           get_input: port_iox_data_0_port_ip_requirements
250         network_role_tag:
251           get_input: port_iox_data_0_port_network_role_tag
252         network_role:
253           get_input: port_iox_data_0_port_network_role
254         subnetpoolid:
255           get_input: port_iox_data_0_port_subnetpoolid
256         fixed_ips:
257           get_input: port_iox_data_0_port_fixed_ips
258         name:
259           get_input:
260           - port_iox_data_0_port_name
261           - index_value
262         network:
263           get_input:
264           - port_iox_data_0_port_network
265           - index_value
266       requirements:
267       - binding:
268           capability: tosca.capabilities.network.Bindable
269           node: iox
270           relationship: tosca.relationships.network.BindsTo
271     iox:
272       type: org.openecomp.resource.vfc.compute.nodes.heat.iox
273       properties:
274         availability_zone:
275           get_input:
276           - compute_iox_availability_zone
277           - index_value
278         flavor:
279           get_input: vm_flavor_name
280         metadata:
281           get_input:
282           - compute_iox_metadata
283           - index_value
284         config_drive:
285           get_input:
286           - compute_iox_config_drive
287           - index_value
288         image:
289           get_input: vm_image_name
290         name:
291           get_input:
292           - compute_iox_name
293           - index_value
294         image_update_policy:
295           get_input:
296           - compute_iox_image_update_policy
297           - index_value
298         user_data_format:
299           get_input:
300           - compute_iox_user_data_format
301           - index_value
302     iox_iox_oam_0_port:
303       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
304       properties:
305         replacement_policy:
306           get_input:
307           - port_iox_oam_0_port_replacement_policy
308           - index_value
309         mac_requirements:
310           get_input: port_iox_oam_0_port_mac_requirements
311         allowed_address_pairs:
312           get_input: port_iox_oam_0_port_allowed_address_pairs
313         order:
314           get_input: port_iox_oam_0_port_order
315         security_groups:
316           get_input:
317           - port_iox_oam_0_port_security_groups
318           - index_value
319         exCP_naming:
320           get_input: port_iox_oam_0_port_exCP_naming
321         vlan_requirements:
322           get_input: port_iox_oam_0_port_vlan_requirements
323         ip_requirements:
324           get_input: port_iox_oam_0_port_ip_requirements
325         network_role_tag:
326           get_input: port_iox_oam_0_port_network_role_tag
327         network_role:
328           get_input: port_iox_oam_0_port_network_role
329         subnetpoolid:
330           get_input: port_iox_oam_0_port_subnetpoolid
331         fixed_ips:
332           get_input: port_iox_oam_0_port_fixed_ips
333         name:
334           get_input:
335           - port_iox_oam_0_port_name
336           - index_value
337         network:
338           get_input:
339           - port_iox_oam_0_port_network
340           - index_value
341       requirements:
342       - binding:
343           capability: tosca.capabilities.network.Bindable
344           node: iox
345           relationship: tosca.relationships.network.BindsTo
346     iox_iox_internal_0_port:
347       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
348       properties:
349         replacement_policy:
350           get_input:
351           - port_iox_internal_0_port_replacement_policy
352           - index_value
353         mac_requirements:
354           get_input: port_iox_internal_0_port_mac_requirements
355         allowed_address_pairs:
356           get_input: port_iox_internal_0_port_allowed_address_pairs
357         order:
358           get_input: port_iox_internal_0_port_order
359         security_groups:
360           get_input:
361           - port_iox_internal_0_port_security_groups
362           - index_value
363         exCP_naming:
364           get_input: port_iox_internal_0_port_exCP_naming
365         vlan_requirements:
366           get_input: port_iox_internal_0_port_vlan_requirements
367         ip_requirements:
368           get_input: port_iox_internal_0_port_ip_requirements
369         network_role_tag:
370           get_input: port_iox_internal_0_port_network_role_tag
371         network_role:
372           get_input: port_iox_internal_0_port_network_role
373         subnetpoolid:
374           get_input: port_iox_internal_0_port_subnetpoolid
375         name:
376           get_input:
377           - port_iox_internal_0_port_name
378           - index_value
379         network:
380           get_input:
381           - port_iox_internal_0_port_network
382           - index_value
383       requirements:
384       - binding:
385           capability: tosca.capabilities.network.Bindable
386           node: iox
387           relationship: tosca.relationships.network.BindsTo
388   substitution_mappings:
389     node_type: org.openecomp.resource.abstract.nodes.iox
390     capabilities:
391       cpu.delta_iox:
392       - iox
393       - cpu.delta
394       disk.device.latency_iox:
395       - iox
396       - disk.device.latency
397       memory_iox:
398       - iox
399       - memory
400       network.outgoing.packets.rate_iox_iox_data_0_port:
401       - iox_iox_data_0_port
402       - network.outgoing.packets.rate
403       disk.device.read.bytes_iox:
404       - iox
405       - disk.device.read.bytes
406       disk.read.requests_iox:
407       - iox
408       - disk.read.requests
409       disk.write.requests_iox:
410       - iox
411       - disk.write.requests
412       network.incoming.bytes_iox_iox_oam_0_port:
413       - iox_iox_oam_0_port
414       - network.incoming.bytes
415       network.incoming.packets.rate_iox_iox_internal_0_port:
416       - iox_iox_internal_0_port
417       - network.incoming.packets.rate
418       disk.device.read.requests.rate_iox:
419       - iox
420       - disk.device.read.requests.rate
421       disk.device.write.requests.rate_iox:
422       - iox
423       - disk.device.write.requests.rate
424       disk.capacity_iox:
425       - iox
426       - disk.capacity
427       disk.write.bytes_iox:
428       - iox
429       - disk.write.bytes
430       disk.device.write.requests_iox:
431       - iox
432       - disk.device.write.requests
433       disk.device.allocation_iox:
434       - iox
435       - disk.device.allocation
436       feature_iox_iox_data_0_port:
437       - iox_iox_data_0_port
438       - feature
439       disk.root.size_iox:
440       - iox
441       - disk.root.size
442       vcpus_iox:
443       - iox
444       - vcpus
445       disk.device.iops_iox:
446       - iox
447       - disk.device.iops
448       network.outgoing.bytes.rate_iox_iox_data_0_port:
449       - iox_iox_data_0_port
450       - network.outgoing.bytes.rate
451       disk.read.bytes.rate_iox:
452       - iox
453       - disk.read.bytes.rate
454       network.outgoing.bytes_iox_iox_oam_0_port:
455       - iox_iox_oam_0_port
456       - network.outgoing.bytes
457       attachment_iox_iox_data_0_port:
458       - iox_iox_data_0_port
459       - attachment
460       network.incoming.packets.rate_iox_iox_oam_0_port:
461       - iox_iox_oam_0_port
462       - network.incoming.packets.rate
463       disk.latency_iox:
464       - iox
465       - disk.latency
466       network.incoming.packets.rate_iox_iox_data_0_port:
467       - iox_iox_data_0_port
468       - network.incoming.packets.rate
469       network.incoming.bytes_iox_iox_internal_0_port:
470       - iox_iox_internal_0_port
471       - network.incoming.bytes
472       cpu_util_iox:
473       - iox
474       - cpu_util
475       binding_iox_iox_oam_0_port:
476       - iox_iox_oam_0_port
477       - binding
478       network.incoming.bytes_iox_iox_data_0_port:
479       - iox_iox_data_0_port
480       - network.incoming.bytes
481       disk.device.capacity_iox:
482       - iox
483       - disk.device.capacity
484       disk.iops_iox:
485       - iox
486       - disk.iops
487       network.outpoing.packets_iox_iox_internal_0_port:
488       - iox_iox_internal_0_port
489       - network.outpoing.packets
490       endpoint_iox:
491       - iox
492       - endpoint
493       binding_iox_iox_internal_0_port:
494       - iox_iox_internal_0_port
495       - binding
496       disk.device.read.requests_iox:
497       - iox
498       - disk.device.read.requests
499       memory.usage_iox:
500       - iox
501       - memory.usage
502       attachment_iox_iox_internal_0_port:
503       - iox_iox_internal_0_port
504       - attachment
505       network.outgoing.bytes_iox_iox_internal_0_port:
506       - iox_iox_internal_0_port
507       - network.outgoing.bytes
508       cpu_iox:
509       - iox
510       - cpu
511       feature_iox_iox_oam_0_port:
512       - iox_iox_oam_0_port
513       - feature
514       disk.usage_iox:
515       - iox
516       - disk.usage
517       scalable_iox:
518       - iox
519       - scalable
520       feature_iox:
521       - iox
522       - feature
523       memory.resident_iox:
524       - iox
525       - memory.resident
526       disk.device.write.bytes_iox:
527       - iox
528       - disk.device.write.bytes
529       network.outgoing.packets.rate_iox_iox_internal_0_port:
530       - iox_iox_internal_0_port
531       - network.outgoing.packets.rate
532       binding_iox_iox_data_0_port:
533       - iox_iox_data_0_port
534       - binding
535       network.outgoing.bytes.rate_iox_iox_oam_0_port:
536       - iox_iox_oam_0_port
537       - network.outgoing.bytes.rate
538       network.incoming.bytes.rate_iox_iox_internal_0_port:
539       - iox_iox_internal_0_port
540       - network.incoming.bytes.rate
541       network.incoming.bytes.rate_iox_iox_oam_0_port:
542       - iox_iox_oam_0_port
543       - network.incoming.bytes.rate
544       disk.allocation_iox:
545       - iox
546       - disk.allocation
547       network.outgoing.packets.rate_iox_iox_oam_0_port:
548       - iox_iox_oam_0_port
549       - network.outgoing.packets.rate
550       binding_iox:
551       - iox
552       - binding
553       os_iox:
554       - iox
555       - os
556       host_iox:
557       - iox
558       - host
559       disk.write.requests.rate_iox:
560       - iox
561       - disk.write.requests.rate
562       disk.write.bytes.rate_iox:
563       - iox
564       - disk.write.bytes.rate
565       disk.read.bytes_iox:
566       - iox
567       - disk.read.bytes
568       network.incoming.packets_iox_iox_oam_0_port:
569       - iox_iox_oam_0_port
570       - network.incoming.packets
571       instance_iox:
572       - iox
573       - instance
574       disk.ephemeral.size_iox:
575       - iox
576       - disk.ephemeral.size
577       network.outpoing.packets_iox_iox_data_0_port:
578       - iox_iox_data_0_port
579       - network.outpoing.packets
580       attachment_iox_iox_oam_0_port:
581       - iox_iox_oam_0_port
582       - attachment
583       feature_iox_iox_internal_0_port:
584       - iox_iox_internal_0_port
585       - feature
586       network.incoming.packets_iox_iox_internal_0_port:
587       - iox_iox_internal_0_port
588       - network.incoming.packets
589       network.outpoing.packets_iox_iox_oam_0_port:
590       - iox_iox_oam_0_port
591       - network.outpoing.packets
592       disk.device.read.bytes.rate_iox:
593       - iox
594       - disk.device.read.bytes.rate
595       network.incoming.bytes.rate_iox_iox_data_0_port:
596       - iox_iox_data_0_port
597       - network.incoming.bytes.rate
598       network.incoming.packets_iox_iox_data_0_port:
599       - iox_iox_data_0_port
600       - network.incoming.packets
601       disk.device.write.bytes.rate_iox:
602       - iox
603       - disk.device.write.bytes.rate
604       network.outgoing.bytes.rate_iox_iox_internal_0_port:
605       - iox_iox_internal_0_port
606       - network.outgoing.bytes.rate
607       disk.device.usage_iox:
608       - iox
609       - disk.device.usage
610       network.outgoing.bytes_iox_iox_data_0_port:
611       - iox_iox_data_0_port
612       - network.outgoing.bytes
613     requirements:
614       dependency_iox_iox_internal_0_port:
615       - iox_iox_internal_0_port
616       - dependency
617       link_iox_iox_oam_0_port:
618       - iox_iox_oam_0_port
619       - link
620       dependency_iox:
621       - iox
622       - dependency
623       dependency_iox_iox_data_0_port:
624       - iox_iox_data_0_port
625       - dependency
626       link_iox_iox_data_0_port:
627       - iox_iox_data_0_port
628       - link
629       link_iox_iox_internal_0_port:
630       - iox_iox_internal_0_port
631       - link
632       local_storage_iox:
633       - iox
634       - local_storage
635       dependency_iox_iox_oam_0_port:
636       - iox_iox_oam_0_port
637       - dependency