993bf81e241addb5c9bc4731a85ddc6a7bc016be
[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:
258           - port_iox_data_0_port_fixed_ips
259           - index_value
260         name:
261           get_input:
262           - port_iox_data_0_port_name
263           - index_value
264         network:
265           get_input:
266           - port_iox_data_0_port_network
267           - index_value
268       requirements:
269       - binding:
270           capability: tosca.capabilities.network.Bindable
271           node: iox
272           relationship: tosca.relationships.network.BindsTo
273     iox:
274       type: org.openecomp.resource.vfc.compute.nodes.heat.iox
275       properties:
276         availability_zone:
277           get_input:
278           - compute_iox_availability_zone
279           - index_value
280         flavor:
281           get_input: vm_flavor_name
282         metadata:
283           get_input:
284           - compute_iox_metadata
285           - index_value
286         config_drive:
287           get_input:
288           - compute_iox_config_drive
289           - index_value
290         image:
291           get_input: vm_image_name
292         name:
293           get_input:
294           - compute_iox_name
295           - index_value
296         image_update_policy:
297           get_input:
298           - compute_iox_image_update_policy
299           - index_value
300         user_data_format:
301           get_input:
302           - compute_iox_user_data_format
303           - index_value
304     iox_iox_oam_0_port:
305       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
306       properties:
307         replacement_policy:
308           get_input:
309           - port_iox_oam_0_port_replacement_policy
310           - index_value
311         mac_requirements:
312           get_input: port_iox_oam_0_port_mac_requirements
313         allowed_address_pairs:
314           get_input: port_iox_oam_0_port_allowed_address_pairs
315         order:
316           get_input: port_iox_oam_0_port_order
317         security_groups:
318           get_input:
319           - port_iox_oam_0_port_security_groups
320           - index_value
321         exCP_naming:
322           get_input: port_iox_oam_0_port_exCP_naming
323         vlan_requirements:
324           get_input: port_iox_oam_0_port_vlan_requirements
325         ip_requirements:
326           get_input: port_iox_oam_0_port_ip_requirements
327         network_role_tag:
328           get_input: port_iox_oam_0_port_network_role_tag
329         network_role:
330           get_input: port_iox_oam_0_port_network_role
331         subnetpoolid:
332           get_input: port_iox_oam_0_port_subnetpoolid
333         fixed_ips:
334           get_input:
335           - port_iox_oam_0_port_fixed_ips
336           - index_value
337         name:
338           get_input:
339           - port_iox_oam_0_port_name
340           - index_value
341         network:
342           get_input:
343           - port_iox_oam_0_port_network
344           - index_value
345       requirements:
346       - binding:
347           capability: tosca.capabilities.network.Bindable
348           node: iox
349           relationship: tosca.relationships.network.BindsTo
350     iox_iox_internal_0_port:
351       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
352       properties:
353         replacement_policy:
354           get_input:
355           - port_iox_internal_0_port_replacement_policy
356           - index_value
357         mac_requirements:
358           get_input: port_iox_internal_0_port_mac_requirements
359         allowed_address_pairs:
360           get_input: port_iox_internal_0_port_allowed_address_pairs
361         order:
362           get_input: port_iox_internal_0_port_order
363         security_groups:
364           get_input:
365           - port_iox_internal_0_port_security_groups
366           - index_value
367         exCP_naming:
368           get_input: port_iox_internal_0_port_exCP_naming
369         vlan_requirements:
370           get_input: port_iox_internal_0_port_vlan_requirements
371         ip_requirements:
372           get_input: port_iox_internal_0_port_ip_requirements
373         network_role_tag:
374           get_input: port_iox_internal_0_port_network_role_tag
375         network_role:
376           get_input: port_iox_internal_0_port_network_role
377         subnetpoolid:
378           get_input: port_iox_internal_0_port_subnetpoolid
379         name:
380           get_input:
381           - port_iox_internal_0_port_name
382           - index_value
383         network:
384           get_input:
385           - port_iox_internal_0_port_network
386           - index_value
387       requirements:
388       - binding:
389           capability: tosca.capabilities.network.Bindable
390           node: iox
391           relationship: tosca.relationships.network.BindsTo
392   substitution_mappings:
393     node_type: org.openecomp.resource.abstract.nodes.iox
394     capabilities:
395       forwarder_iox_iox_oam_0_port:
396       - iox_iox_oam_0_port
397       - forwarder
398       cpu.delta_iox:
399       - iox
400       - cpu.delta
401       disk.device.latency_iox:
402       - iox
403       - disk.device.latency
404       memory_iox:
405       - iox
406       - memory
407       network.outgoing.packets.rate_iox_iox_data_0_port:
408       - iox_iox_data_0_port
409       - network.outgoing.packets.rate
410       disk.device.read.bytes_iox:
411       - iox
412       - disk.device.read.bytes
413       disk.read.requests_iox:
414       - iox
415       - disk.read.requests
416       disk.write.requests_iox:
417       - iox
418       - disk.write.requests
419       network.incoming.bytes_iox_iox_oam_0_port:
420       - iox_iox_oam_0_port
421       - network.incoming.bytes
422       network.incoming.packets.rate_iox_iox_internal_0_port:
423       - iox_iox_internal_0_port
424       - network.incoming.packets.rate
425       disk.device.read.requests.rate_iox:
426       - iox
427       - disk.device.read.requests.rate
428       disk.device.write.requests.rate_iox:
429       - iox
430       - disk.device.write.requests.rate
431       disk.capacity_iox:
432       - iox
433       - disk.capacity
434       disk.write.bytes_iox:
435       - iox
436       - disk.write.bytes
437       disk.device.write.requests_iox:
438       - iox
439       - disk.device.write.requests
440       disk.device.allocation_iox:
441       - iox
442       - disk.device.allocation
443       feature_iox_iox_data_0_port:
444       - iox_iox_data_0_port
445       - feature
446       disk.root.size_iox:
447       - iox
448       - disk.root.size
449       vcpus_iox:
450       - iox
451       - vcpus
452       disk.device.iops_iox:
453       - iox
454       - disk.device.iops
455       network.outgoing.bytes.rate_iox_iox_data_0_port:
456       - iox_iox_data_0_port
457       - network.outgoing.bytes.rate
458       disk.read.bytes.rate_iox:
459       - iox
460       - disk.read.bytes.rate
461       network.outgoing.bytes_iox_iox_oam_0_port:
462       - iox_iox_oam_0_port
463       - network.outgoing.bytes
464       attachment_iox_iox_data_0_port:
465       - iox_iox_data_0_port
466       - attachment
467       network.incoming.packets.rate_iox_iox_oam_0_port:
468       - iox_iox_oam_0_port
469       - network.incoming.packets.rate
470       disk.latency_iox:
471       - iox
472       - disk.latency
473       network.incoming.packets.rate_iox_iox_data_0_port:
474       - iox_iox_data_0_port
475       - network.incoming.packets.rate
476       network.incoming.bytes_iox_iox_internal_0_port:
477       - iox_iox_internal_0_port
478       - network.incoming.bytes
479       cpu_util_iox:
480       - iox
481       - cpu_util
482       binding_iox_iox_oam_0_port:
483       - iox_iox_oam_0_port
484       - binding
485       network.incoming.bytes_iox_iox_data_0_port:
486       - iox_iox_data_0_port
487       - network.incoming.bytes
488       disk.device.capacity_iox:
489       - iox
490       - disk.device.capacity
491       disk.iops_iox:
492       - iox
493       - disk.iops
494       network.outpoing.packets_iox_iox_internal_0_port:
495       - iox_iox_internal_0_port
496       - network.outpoing.packets
497       endpoint_iox:
498       - iox
499       - endpoint
500       binding_iox_iox_internal_0_port:
501       - iox_iox_internal_0_port
502       - binding
503       disk.device.read.requests_iox:
504       - iox
505       - disk.device.read.requests
506       memory.usage_iox:
507       - iox
508       - memory.usage
509       attachment_iox_iox_internal_0_port:
510       - iox_iox_internal_0_port
511       - attachment
512       network.outgoing.bytes_iox_iox_internal_0_port:
513       - iox_iox_internal_0_port
514       - network.outgoing.bytes
515       cpu_iox:
516       - iox
517       - cpu
518       feature_iox_iox_oam_0_port:
519       - iox_iox_oam_0_port
520       - feature
521       disk.usage_iox:
522       - iox
523       - disk.usage
524       scalable_iox:
525       - iox
526       - scalable
527       feature_iox:
528       - iox
529       - feature
530       memory.resident_iox:
531       - iox
532       - memory.resident
533       disk.device.write.bytes_iox:
534       - iox
535       - disk.device.write.bytes
536       network.outgoing.packets.rate_iox_iox_internal_0_port:
537       - iox_iox_internal_0_port
538       - network.outgoing.packets.rate
539       binding_iox_iox_data_0_port:
540       - iox_iox_data_0_port
541       - binding
542       network.outgoing.bytes.rate_iox_iox_oam_0_port:
543       - iox_iox_oam_0_port
544       - network.outgoing.bytes.rate
545       network.incoming.bytes.rate_iox_iox_internal_0_port:
546       - iox_iox_internal_0_port
547       - network.incoming.bytes.rate
548       network.incoming.bytes.rate_iox_iox_oam_0_port:
549       - iox_iox_oam_0_port
550       - network.incoming.bytes.rate
551       disk.allocation_iox:
552       - iox
553       - disk.allocation
554       network.outgoing.packets.rate_iox_iox_oam_0_port:
555       - iox_iox_oam_0_port
556       - network.outgoing.packets.rate
557       binding_iox:
558       - iox
559       - binding
560       os_iox:
561       - iox
562       - os
563       host_iox:
564       - iox
565       - host
566       disk.write.requests.rate_iox:
567       - iox
568       - disk.write.requests.rate
569       disk.write.bytes.rate_iox:
570       - iox
571       - disk.write.bytes.rate
572       disk.read.bytes_iox:
573       - iox
574       - disk.read.bytes
575       network.incoming.packets_iox_iox_oam_0_port:
576       - iox_iox_oam_0_port
577       - network.incoming.packets
578       instance_iox:
579       - iox
580       - instance
581       disk.ephemeral.size_iox:
582       - iox
583       - disk.ephemeral.size
584       network.outpoing.packets_iox_iox_data_0_port:
585       - iox_iox_data_0_port
586       - network.outpoing.packets
587       attachment_iox_iox_oam_0_port:
588       - iox_iox_oam_0_port
589       - attachment
590       feature_iox_iox_internal_0_port:
591       - iox_iox_internal_0_port
592       - feature
593       network.incoming.packets_iox_iox_internal_0_port:
594       - iox_iox_internal_0_port
595       - network.incoming.packets
596       network.outpoing.packets_iox_iox_oam_0_port:
597       - iox_iox_oam_0_port
598       - network.outpoing.packets
599       forwarder_iox_iox_data_0_port:
600       - iox_iox_data_0_port
601       - forwarder
602       disk.device.read.bytes.rate_iox:
603       - iox
604       - disk.device.read.bytes.rate
605       network.incoming.bytes.rate_iox_iox_data_0_port:
606       - iox_iox_data_0_port
607       - network.incoming.bytes.rate
608       network.incoming.packets_iox_iox_data_0_port:
609       - iox_iox_data_0_port
610       - network.incoming.packets
611       disk.device.write.bytes.rate_iox:
612       - iox
613       - disk.device.write.bytes.rate
614       network.outgoing.bytes.rate_iox_iox_internal_0_port:
615       - iox_iox_internal_0_port
616       - network.outgoing.bytes.rate
617       forwarder_iox_iox_internal_0_port:
618       - iox_iox_internal_0_port
619       - forwarder
620       disk.device.usage_iox:
621       - iox
622       - disk.device.usage
623       network.outgoing.bytes_iox_iox_data_0_port:
624       - iox_iox_data_0_port
625       - network.outgoing.bytes
626     requirements:
627       dependency_iox_iox_internal_0_port:
628       - iox_iox_internal_0_port
629       - dependency
630       link_iox_iox_oam_0_port:
631       - iox_iox_oam_0_port
632       - link
633       dependency_iox:
634       - iox
635       - dependency
636       dependency_iox_iox_data_0_port:
637       - iox_iox_data_0_port
638       - dependency
639       link_iox_iox_data_0_port:
640       - iox_iox_data_0_port
641       - link
642       link_iox_iox_internal_0_port:
643       - iox_iox_internal_0_port
644       - link
645       local_storage_iox:
646       - iox
647       - local_storage
648       dependency_iox_iox_oam_0_port:
649       - iox_iox_oam_0_port
650       - dependency