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