3506a9046849763f5ed04b0677ea3b0ec65a873f
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_FSB1
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.FSB1:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_FSB1_Internal_mac_address:
15       type: string
16       required: true
17     port_FSB1_Internal_ip_requirements:
18       type: list
19       required: true
20       entry_schema:
21         type: org.openecomp.datatypes.network.IpRequirements
22     port_FSB1_Internal_subnetpoolid:
23       type: string
24       required: true
25     port_FSB1_OAM_subnetpoolid:
26       type: string
27       required: true
28     compute_FSB1_metadata:
29       type: list
30       required: true
31       entry_schema:
32         type: json
33     port_FSB2_Internal2_network_role_tag:
34       type: string
35       required: true
36     port_FSB1_OAM_exCP_naming:
37       type: org.openecomp.datatypes.Naming
38       required: true
39     port_FSB1_OAM_ip_requirements:
40       type: list
41       required: true
42       entry_schema:
43         type: org.openecomp.datatypes.network.IpRequirements
44     port_FSB2_Internal1_exCP_naming:
45       type: org.openecomp.datatypes.Naming
46       required: true
47     vm_flavor_name:
48       type: string
49       required: true
50     port_FSB2_Internal2_exCP_naming:
51       type: org.openecomp.datatypes.Naming
52       required: true
53     port_FSB2_Internal2_network_role:
54       type: string
55       required: true
56     port_FSB2_Internal1_ip_requirements:
57       type: list
58       required: true
59       entry_schema:
60         type: org.openecomp.datatypes.network.IpRequirements
61     port_FSB2_Internal1_network_role:
62       type: string
63       required: true
64     port_FSB1_Internal_network_role_tag:
65       type: string
66       required: true
67     port_FSB2_Internal1_mac_address:
68       type: string
69       required: true
70     port_FSB2_Internal1_vlan_requirements:
71       type: list
72       required: true
73       entry_schema:
74         type: org.openecomp.datatypes.network.VlanRequirements
75     port_FSB1_OAM_vlan_requirements:
76       type: list
77       required: true
78       entry_schema:
79         type: org.openecomp.datatypes.network.VlanRequirements
80     port_FSB1_Internal_vlan_requirements:
81       type: list
82       required: true
83       entry_schema:
84         type: org.openecomp.datatypes.network.VlanRequirements
85     port_FSB1_Internal_exCP_naming:
86       type: org.openecomp.datatypes.Naming
87       required: true
88     port_FSB1_Internal_network_role:
89       type: string
90       required: true
91     port_FSB2_Internal1_network:
92       type: list
93       required: true
94       entry_schema:
95         type: string
96     port_FSB1_OAM_mac_requirements:
97       type: org.openecomp.datatypes.network.MacRequirements
98       required: true
99     port_FSB2_Internal2_mac_address:
100       type: string
101       required: true
102     port_FSB2_Internal2_mac_requirements:
103       type: org.openecomp.datatypes.network.MacRequirements
104       required: true
105     port_FSB2_Internal2_ip_requirements:
106       type: list
107       required: true
108       entry_schema:
109         type: org.openecomp.datatypes.network.IpRequirements
110     compute_FSB1_availability_zone:
111       type: list
112       required: true
113       entry_schema:
114         type: string
115     port_FSB1_Internal_network:
116       type: list
117       required: true
118       entry_schema:
119         type: string
120     index_value:
121       type: integer
122       description: Index value of this substitution service template runtime instance
123       required: false
124       default: 0
125       constraints:
126       - greater_or_equal: 0
127     port_FSB2_Internal2_network:
128       type: list
129       required: true
130       entry_schema:
131         type: string
132     port_FSB1_OAM_order:
133       type: integer
134       required: true
135     port_FSB1_OAM_network:
136       type: list
137       required: true
138       entry_schema:
139         type: string
140     port_FSB2_Internal2_vlan_requirements:
141       type: list
142       required: true
143       entry_schema:
144         type: org.openecomp.datatypes.network.VlanRequirements
145     port_FSB2_Internal1_order:
146       type: integer
147       required: true
148     port_FSB2_Internal2_subnetpoolid:
149       type: string
150       required: true
151     port_FSB1_Internal_order:
152       type: integer
153       required: true
154     port_FSB2_Internal1_network_role_tag:
155       type: string
156       required: true
157     port_FSB2_Internal1_mac_requirements:
158       type: org.openecomp.datatypes.network.MacRequirements
159       required: true
160     port_FSB1_OAM_network_role:
161       type: string
162       required: true
163     port_FSB2_Internal2_order:
164       type: integer
165       required: true
166     port_FSB2_Internal1_subnetpoolid:
167       type: string
168       required: true
169     port_FSB1_OAM_network_role_tag:
170       type: string
171       required: true
172     port_FSB1_Internal_mac_requirements:
173       type: org.openecomp.datatypes.network.MacRequirements
174       required: true
175     compute_FSB1_name:
176       type: list
177       required: true
178       entry_schema:
179         type: string
180     port_FSB1_OAM_fixed_ips:
181       type: list
182       required: true
183       entry_schema:
184         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
185   node_templates:
186     FSB1_FSB1_Internal:
187       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
188       properties:
189         exCP_naming:
190           get_input: port_FSB1_Internal_exCP_naming
191         vlan_requirements:
192           get_input: port_FSB1_Internal_vlan_requirements
193         ip_requirements:
194           get_input: port_FSB1_Internal_ip_requirements
195         network_role_tag:
196           get_input: port_FSB1_Internal_network_role_tag
197         mac_requirements:
198           get_input: port_FSB1_Internal_mac_requirements
199         order:
200           get_input: port_FSB1_Internal_order
201         network_role:
202           get_input: port_FSB1_Internal_network_role
203         subnetpoolid:
204           get_input: port_FSB1_Internal_subnetpoolid
205         network:
206           get_input:
207           - port_FSB1_Internal_network
208           - index_value
209         mac_address:
210           get_input: port_FSB1_Internal_mac_address
211       requirements:
212       - binding:
213           capability: tosca.capabilities.network.Bindable
214           node: FSB1
215           relationship: tosca.relationships.network.BindsTo
216     FSB1_FSB1_OAM:
217       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
218       properties:
219         exCP_naming:
220           get_input: port_FSB1_OAM_exCP_naming
221         vlan_requirements:
222           get_input: port_FSB1_OAM_vlan_requirements
223         ip_requirements:
224           get_input: port_FSB1_OAM_ip_requirements
225         network_role_tag:
226           get_input: port_FSB1_OAM_network_role_tag
227         mac_requirements:
228           get_input: port_FSB1_OAM_mac_requirements
229         order:
230           get_input: port_FSB1_OAM_order
231         network_role:
232           get_input: port_FSB1_OAM_network_role
233         subnetpoolid:
234           get_input: port_FSB1_OAM_subnetpoolid
235         fixed_ips:
236           get_input: port_FSB1_OAM_fixed_ips
237         network:
238           get_input:
239           - port_FSB1_OAM_network
240           - index_value
241       requirements:
242       - binding:
243           capability: tosca.capabilities.network.Bindable
244           node: FSB1
245           relationship: tosca.relationships.network.BindsTo
246     FSB1_FSB2_Internal2:
247       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
248       properties:
249         exCP_naming:
250           get_input: port_FSB2_Internal2_exCP_naming
251         vlan_requirements:
252           get_input: port_FSB2_Internal2_vlan_requirements
253         ip_requirements:
254           get_input: port_FSB2_Internal2_ip_requirements
255         network_role_tag:
256           get_input: port_FSB2_Internal2_network_role_tag
257         mac_requirements:
258           get_input: port_FSB2_Internal2_mac_requirements
259         order:
260           get_input: port_FSB2_Internal2_order
261         network_role:
262           get_input: port_FSB2_Internal2_network_role
263         subnetpoolid:
264           get_input: port_FSB2_Internal2_subnetpoolid
265         network:
266           get_input:
267           - port_FSB2_Internal2_network
268           - index_value
269         mac_address:
270           get_input: port_FSB2_Internal2_mac_address
271       requirements:
272       - binding:
273           capability: tosca.capabilities.network.Bindable
274           node: FSB1
275           relationship: tosca.relationships.network.BindsTo
276     FSB1:
277       type: org.openecomp.resource.vfc.nodes.heat.FSB1
278       properties:
279         availability_zone:
280           get_input:
281           - compute_FSB1_availability_zone
282           - index_value
283         flavor:
284           get_input: vm_flavor_name
285         metadata:
286           get_input:
287           - compute_FSB1_metadata
288           - index_value
289         name:
290           get_input:
291           - compute_FSB1_name
292           - index_value
293       artifacts:
294         nimbus-ethernet-gw:
295           type: tosca.artifacts.Deployment
296           file: ../Artifacts/nimbus-ethernet-gw
297         nimbus-ethernet:
298           type: tosca.artifacts.Deployment
299           file: ../Artifacts/nimbus-ethernet
300     FSB1_FSB2_Internal1:
301       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
302       properties:
303         exCP_naming:
304           get_input: port_FSB2_Internal1_exCP_naming
305         vlan_requirements:
306           get_input: port_FSB2_Internal1_vlan_requirements
307         ip_requirements:
308           get_input: port_FSB2_Internal1_ip_requirements
309         network_role_tag:
310           get_input: port_FSB2_Internal1_network_role_tag
311         mac_requirements:
312           get_input: port_FSB2_Internal1_mac_requirements
313         order:
314           get_input: port_FSB2_Internal1_order
315         network_role:
316           get_input: port_FSB2_Internal1_network_role
317         subnetpoolid:
318           get_input: port_FSB2_Internal1_subnetpoolid
319         network:
320           get_input:
321           - port_FSB2_Internal1_network
322           - index_value
323         mac_address:
324           get_input: port_FSB2_Internal1_mac_address
325       requirements:
326       - binding:
327           capability: tosca.capabilities.network.Bindable
328           node: FSB1
329           relationship: tosca.relationships.network.BindsTo
330   substitution_mappings:
331     node_type: org.openecomp.resource.abstract.nodes.FSB1
332     capabilities:
333       network.incoming.packets_FSB1_FSB2_Internal2:
334       - FSB1_FSB2_Internal2
335       - network.incoming.packets
336       network.incoming.bytes.rate_FSB1_FSB1_OAM:
337       - FSB1_FSB1_OAM
338       - network.incoming.bytes.rate
339       network.incoming.packets_FSB1_FSB2_Internal1:
340       - FSB1_FSB2_Internal1
341       - network.incoming.packets
342       network.outgoing.bytes_FSB1_FSB1_OAM:
343       - FSB1_FSB1_OAM
344       - network.outgoing.bytes
345       disk.capacity_FSB1:
346       - FSB1
347       - disk.capacity
348       disk.read.bytes.rate_FSB1:
349       - FSB1
350       - disk.read.bytes.rate
351       disk.device.latency_FSB1:
352       - FSB1
353       - disk.device.latency
354       disk.allocation_FSB1:
355       - FSB1
356       - disk.allocation
357       disk.read.bytes_FSB1:
358       - FSB1
359       - disk.read.bytes
360       disk.device.capacity_FSB1:
361       - FSB1
362       - disk.device.capacity
363       cpu_util_FSB1:
364       - FSB1
365       - cpu_util
366       disk.device.write.requests.rate_FSB1:
367       - FSB1
368       - disk.device.write.requests.rate
369       network.outgoing.bytes.rate_FSB1_FSB1_OAM:
370       - FSB1_FSB1_OAM
371       - network.outgoing.bytes.rate
372       disk.root.size_FSB1:
373       - FSB1
374       - disk.root.size
375       feature_FSB1:
376       - FSB1
377       - feature
378       network.outgoing.bytes_FSB1_FSB2_Internal1:
379       - FSB1_FSB2_Internal1
380       - network.outgoing.bytes
381       network.incoming.packets.rate_FSB1_FSB1_Internal:
382       - FSB1_FSB1_Internal
383       - network.incoming.packets.rate
384       network.outgoing.bytes_FSB1_FSB1_Internal:
385       - FSB1_FSB1_Internal
386       - network.outgoing.bytes
387       memory.resident_FSB1:
388       - FSB1
389       - memory.resident
390       network.incoming.packets.rate_FSB1_FSB1_OAM:
391       - FSB1_FSB1_OAM
392       - network.incoming.packets.rate
393       cpu_FSB1:
394       - FSB1
395       - cpu
396       binding_FSB1_FSB2_Internal1:
397       - FSB1_FSB2_Internal1
398       - binding
399       disk.write.requests.rate_FSB1:
400       - FSB1
401       - disk.write.requests.rate
402       feature_FSB1_FSB1_OAM:
403       - FSB1_FSB1_OAM
404       - feature
405       binding_FSB1_FSB2_Internal2:
406       - FSB1_FSB2_Internal2
407       - binding
408       instance_FSB1:
409       - FSB1
410       - instance
411       disk.device.read.bytes.rate_FSB1:
412       - FSB1
413       - disk.device.read.bytes.rate
414       attachment_FSB1_FSB2_Internal2:
415       - FSB1_FSB2_Internal2
416       - attachment
417       attachment_FSB1_FSB2_Internal1:
418       - FSB1_FSB2_Internal1
419       - attachment
420       cpu.delta_FSB1:
421       - FSB1
422       - cpu.delta
423       disk.write.bytes_FSB1:
424       - FSB1
425       - disk.write.bytes
426       binding_FSB1_FSB1_Internal:
427       - FSB1_FSB1_Internal
428       - binding
429       disk.device.read.requests.rate_FSB1:
430       - FSB1
431       - disk.device.read.requests.rate
432       feature_FSB1_FSB1_Internal:
433       - FSB1_FSB1_Internal
434       - feature
435       disk.device.read.requests_FSB1:
436       - FSB1
437       - disk.device.read.requests
438       network.incoming.packets.rate_FSB1_FSB2_Internal2:
439       - FSB1_FSB2_Internal2
440       - network.incoming.packets.rate
441       disk.ephemeral.size_FSB1:
442       - FSB1
443       - disk.ephemeral.size
444       binding_FSB1:
445       - FSB1
446       - binding
447       disk.device.write.bytes_FSB1:
448       - FSB1
449       - disk.device.write.bytes
450       network.incoming.packets.rate_FSB1_FSB2_Internal1:
451       - FSB1_FSB2_Internal1
452       - network.incoming.packets.rate
453       network.outgoing.packets.rate_FSB1_FSB1_OAM:
454       - FSB1_FSB1_OAM
455       - network.outgoing.packets.rate
456       binding_FSB1_FSB1_OAM:
457       - FSB1_FSB1_OAM
458       - binding
459       attachment_FSB1_FSB1_OAM:
460       - FSB1_FSB1_OAM
461       - attachment
462       network.incoming.bytes_FSB1_FSB2_Internal2:
463       - FSB1_FSB2_Internal2
464       - network.incoming.bytes
465       network.incoming.packets_FSB1_FSB1_Internal:
466       - FSB1_FSB1_Internal
467       - network.incoming.packets
468       network.incoming.bytes_FSB1_FSB2_Internal1:
469       - FSB1_FSB2_Internal1
470       - network.incoming.bytes
471       attachment_FSB1_FSB1_Internal:
472       - FSB1_FSB1_Internal
473       - attachment
474       network.incoming.bytes_FSB1_FSB1_OAM:
475       - FSB1_FSB1_OAM
476       - network.incoming.bytes
477       memory_FSB1:
478       - FSB1
479       - memory
480       network.incoming.packets_FSB1_FSB1_OAM:
481       - FSB1_FSB1_OAM
482       - network.incoming.packets
483       network.outpoing.packets_FSB1_FSB1_Internal:
484       - FSB1_FSB1_Internal
485       - network.outpoing.packets
486       disk.device.read.bytes_FSB1:
487       - FSB1
488       - disk.device.read.bytes
489       disk.device.usage_FSB1:
490       - FSB1
491       - disk.device.usage
492       disk.write.bytes.rate_FSB1:
493       - FSB1
494       - disk.write.bytes.rate
495       scalable_FSB1:
496       - FSB1
497       - scalable
498       disk.usage_FSB1:
499       - FSB1
500       - disk.usage
501       network.outpoing.packets_FSB1_FSB1_OAM:
502       - FSB1_FSB1_OAM
503       - network.outpoing.packets
504       host_FSB1:
505       - FSB1
506       - host
507       disk.device.allocation_FSB1:
508       - FSB1
509       - disk.device.allocation
510       os_FSB1:
511       - FSB1
512       - os
513       vcpus_FSB1:
514       - FSB1
515       - vcpus
516       disk.write.requests_FSB1:
517       - FSB1
518       - disk.write.requests
519       network.incoming.bytes.rate_FSB1_FSB2_Internal2:
520       - FSB1_FSB2_Internal2
521       - network.incoming.bytes.rate
522       network.incoming.bytes.rate_FSB1_FSB2_Internal1:
523       - FSB1_FSB2_Internal1
524       - network.incoming.bytes.rate
525       network.incoming.bytes_FSB1_FSB1_Internal:
526       - FSB1_FSB1_Internal
527       - network.incoming.bytes
528       disk.device.write.bytes.rate_FSB1:
529       - FSB1
530       - disk.device.write.bytes.rate
531       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
532       - FSB1_FSB1_Internal
533       - network.outgoing.bytes.rate
534       endpoint_FSB1:
535       - FSB1
536       - endpoint
537       network.outgoing.bytes_FSB1_FSB2_Internal2:
538       - FSB1_FSB2_Internal2
539       - network.outgoing.bytes
540       network.outgoing.packets.rate_FSB1_FSB1_Internal:
541       - FSB1_FSB1_Internal
542       - network.outgoing.packets.rate
543       network.outgoing.packets.rate_FSB1_FSB2_Internal2:
544       - FSB1_FSB2_Internal2
545       - network.outgoing.packets.rate
546       network.incoming.bytes.rate_FSB1_FSB1_Internal:
547       - FSB1_FSB1_Internal
548       - network.incoming.bytes.rate
549       network.outgoing.packets.rate_FSB1_FSB2_Internal1:
550       - FSB1_FSB2_Internal1
551       - network.outgoing.packets.rate
552       disk.latency_FSB1:
553       - FSB1
554       - disk.latency
555       network.outpoing.packets_FSB1_FSB2_Internal1:
556       - FSB1_FSB2_Internal1
557       - network.outpoing.packets
558       network.outpoing.packets_FSB1_FSB2_Internal2:
559       - FSB1_FSB2_Internal2
560       - network.outpoing.packets
561       memory.usage_FSB1:
562       - FSB1
563       - memory.usage
564       network.outgoing.bytes.rate_FSB1_FSB2_Internal1:
565       - FSB1_FSB2_Internal1
566       - network.outgoing.bytes.rate
567       network.outgoing.bytes.rate_FSB1_FSB2_Internal2:
568       - FSB1_FSB2_Internal2
569       - network.outgoing.bytes.rate
570       disk.read.requests_FSB1:
571       - FSB1
572       - disk.read.requests
573       disk.device.write.requests_FSB1:
574       - FSB1
575       - disk.device.write.requests
576       feature_FSB1_FSB2_Internal1:
577       - FSB1_FSB2_Internal1
578       - feature
579       feature_FSB1_FSB2_Internal2:
580       - FSB1_FSB2_Internal2
581       - feature
582       disk.iops_FSB1:
583       - FSB1
584       - disk.iops
585       disk.device.iops_FSB1:
586       - FSB1
587       - disk.device.iops
588     requirements:
589       link_FSB1_FSB1_OAM:
590       - FSB1_FSB1_OAM
591       - link
592       dependency_FSB1_FSB1_OAM:
593       - FSB1_FSB1_OAM
594       - dependency
595       dependency_FSB1:
596       - FSB1
597       - dependency
598       dependency_FSB1_FSB1_Internal:
599       - FSB1_FSB1_Internal
600       - dependency
601       link_FSB1_FSB1_Internal:
602       - FSB1_FSB1_Internal
603       - link
604       link_FSB1_FSB2_Internal2:
605       - FSB1_FSB2_Internal2
606       - link
607       local_storage_FSB1:
608       - FSB1
609       - local_storage
610       dependency_FSB1_FSB2_Internal2:
611       - FSB1_FSB2_Internal2
612       - dependency
613       link_FSB1_FSB2_Internal1:
614       - FSB1_FSB2_Internal1
615       - link
616       dependency_FSB1_FSB2_Internal1:
617       - FSB1_FSB2_Internal1
618       - dependency