583f92a2e658d6b518dea57dd4493377cf2d39d1
[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_FSB_OAM_network_role_tag:
18       type: string
19       required: true
20     port_FSB1_Internal_ip_requirements:
21       type: list
22       required: true
23       entry_schema:
24         type: org.openecomp.datatypes.network.IpRequirements
25     port_FSB1_Internal_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_FSB2_Internal1_exCP_naming:
37       type: org.openecomp.datatypes.Naming
38       required: true
39     vm_flavor_name:
40       type: string
41       required: true
42     port_FSB_OAM_vlan_requirements:
43       type: list
44       required: true
45       entry_schema:
46         type: org.openecomp.datatypes.network.VlanRequirements
47     port_FSB2_Internal2_exCP_naming:
48       type: org.openecomp.datatypes.Naming
49       required: true
50     port_FSB2_Internal2_network_role:
51       type: string
52       required: true
53     port_FSB2_Internal1_ip_requirements:
54       type: list
55       required: true
56       entry_schema:
57         type: org.openecomp.datatypes.network.IpRequirements
58     port_FSB2_Internal1_network_role:
59       type: string
60       required: true
61     port_FSB_OAM_ip_requirements:
62       type: list
63       required: true
64       entry_schema:
65         type: org.openecomp.datatypes.network.IpRequirements
66     port_FSB1_Internal_network_role_tag:
67       type: string
68       required: true
69     port_FSB2_Internal1_mac_address:
70       type: string
71       required: true
72     port_FSB2_Internal1_vlan_requirements:
73       type: list
74       required: true
75       entry_schema:
76         type: org.openecomp.datatypes.network.VlanRequirements
77     port_FSB1_Internal_vlan_requirements:
78       type: list
79       required: true
80       entry_schema:
81         type: org.openecomp.datatypes.network.VlanRequirements
82     port_FSB1_Internal_exCP_naming:
83       type: org.openecomp.datatypes.Naming
84       required: true
85     port_FSB_OAM_network_role:
86       type: string
87       required: true
88     port_FSB_OAM_network:
89       type: list
90       required: true
91       entry_schema:
92         type: string
93     port_FSB1_Internal_network_role:
94       type: string
95       required: true
96     port_FSB2_Internal1_network:
97       type: list
98       required: true
99       entry_schema:
100         type: string
101     port_FSB2_Internal2_mac_address:
102       type: string
103       required: true
104     port_FSB2_Internal2_mac_requirements:
105       type: org.openecomp.datatypes.network.MacRequirements
106       required: true
107     port_FSB_OAM_subnetpoolid:
108       type: string
109       required: true
110     port_FSB2_Internal2_ip_requirements:
111       type: list
112       required: true
113       entry_schema:
114         type: org.openecomp.datatypes.network.IpRequirements
115     port_FSB_OAM_mac_requirements:
116       type: org.openecomp.datatypes.network.MacRequirements
117       required: true
118     compute_FSB1_availability_zone:
119       type: list
120       required: true
121       entry_schema:
122         type: string
123     port_FSB1_Internal_network:
124       type: list
125       required: true
126       entry_schema:
127         type: string
128     index_value:
129       type: integer
130       description: Index value of this substitution service template runtime instance
131       required: false
132       default: 0
133       constraints:
134       - greater_or_equal: 0
135     port_FSB_OAM_order:
136       type: integer
137       required: true
138     port_FSB2_Internal2_network:
139       type: list
140       required: true
141       entry_schema:
142         type: string
143     port_FSB2_Internal2_vlan_requirements:
144       type: list
145       required: true
146       entry_schema:
147         type: org.openecomp.datatypes.network.VlanRequirements
148     port_FSB2_Internal1_order:
149       type: integer
150       required: true
151     port_FSB2_Internal2_subnetpoolid:
152       type: string
153       required: true
154     port_FSB1_Internal_order:
155       type: integer
156       required: true
157     port_FSB2_Internal1_network_role_tag:
158       type: string
159       required: true
160     port_FSB2_Internal1_mac_requirements:
161       type: org.openecomp.datatypes.network.MacRequirements
162       required: true
163     port_FSB_OAM_fixed_ips:
164       type: list
165       required: true
166       entry_schema:
167         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
168     port_FSB2_Internal2_order:
169       type: integer
170       required: true
171     port_FSB2_Internal1_subnetpoolid:
172       type: string
173       required: true
174     port_FSB1_Internal_mac_requirements:
175       type: org.openecomp.datatypes.network.MacRequirements
176       required: true
177     port_FSB_OAM_exCP_naming:
178       type: org.openecomp.datatypes.Naming
179       required: true
180     compute_FSB1_name:
181       type: list
182       required: true
183       entry_schema:
184         type: string
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_FSB_OAM:
217       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
218       properties:
219         exCP_naming:
220           get_input: port_FSB_OAM_exCP_naming
221         vlan_requirements:
222           get_input: port_FSB_OAM_vlan_requirements
223         ip_requirements:
224           get_input: port_FSB_OAM_ip_requirements
225         network_role_tag:
226           get_input: port_FSB_OAM_network_role_tag
227         mac_requirements:
228           get_input: port_FSB_OAM_mac_requirements
229         order:
230           get_input: port_FSB_OAM_order
231         network_role:
232           get_input: port_FSB_OAM_network_role
233         subnetpoolid:
234           get_input: port_FSB_OAM_subnetpoolid
235         fixed_ips:
236           get_input: port_FSB_OAM_fixed_ips
237         network:
238           get_input:
239           - port_FSB_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.outgoing.packets.rate_FSB1_FSB_OAM:
334       - FSB1_FSB_OAM
335       - network.outgoing.packets.rate
336       network.incoming.packets_FSB1_FSB2_Internal2:
337       - FSB1_FSB2_Internal2
338       - network.incoming.packets
339       network.incoming.packets_FSB1_FSB2_Internal1:
340       - FSB1_FSB2_Internal1
341       - network.incoming.packets
342       attachment_FSB1_FSB_OAM:
343       - FSB1_FSB_OAM
344       - attachment
345       binding_FSB1_FSB_OAM:
346       - FSB1_FSB_OAM
347       - binding
348       disk.capacity_FSB1:
349       - FSB1
350       - disk.capacity
351       disk.read.bytes.rate_FSB1:
352       - FSB1
353       - disk.read.bytes.rate
354       disk.device.latency_FSB1:
355       - FSB1
356       - disk.device.latency
357       disk.allocation_FSB1:
358       - FSB1
359       - disk.allocation
360       disk.read.bytes_FSB1:
361       - FSB1
362       - disk.read.bytes
363       disk.device.capacity_FSB1:
364       - FSB1
365       - disk.device.capacity
366       cpu_util_FSB1:
367       - FSB1
368       - cpu_util
369       disk.device.write.requests.rate_FSB1:
370       - FSB1
371       - disk.device.write.requests.rate
372       disk.root.size_FSB1:
373       - FSB1
374       - disk.root.size
375       network.outgoing.bytes.rate_FSB1_FSB_OAM:
376       - FSB1_FSB_OAM
377       - network.outgoing.bytes.rate
378       feature_FSB1:
379       - FSB1
380       - feature
381       network.outgoing.bytes_FSB1_FSB2_Internal1:
382       - FSB1_FSB2_Internal1
383       - network.outgoing.bytes
384       network.incoming.packets.rate_FSB1_FSB1_Internal:
385       - FSB1_FSB1_Internal
386       - network.incoming.packets.rate
387       network.outgoing.bytes_FSB1_FSB1_Internal:
388       - FSB1_FSB1_Internal
389       - network.outgoing.bytes
390       feature_FSB1_FSB_OAM:
391       - FSB1_FSB_OAM
392       - feature
393       memory.resident_FSB1:
394       - FSB1
395       - memory.resident
396       cpu_FSB1:
397       - FSB1
398       - cpu
399       binding_FSB1_FSB2_Internal1:
400       - FSB1_FSB2_Internal1
401       - binding
402       disk.write.requests.rate_FSB1:
403       - FSB1
404       - disk.write.requests.rate
405       binding_FSB1_FSB2_Internal2:
406       - FSB1_FSB2_Internal2
407       - binding
408       instance_FSB1:
409       - FSB1
410       - instance
411       network.incoming.bytes_FSB1_FSB_OAM:
412       - FSB1_FSB_OAM
413       - network.incoming.bytes
414       disk.device.read.bytes.rate_FSB1:
415       - FSB1
416       - disk.device.read.bytes.rate
417       attachment_FSB1_FSB2_Internal2:
418       - FSB1_FSB2_Internal2
419       - attachment
420       attachment_FSB1_FSB2_Internal1:
421       - FSB1_FSB2_Internal1
422       - attachment
423       cpu.delta_FSB1:
424       - FSB1
425       - cpu.delta
426       disk.write.bytes_FSB1:
427       - FSB1
428       - disk.write.bytes
429       binding_FSB1_FSB1_Internal:
430       - FSB1_FSB1_Internal
431       - binding
432       disk.device.read.requests.rate_FSB1:
433       - FSB1
434       - disk.device.read.requests.rate
435       feature_FSB1_FSB1_Internal:
436       - FSB1_FSB1_Internal
437       - feature
438       disk.device.read.requests_FSB1:
439       - FSB1
440       - disk.device.read.requests
441       network.incoming.packets.rate_FSB1_FSB2_Internal2:
442       - FSB1_FSB2_Internal2
443       - network.incoming.packets.rate
444       disk.ephemeral.size_FSB1:
445       - FSB1
446       - disk.ephemeral.size
447       binding_FSB1:
448       - FSB1
449       - binding
450       disk.device.write.bytes_FSB1:
451       - FSB1
452       - disk.device.write.bytes
453       network.incoming.packets.rate_FSB1_FSB2_Internal1:
454       - FSB1_FSB2_Internal1
455       - network.incoming.packets.rate
456       network.outpoing.packets_FSB1_FSB_OAM:
457       - FSB1_FSB_OAM
458       - network.outpoing.packets
459       network.incoming.bytes_FSB1_FSB2_Internal2:
460       - FSB1_FSB2_Internal2
461       - network.incoming.bytes
462       network.incoming.packets_FSB1_FSB1_Internal:
463       - FSB1_FSB1_Internal
464       - network.incoming.packets
465       network.incoming.bytes_FSB1_FSB2_Internal1:
466       - FSB1_FSB2_Internal1
467       - network.incoming.bytes
468       attachment_FSB1_FSB1_Internal:
469       - FSB1_FSB1_Internal
470       - attachment
471       memory_FSB1:
472       - FSB1
473       - memory
474       network.incoming.bytes.rate_FSB1_FSB_OAM:
475       - FSB1_FSB_OAM
476       - network.incoming.bytes.rate
477       network.outpoing.packets_FSB1_FSB1_Internal:
478       - FSB1_FSB1_Internal
479       - network.outpoing.packets
480       network.outgoing.bytes_FSB1_FSB_OAM:
481       - FSB1_FSB_OAM
482       - network.outgoing.bytes
483       disk.device.read.bytes_FSB1:
484       - FSB1
485       - disk.device.read.bytes
486       disk.device.usage_FSB1:
487       - FSB1
488       - disk.device.usage
489       disk.write.bytes.rate_FSB1:
490       - FSB1
491       - disk.write.bytes.rate
492       scalable_FSB1:
493       - FSB1
494       - scalable
495       disk.usage_FSB1:
496       - FSB1
497       - disk.usage
498       host_FSB1:
499       - FSB1
500       - host
501       disk.device.allocation_FSB1:
502       - FSB1
503       - disk.device.allocation
504       os_FSB1:
505       - FSB1
506       - os
507       vcpus_FSB1:
508       - FSB1
509       - vcpus
510       disk.write.requests_FSB1:
511       - FSB1
512       - disk.write.requests
513       network.incoming.packets.rate_FSB1_FSB_OAM:
514       - FSB1_FSB_OAM
515       - network.incoming.packets.rate
516       network.incoming.bytes.rate_FSB1_FSB2_Internal2:
517       - FSB1_FSB2_Internal2
518       - network.incoming.bytes.rate
519       network.incoming.bytes.rate_FSB1_FSB2_Internal1:
520       - FSB1_FSB2_Internal1
521       - network.incoming.bytes.rate
522       network.incoming.bytes_FSB1_FSB1_Internal:
523       - FSB1_FSB1_Internal
524       - network.incoming.bytes
525       disk.device.write.bytes.rate_FSB1:
526       - FSB1
527       - disk.device.write.bytes.rate
528       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
529       - FSB1_FSB1_Internal
530       - network.outgoing.bytes.rate
531       endpoint_FSB1:
532       - FSB1
533       - endpoint
534       network.outgoing.bytes_FSB1_FSB2_Internal2:
535       - FSB1_FSB2_Internal2
536       - network.outgoing.bytes
537       network.outgoing.packets.rate_FSB1_FSB1_Internal:
538       - FSB1_FSB1_Internal
539       - network.outgoing.packets.rate
540       network.outgoing.packets.rate_FSB1_FSB2_Internal2:
541       - FSB1_FSB2_Internal2
542       - network.outgoing.packets.rate
543       network.incoming.bytes.rate_FSB1_FSB1_Internal:
544       - FSB1_FSB1_Internal
545       - network.incoming.bytes.rate
546       network.outgoing.packets.rate_FSB1_FSB2_Internal1:
547       - FSB1_FSB2_Internal1
548       - network.outgoing.packets.rate
549       disk.latency_FSB1:
550       - FSB1
551       - disk.latency
552       network.outpoing.packets_FSB1_FSB2_Internal1:
553       - FSB1_FSB2_Internal1
554       - network.outpoing.packets
555       network.outpoing.packets_FSB1_FSB2_Internal2:
556       - FSB1_FSB2_Internal2
557       - network.outpoing.packets
558       memory.usage_FSB1:
559       - FSB1
560       - memory.usage
561       network.outgoing.bytes.rate_FSB1_FSB2_Internal1:
562       - FSB1_FSB2_Internal1
563       - network.outgoing.bytes.rate
564       network.outgoing.bytes.rate_FSB1_FSB2_Internal2:
565       - FSB1_FSB2_Internal2
566       - network.outgoing.bytes.rate
567       disk.read.requests_FSB1:
568       - FSB1
569       - disk.read.requests
570       network.incoming.packets_FSB1_FSB_OAM:
571       - FSB1_FSB_OAM
572       - network.incoming.packets
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       dependency_FSB1:
590       - FSB1
591       - dependency
592       dependency_FSB1_FSB1_Internal:
593       - FSB1_FSB1_Internal
594       - dependency
595       link_FSB1_FSB1_Internal:
596       - FSB1_FSB1_Internal
597       - link
598       link_FSB1_FSB2_Internal2:
599       - FSB1_FSB2_Internal2
600       - link
601       local_storage_FSB1:
602       - FSB1
603       - local_storage
604       dependency_FSB1_FSB_OAM:
605       - FSB1_FSB_OAM
606       - dependency
607       link_FSB1_FSB_OAM:
608       - FSB1_FSB_OAM
609       - link
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