12b75836dc67d1c9e4aab76cab6e98a73e9f6ee8
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: nested2level
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.nodes.heat.cmaui:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     cmaui_names:
15       hidden: false
16       immutable: false
17       type: list
18       description: CMAUI1, CMAUI2 server names
19       entry_schema:
20         type: string
21     p2:
22       hidden: false
23       immutable: false
24       type: string
25       description: UID of OAM network
26     cmaui_image:
27       hidden: false
28       immutable: false
29       type: string
30       description: Image for CMAUI server
31     cmaui_flavor:
32       hidden: false
33       immutable: false
34       type: string
35       description: Flavor for CMAUI server
36     availability_zone_0:
37       label: availabilityzone name
38       hidden: false
39       immutable: false
40       type: string
41       description: availabilityzone name
42     cmaui_oam_ips:
43       hidden: false
44       immutable: false
45       type: string
46       description: cmaui_port_1
47     net:
48       hidden: false
49       immutable: false
50       type: string
51       description: UID of OAM network
52     shared_security_group_id1:
53       hidden: false
54       immutable: false
55       type: string
56       description: UID of OAM network
57   node_templates:
58     server_cmaui_2:
59       type: org.openecomp.resource.vfc.nodes.heat.cmaui
60       properties:
61         flavor:
62           get_input: cmaui_flavor
63         availability_zone:
64           get_input: availability_zone_0
65         image:
66           get_input: cmaui_image
67         name:
68           get_input:
69           - cmaui_names
70           - 0
71     test_nested3:
72       type: org.openecomp.resource.abstract.nodes.heat.nested3level
73       directives:
74       - substitutable
75       properties:
76         service_template_filter:
77           substitute_service_template: nested3levelServiceTemplate.yaml
78         p2:
79           get_input: p2
80         shared_security_group_id1:
81           get_input: shared_security_group_id1
82     cmaui_port_211:
83       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
84       properties:
85         replacement_policy: AUTO
86         ip_requirements:
87         - ip_version: 4
88           ip_count_required:
89             is_required: true
90           floating_ip_count_required:
91             is_required: false
92         security_groups:
93         - get_input: shared_security_group_id1
94         - get_input: p2
95         fixed_ips:
96         - ip_address:
97             get_input:
98             - cmaui_oam_ips
99             - 0
100         mac_requirements:
101           mac_count_required:
102             is_required: false
103         network:
104           get_input: net
105       requirements:
106       - binding:
107           capability: tosca.capabilities.network.Bindable
108           node: server_cmaui_2
109           relationship: tosca.relationships.network.BindsTo
110     cmaui_port_222:
111       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
112       properties:
113         replacement_policy: AUTO
114         ip_requirements:
115         - ip_version: 4
116           ip_count_required:
117             is_required: true
118           floating_ip_count_required:
119             is_required: false
120         security_groups:
121         - get_input: shared_security_group_id1
122         fixed_ips:
123         - ip_address:
124             get_input:
125             - cmaui_oam_ips
126             - 0
127         mac_requirements:
128           mac_count_required:
129             is_required: false
130         network:
131           get_input: net
132       requirements:
133       - binding:
134           capability: tosca.capabilities.network.Bindable
135           node: server_cmaui_2
136           relationship: tosca.relationships.network.BindsTo
137   groups:
138     nested2level_group:
139       type: org.openecomp.groups.heat.HeatStack
140       properties:
141         heat_file: ../Artifacts/nested2level.yml
142         description: cmaui server template for vMMSC
143       members:
144       - server_cmaui_2
145       - test_nested3
146       - cmaui_port_211
147       - cmaui_port_222
148   substitution_mappings:
149     node_type: org.openecomp.resource.abstract.nodes.heat.nested2level
150     capabilities:
151       disk.device.write.bytes_server_cmaui_3_test_nested3:
152       - test_nested3
153       - disk.device.write.bytes_server_cmaui_3
154       memory.usage_server_cmaui_3_test_nested3:
155       - test_nested3
156       - memory.usage_server_cmaui_3
157       network.incoming.bytes_cmaui_port_222:
158       - cmaui_port_222
159       - network.incoming.bytes
160       network.incoming.packets_cmaui_port_211:
161       - cmaui_port_211
162       - network.incoming.packets
163       disk.device.usage_server_cmaui_2:
164       - server_cmaui_2
165       - disk.device.usage
166       cpu_server_cmaui_3_test_nested3:
167       - test_nested3
168       - cpu_server_cmaui_3
169       disk.latency_server_cmaui_3_test_nested3:
170       - test_nested3
171       - disk.latency_server_cmaui_3
172       disk.device.latency_server_cmaui_2:
173       - server_cmaui_2
174       - disk.device.latency
175       disk.read.bytes.rate_server_cmaui_3_test_nested3:
176       - test_nested3
177       - disk.read.bytes.rate_server_cmaui_3
178       disk.root.size_server_cmaui_2:
179       - server_cmaui_2
180       - disk.root.size
181       disk.device.write.requests.rate_server_cmaui_2:
182       - server_cmaui_2
183       - disk.device.write.requests.rate
184       binding_server_cmaui_3_test_nested3:
185       - test_nested3
186       - binding_server_cmaui_3
187       disk.write.requests.rate_server_cmaui_3_test_nested3:
188       - test_nested3
189       - disk.write.requests.rate_server_cmaui_3
190       network.incoming.packets.rate_cmaui_port_311_test_nested3:
191       - test_nested3
192       - network.incoming.packets.rate_cmaui_port_311
193       disk.device.latency_server_cmaui_3_test_nested3:
194       - test_nested3
195       - disk.device.latency_server_cmaui_3
196       disk.read.requests_server_cmaui_2:
197       - server_cmaui_2
198       - disk.read.requests
199       disk.device.allocation_server_cmaui_3_test_nested3:
200       - test_nested3
201       - disk.device.allocation_server_cmaui_3
202       memory_server_cmaui_3_test_nested3:
203       - test_nested3
204       - memory_server_cmaui_3
205       disk.device.read.requests.rate_server_cmaui_3_test_nested3:
206       - test_nested3
207       - disk.device.read.requests.rate_server_cmaui_3
208       disk.device.iops_server_cmaui_2:
209       - server_cmaui_2
210       - disk.device.iops
211       network.outgoing.packets.rate_cmaui_port_311_test_nested3:
212       - test_nested3
213       - network.outgoing.packets.rate_cmaui_port_311
214       disk.device.capacity_server_cmaui_2:
215       - server_cmaui_2
216       - disk.device.capacity
217       disk.device.read.bytes.rate_server_cmaui_2:
218       - server_cmaui_2
219       - disk.device.read.bytes.rate
220       disk.read.requests_server_cmaui_3_test_nested3:
221       - test_nested3
222       - disk.read.requests_server_cmaui_3
223       disk.read.bytes_server_cmaui_2:
224       - server_cmaui_2
225       - disk.read.bytes
226       disk.usage_server_cmaui_3_test_nested3:
227       - test_nested3
228       - disk.usage_server_cmaui_3
229       disk.device.read.bytes_server_cmaui_2:
230       - server_cmaui_2
231       - disk.device.read.bytes
232       feature_server_cmaui_3_test_nested3:
233       - test_nested3
234       - feature_server_cmaui_3
235       endpoint_server_cmaui_3_test_nested3:
236       - test_nested3
237       - endpoint_server_cmaui_3
238       network.outgoing.bytes.rate_cmaui_port_322_test_nested3:
239       - test_nested3
240       - network.outgoing.bytes.rate_cmaui_port_322
241       disk.write.requests.rate_server_cmaui_2:
242       - server_cmaui_2
243       - disk.write.requests.rate
244       disk.device.read.bytes_server_cmaui_3_test_nested3:
245       - test_nested3
246       - disk.device.read.bytes_server_cmaui_3
247       instance_server_cmaui_3_test_nested3:
248       - test_nested3
249       - instance_server_cmaui_3
250       cpu.delta_server_cmaui_3_test_nested3:
251       - test_nested3
252       - cpu.delta_server_cmaui_3
253       memory_server_cmaui_2:
254       - server_cmaui_2
255       - memory
256       cpu_server_cmaui_2:
257       - server_cmaui_2
258       - cpu
259       host_server_cmaui_3_test_nested3:
260       - test_nested3
261       - host_server_cmaui_3
262       network.incoming.packets_cmaui_port_311_test_nested3:
263       - test_nested3
264       - network.incoming.packets_cmaui_port_311
265       disk.ephemeral.size_server_cmaui_2:
266       - server_cmaui_2
267       - disk.ephemeral.size
268       disk.device.usage_server_cmaui_3_test_nested3:
269       - test_nested3
270       - disk.device.usage_server_cmaui_3
271       disk.capacity_server_cmaui_2:
272       - server_cmaui_2
273       - disk.capacity
274       disk.device.iops_server_cmaui_3_test_nested3:
275       - test_nested3
276       - disk.device.iops_server_cmaui_3
277       disk.device.write.bytes.rate_server_cmaui_3_test_nested3:
278       - test_nested3
279       - disk.device.write.bytes.rate_server_cmaui_3
280       network.outgoing.bytes_cmaui_port_211:
281       - cmaui_port_211
282       - network.outgoing.bytes
283       network.incoming.bytes_cmaui_port_311_test_nested3:
284       - test_nested3
285       - network.incoming.bytes_cmaui_port_311
286       disk.device.capacity_server_cmaui_3_test_nested3:
287       - test_nested3
288       - disk.device.capacity_server_cmaui_3
289       scalable_server_cmaui_3_test_nested3:
290       - test_nested3
291       - scalable_server_cmaui_3
292       binding_cmaui_port_322_test_nested3:
293       - test_nested3
294       - binding_cmaui_port_322
295       network.incoming.packets.rate_cmaui_port_211:
296       - cmaui_port_211
297       - network.incoming.packets.rate
298       disk.write.bytes.rate_server_cmaui_3_test_nested3:
299       - test_nested3
300       - disk.write.bytes.rate_server_cmaui_3
301       network.incoming.bytes.rate_cmaui_port_322_test_nested3:
302       - test_nested3
303       - network.incoming.bytes.rate_cmaui_port_322
304       disk.write.bytes_server_cmaui_3_test_nested3:
305       - test_nested3
306       - disk.write.bytes_server_cmaui_3
307       disk.iops_server_cmaui_2:
308       - server_cmaui_2
309       - disk.iops
310       attachment_cmaui_port_211:
311       - cmaui_port_211
312       - attachment
313       network.outpoing.packets_cmaui_port_211:
314       - cmaui_port_211
315       - network.outpoing.packets
316       network.incoming.bytes_cmaui_port_211:
317       - cmaui_port_211
318       - network.incoming.bytes
319       network.incoming.packets_cmaui_port_222:
320       - cmaui_port_222
321       - network.incoming.packets
322       disk.device.write.requests_server_cmaui_2:
323       - server_cmaui_2
324       - disk.device.write.requests
325       network.outpoing.packets_cmaui_port_311_test_nested3:
326       - test_nested3
327       - network.outpoing.packets_cmaui_port_311
328       network.outgoing.bytes_cmaui_port_222:
329       - cmaui_port_222
330       - network.outgoing.bytes
331       network.outgoing.bytes_cmaui_port_311_test_nested3:
332       - test_nested3
333       - network.outgoing.bytes_cmaui_port_311
334       attachment_cmaui_port_322_test_nested3:
335       - test_nested3
336       - attachment_cmaui_port_322
337       network.incoming.bytes.rate_cmaui_port_222:
338       - cmaui_port_222
339       - network.incoming.bytes.rate
340       cpu_util_server_cmaui_2:
341       - server_cmaui_2
342       - cpu_util
343       disk.device.write.bytes.rate_server_cmaui_2:
344       - server_cmaui_2
345       - disk.device.write.bytes.rate
346       disk.write.bytes.rate_server_cmaui_2:
347       - server_cmaui_2
348       - disk.write.bytes.rate
349       disk.device.write.bytes_server_cmaui_2:
350       - server_cmaui_2
351       - disk.device.write.bytes
352       attachment_cmaui_port_222:
353       - cmaui_port_222
354       - attachment
355       network.outpoing.packets_cmaui_port_222:
356       - cmaui_port_222
357       - network.outpoing.packets
358       disk.read.bytes_server_cmaui_3_test_nested3:
359       - test_nested3
360       - disk.read.bytes_server_cmaui_3
361       disk.device.write.requests_server_cmaui_3_test_nested3:
362       - test_nested3
363       - disk.device.write.requests_server_cmaui_3
364       binding_cmaui_port_311_test_nested3:
365       - test_nested3
366       - binding_cmaui_port_311
367       disk.capacity_server_cmaui_3_test_nested3:
368       - test_nested3
369       - disk.capacity_server_cmaui_3
370       disk.write.bytes_server_cmaui_2:
371       - server_cmaui_2
372       - disk.write.bytes
373       feature_server_cmaui_2:
374       - server_cmaui_2
375       - feature
376       feature_cmaui_port_311_test_nested3:
377       - test_nested3
378       - feature_cmaui_port_311
379       network.outgoing.packets.rate_cmaui_port_211:
380       - cmaui_port_211
381       - network.outgoing.packets.rate
382       binding_cmaui_port_211:
383       - cmaui_port_211
384       - binding
385       network.outgoing.bytes.rate_cmaui_port_211:
386       - cmaui_port_211
387       - network.outgoing.bytes.rate
388       disk.allocation_server_cmaui_2:
389       - server_cmaui_2
390       - disk.allocation
391       disk.device.read.requests_server_cmaui_3_test_nested3:
392       - test_nested3
393       - disk.device.read.requests_server_cmaui_3
394       binding_server_cmaui_2:
395       - server_cmaui_2
396       - binding
397       feature_test_nested3:
398       - test_nested3
399       - feature
400       vcpus_server_cmaui_2:
401       - server_cmaui_2
402       - vcpus
403       feature_cmaui_port_222:
404       - cmaui_port_222
405       - feature
406       network.incoming.bytes.rate_cmaui_port_211:
407       - cmaui_port_211
408       - network.incoming.bytes.rate
409       scalable_server_cmaui_2:
410       - server_cmaui_2
411       - scalable
412       os_server_cmaui_3_test_nested3:
413       - test_nested3
414       - os_server_cmaui_3
415       disk.write.requests_server_cmaui_3_test_nested3:
416       - test_nested3
417       - disk.write.requests_server_cmaui_3
418       disk.write.requests_server_cmaui_2:
419       - server_cmaui_2
420       - disk.write.requests
421       disk.usage_server_cmaui_2:
422       - server_cmaui_2
423       - disk.usage
424       network.incoming.bytes.rate_cmaui_port_311_test_nested3:
425       - test_nested3
426       - network.incoming.bytes.rate_cmaui_port_311
427       endpoint_server_cmaui_2:
428       - server_cmaui_2
429       - endpoint
430       memory.resident_server_cmaui_3_test_nested3:
431       - test_nested3
432       - memory.resident_server_cmaui_3
433       disk.allocation_server_cmaui_3_test_nested3:
434       - test_nested3
435       - disk.allocation_server_cmaui_3
436       network.outgoing.bytes.rate_cmaui_port_311_test_nested3:
437       - test_nested3
438       - network.outgoing.bytes.rate_cmaui_port_311
439       network.outgoing.packets.rate_cmaui_port_222:
440       - cmaui_port_222
441       - network.outgoing.packets.rate
442       binding_cmaui_port_222:
443       - cmaui_port_222
444       - binding
445       os_server_cmaui_2:
446       - server_cmaui_2
447       - os
448       feature_cmaui_port_322_test_nested3:
449       - test_nested3
450       - feature_cmaui_port_322
451       network.outgoing.bytes.rate_cmaui_port_222:
452       - cmaui_port_222
453       - network.outgoing.bytes.rate
454       disk.device.read.bytes.rate_server_cmaui_3_test_nested3:
455       - test_nested3
456       - disk.device.read.bytes.rate_server_cmaui_3
457       disk.device.write.requests.rate_server_cmaui_3_test_nested3:
458       - test_nested3
459       - disk.device.write.requests.rate_server_cmaui_3
460       network.incoming.packets.rate_cmaui_port_222:
461       - cmaui_port_222
462       - network.incoming.packets.rate
463       disk.device.allocation_server_cmaui_2:
464       - server_cmaui_2
465       - disk.device.allocation
466       network.outgoing.bytes_cmaui_port_322_test_nested3:
467       - test_nested3
468       - network.outgoing.bytes_cmaui_port_322
469       host_server_cmaui_2:
470       - server_cmaui_2
471       - host
472       network.outgoing.packets.rate_cmaui_port_322_test_nested3:
473       - test_nested3
474       - network.outgoing.packets.rate_cmaui_port_322
475       disk.iops_server_cmaui_3_test_nested3:
476       - test_nested3
477       - disk.iops_server_cmaui_3
478       attachment_cmaui_port_311_test_nested3:
479       - test_nested3
480       - attachment_cmaui_port_311
481       cpu_util_server_cmaui_3_test_nested3:
482       - test_nested3
483       - cpu_util_server_cmaui_3
484       network.outpoing.packets_cmaui_port_322_test_nested3:
485       - test_nested3
486       - network.outpoing.packets_cmaui_port_322
487       instance_server_cmaui_2:
488       - server_cmaui_2
489       - instance
490       disk.root.size_server_cmaui_3_test_nested3:
491       - test_nested3
492       - disk.root.size_server_cmaui_3
493       vcpus_server_cmaui_3_test_nested3:
494       - test_nested3
495       - vcpus_server_cmaui_3
496       disk.ephemeral.size_server_cmaui_3_test_nested3:
497       - test_nested3
498       - disk.ephemeral.size_server_cmaui_3
499       disk.device.read.requests_server_cmaui_2:
500       - server_cmaui_2
501       - disk.device.read.requests
502       disk.read.bytes.rate_server_cmaui_2:
503       - server_cmaui_2
504       - disk.read.bytes.rate
505       cpu.delta_server_cmaui_2:
506       - server_cmaui_2
507       - cpu.delta
508       disk.device.read.requests.rate_server_cmaui_2:
509       - server_cmaui_2
510       - disk.device.read.requests.rate
511       network.incoming.packets_cmaui_port_322_test_nested3:
512       - test_nested3
513       - network.incoming.packets_cmaui_port_322
514       network.incoming.packets.rate_cmaui_port_322_test_nested3:
515       - test_nested3
516       - network.incoming.packets.rate_cmaui_port_322
517       memory.resident_server_cmaui_2:
518       - server_cmaui_2
519       - memory.resident
520       feature_cmaui_port_211:
521       - cmaui_port_211
522       - feature
523       disk.latency_server_cmaui_2:
524       - server_cmaui_2
525       - disk.latency
526       network.incoming.bytes_cmaui_port_322_test_nested3:
527       - test_nested3
528       - network.incoming.bytes_cmaui_port_322
529       memory.usage_server_cmaui_2:
530       - server_cmaui_2
531       - memory.usage
532     requirements:
533       dependency_server_cmaui_3_test_nested3:
534       - test_nested3
535       - dependency_server_cmaui_3
536       link_cmaui_port_211:
537       - cmaui_port_211
538       - link
539       link_cmaui_port_222:
540       - cmaui_port_222
541       - link
542       dependency_cmaui_port_311_test_nested3:
543       - test_nested3
544       - dependency_cmaui_port_311
545       link_cmaui_port_322_test_nested3:
546       - test_nested3
547       - link_cmaui_port_322
548       local_storage_server_cmaui_2:
549       - server_cmaui_2
550       - local_storage
551       dependency_cmaui_port_211:
552       - cmaui_port_211
553       - dependency
554       dependency_cmaui_port_222:
555       - cmaui_port_222
556       - dependency
557       link_cmaui_port_311_test_nested3:
558       - test_nested3
559       - link_cmaui_port_311
560       dependency_test_nested3:
561       - test_nested3
562       - dependency
563       local_storage_server_cmaui_3_test_nested3:
564       - test_nested3
565       - local_storage_server_cmaui_3
566       dependency_cmaui_port_322_test_nested3:
567       - test_nested3
568       - dependency_cmaui_port_322
569       dependency_server_cmaui_2:
570       - server_cmaui_2
571       - dependency