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