275c862d1c20f17b17b3af58f110371677de3dab
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_FSB1_2
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_Internal_vlan_requirements:
34       type: list
35       required: true
36       entry_schema:
37         type: org.openecomp.datatypes.network.VlanRequirements
38     port_FSB2_Internal_order:
39       type: integer
40       required: true
41     port_FSB1_OAM_exCP_naming:
42       type: org.openecomp.datatypes.Naming
43       required: true
44     port_FSB1_OAM_ip_requirements:
45       type: list
46       required: true
47       entry_schema:
48         type: org.openecomp.datatypes.network.IpRequirements
49     port_FSB2_Internal_ip_requirements:
50       type: list
51       required: true
52       entry_schema:
53         type: org.openecomp.datatypes.network.IpRequirements
54     vm_flavor_name:
55       type: string
56       required: true
57     port_FSB2_Internal_network_role:
58       type: string
59       required: true
60     port_FSB1_Internal_network_role_tag:
61       type: string
62       required: true
63     port_FSB1_OAM_vlan_requirements:
64       type: list
65       required: true
66       entry_schema:
67         type: org.openecomp.datatypes.network.VlanRequirements
68     port_FSB1_Internal_vlan_requirements:
69       type: list
70       required: true
71       entry_schema:
72         type: org.openecomp.datatypes.network.VlanRequirements
73     port_FSB2_Internal_subnetpoolid:
74       type: string
75       required: true
76     port_FSB1_Internal_exCP_naming:
77       type: org.openecomp.datatypes.Naming
78       required: true
79     port_FSB1_Internal_network_role:
80       type: string
81       required: true
82     port_FSB1_OAM_mac_requirements:
83       type: org.openecomp.datatypes.network.MacRequirements
84       required: true
85     compute_FSB1_availability_zone:
86       type: list
87       required: true
88       entry_schema:
89         type: string
90     port_FSB1_Internal_network:
91       type: list
92       required: true
93       entry_schema:
94         type: string
95     index_value:
96       type: integer
97       description: Index value of this substitution service template runtime instance
98       required: false
99       default: 0
100       constraints:
101       - greater_or_equal: 0
102     port_FSB1_OAM_order:
103       type: integer
104       required: true
105     port_FSB2_Internal_mac_requirements:
106       type: org.openecomp.datatypes.network.MacRequirements
107       required: true
108     port_FSB2_Internal_mac_address:
109       type: string
110       required: true
111     port_FSB1_OAM_network:
112       type: list
113       required: true
114       entry_schema:
115         type: string
116     port_FSB2_Internal_exCP_naming:
117       type: org.openecomp.datatypes.Naming
118       required: true
119     port_FSB1_Internal_order:
120       type: integer
121       required: true
122     port_FSB1_OAM_network_role:
123       type: string
124       required: true
125     port_FSB2_Internal_network:
126       type: list
127       required: true
128       entry_schema:
129         type: string
130     port_FSB1_OAM_network_role_tag:
131       type: string
132       required: true
133     port_FSB1_Internal_mac_requirements:
134       type: org.openecomp.datatypes.network.MacRequirements
135       required: true
136     compute_FSB1_name:
137       type: list
138       required: true
139       entry_schema:
140         type: string
141     port_FSB1_OAM_fixed_ips:
142       type: list
143       required: true
144       entry_schema:
145         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
146     port_FSB2_Internal_network_role_tag:
147       type: string
148       required: true
149   node_templates:
150     FSB1_FSB1_Internal:
151       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
152       properties:
153         exCP_naming:
154           get_input: port_FSB1_Internal_exCP_naming
155         vlan_requirements:
156           get_input: port_FSB1_Internal_vlan_requirements
157         ip_requirements:
158           get_input: port_FSB1_Internal_ip_requirements
159         network_role_tag:
160           get_input: port_FSB1_Internal_network_role_tag
161         mac_requirements:
162           get_input: port_FSB1_Internal_mac_requirements
163         order:
164           get_input: port_FSB1_Internal_order
165         network_role:
166           get_input: port_FSB1_Internal_network_role
167         subnetpoolid:
168           get_input: port_FSB1_Internal_subnetpoolid
169         network:
170           get_input:
171           - port_FSB1_Internal_network
172           - index_value
173         mac_address:
174           get_input: port_FSB1_Internal_mac_address
175       requirements:
176       - binding:
177           capability: tosca.capabilities.network.Bindable
178           node: FSB1
179           relationship: tosca.relationships.network.BindsTo
180     FSB1_FSB2_Internal:
181       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
182       properties:
183         exCP_naming:
184           get_input: port_FSB2_Internal_exCP_naming
185         vlan_requirements:
186           get_input: port_FSB2_Internal_vlan_requirements
187         ip_requirements:
188           get_input: port_FSB2_Internal_ip_requirements
189         network_role_tag:
190           get_input: port_FSB2_Internal_network_role_tag
191         mac_requirements:
192           get_input: port_FSB2_Internal_mac_requirements
193         order:
194           get_input: port_FSB2_Internal_order
195         network_role:
196           get_input: port_FSB2_Internal_network_role
197         subnetpoolid:
198           get_input: port_FSB2_Internal_subnetpoolid
199         network:
200           get_input:
201           - port_FSB2_Internal_network
202           - index_value
203         mac_address:
204           get_input: port_FSB2_Internal_mac_address
205       requirements:
206       - binding:
207           capability: tosca.capabilities.network.Bindable
208           node: FSB1
209           relationship: tosca.relationships.network.BindsTo
210     FSB1_FSB1_OAM:
211       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
212       properties:
213         exCP_naming:
214           get_input: port_FSB1_OAM_exCP_naming
215         vlan_requirements:
216           get_input: port_FSB1_OAM_vlan_requirements
217         ip_requirements:
218           get_input: port_FSB1_OAM_ip_requirements
219         network_role_tag:
220           get_input: port_FSB1_OAM_network_role_tag
221         mac_requirements:
222           get_input: port_FSB1_OAM_mac_requirements
223         order:
224           get_input: port_FSB1_OAM_order
225         network_role:
226           get_input: port_FSB1_OAM_network_role
227         subnetpoolid:
228           get_input: port_FSB1_OAM_subnetpoolid
229         fixed_ips:
230           get_input: port_FSB1_OAM_fixed_ips
231         network:
232           get_input:
233           - port_FSB1_OAM_network
234           - index_value
235       requirements:
236       - binding:
237           capability: tosca.capabilities.network.Bindable
238           node: FSB1
239           relationship: tosca.relationships.network.BindsTo
240     FSB1:
241       type: org.openecomp.resource.vfc.nodes.heat.FSB1
242       properties:
243         availability_zone:
244           get_input:
245           - compute_FSB1_availability_zone
246           - index_value
247         flavor:
248           get_input: vm_flavor_name
249         metadata:
250           get_input:
251           - compute_FSB1_metadata
252           - index_value
253         name:
254           get_input:
255           - compute_FSB1_name
256           - index_value
257       artifacts:
258         nimbus-ethernet-gw:
259           type: tosca.artifacts.Deployment
260           file: ../Artifacts/nimbus-ethernet-gw
261         nimbus-ethernet:
262           type: tosca.artifacts.Deployment
263           file: ../Artifacts/nimbus-ethernet
264   substitution_mappings:
265     node_type: org.openecomp.resource.abstract.nodes.FSB1
266     capabilities:
267       network.incoming.bytes.rate_FSB1_FSB1_OAM:
268       - FSB1_FSB1_OAM
269       - network.incoming.bytes.rate
270       network.outgoing.bytes_FSB1_FSB1_OAM:
271       - FSB1_FSB1_OAM
272       - network.outgoing.bytes
273       binding_FSB1_FSB2_Internal:
274       - FSB1_FSB2_Internal
275       - binding
276       disk.capacity_FSB1:
277       - FSB1
278       - disk.capacity
279       disk.read.bytes.rate_FSB1:
280       - FSB1
281       - disk.read.bytes.rate
282       disk.device.latency_FSB1:
283       - FSB1
284       - disk.device.latency
285       disk.allocation_FSB1:
286       - FSB1
287       - disk.allocation
288       disk.read.bytes_FSB1:
289       - FSB1
290       - disk.read.bytes
291       disk.device.capacity_FSB1:
292       - FSB1
293       - disk.device.capacity
294       cpu_util_FSB1:
295       - FSB1
296       - cpu_util
297       disk.device.write.requests.rate_FSB1:
298       - FSB1
299       - disk.device.write.requests.rate
300       network.outgoing.bytes.rate_FSB1_FSB1_OAM:
301       - FSB1_FSB1_OAM
302       - network.outgoing.bytes.rate
303       disk.root.size_FSB1:
304       - FSB1
305       - disk.root.size
306       forwarder_FSB1_FSB2_Internal:
307       - FSB1_FSB2_Internal
308       - forwarder
309       feature_FSB1:
310       - FSB1
311       - feature
312       network.incoming.packets.rate_FSB1_FSB1_Internal:
313       - FSB1_FSB1_Internal
314       - network.incoming.packets.rate
315       network.outgoing.bytes_FSB1_FSB1_Internal:
316       - FSB1_FSB1_Internal
317       - network.outgoing.bytes
318       attachment_FSB1_FSB2_Internal:
319       - FSB1_FSB2_Internal
320       - attachment
321       feature_FSB1_FSB2_Internal:
322       - FSB1_FSB2_Internal
323       - feature
324       network.incoming.packets_FSB1_FSB2_Internal:
325       - FSB1_FSB2_Internal
326       - network.incoming.packets
327       forwarder_FSB1_FSB1_OAM:
328       - FSB1_FSB1_OAM
329       - forwarder
330       memory.resident_FSB1:
331       - FSB1
332       - memory.resident
333       network.incoming.packets.rate_FSB1_FSB1_OAM:
334       - FSB1_FSB1_OAM
335       - network.incoming.packets.rate
336       forwarder_FSB1_FSB1_Internal:
337       - FSB1_FSB1_Internal
338       - forwarder
339       network.incoming.packets.rate_FSB1_FSB2_Internal:
340       - FSB1_FSB2_Internal
341       - network.incoming.packets.rate
342       cpu_FSB1:
343       - FSB1
344       - cpu
345       disk.write.requests.rate_FSB1:
346       - FSB1
347       - disk.write.requests.rate
348       feature_FSB1_FSB1_OAM:
349       - FSB1_FSB1_OAM
350       - feature
351       instance_FSB1:
352       - FSB1
353       - instance
354       disk.device.read.bytes.rate_FSB1:
355       - FSB1
356       - disk.device.read.bytes.rate
357       cpu.delta_FSB1:
358       - FSB1
359       - cpu.delta
360       disk.write.bytes_FSB1:
361       - FSB1
362       - disk.write.bytes
363       binding_FSB1_FSB1_Internal:
364       - FSB1_FSB1_Internal
365       - binding
366       disk.device.read.requests.rate_FSB1:
367       - FSB1
368       - disk.device.read.requests.rate
369       feature_FSB1_FSB1_Internal:
370       - FSB1_FSB1_Internal
371       - feature
372       disk.device.read.requests_FSB1:
373       - FSB1
374       - disk.device.read.requests
375       disk.ephemeral.size_FSB1:
376       - FSB1
377       - disk.ephemeral.size
378       binding_FSB1:
379       - FSB1
380       - binding
381       disk.device.write.bytes_FSB1:
382       - FSB1
383       - disk.device.write.bytes
384       network.outgoing.packets.rate_FSB1_FSB1_OAM:
385       - FSB1_FSB1_OAM
386       - network.outgoing.packets.rate
387       binding_FSB1_FSB1_OAM:
388       - FSB1_FSB1_OAM
389       - binding
390       attachment_FSB1_FSB1_OAM:
391       - FSB1_FSB1_OAM
392       - attachment
393       network.incoming.packets_FSB1_FSB1_Internal:
394       - FSB1_FSB1_Internal
395       - network.incoming.packets
396       attachment_FSB1_FSB1_Internal:
397       - FSB1_FSB1_Internal
398       - attachment
399       network.incoming.bytes_FSB1_FSB1_OAM:
400       - FSB1_FSB1_OAM
401       - network.incoming.bytes
402       memory_FSB1:
403       - FSB1
404       - memory
405       network.incoming.packets_FSB1_FSB1_OAM:
406       - FSB1_FSB1_OAM
407       - network.incoming.packets
408       network.outpoing.packets_FSB1_FSB1_Internal:
409       - FSB1_FSB1_Internal
410       - network.outpoing.packets
411       network.outgoing.bytes.rate_FSB1_FSB2_Internal:
412       - FSB1_FSB2_Internal
413       - network.outgoing.bytes.rate
414       disk.device.read.bytes_FSB1:
415       - FSB1
416       - disk.device.read.bytes
417       disk.device.usage_FSB1:
418       - FSB1
419       - disk.device.usage
420       disk.write.bytes.rate_FSB1:
421       - FSB1
422       - disk.write.bytes.rate
423       scalable_FSB1:
424       - FSB1
425       - scalable
426       disk.usage_FSB1:
427       - FSB1
428       - disk.usage
429       network.outpoing.packets_FSB1_FSB1_OAM:
430       - FSB1_FSB1_OAM
431       - network.outpoing.packets
432       host_FSB1:
433       - FSB1
434       - host
435       disk.device.allocation_FSB1:
436       - FSB1
437       - disk.device.allocation
438       os_FSB1:
439       - FSB1
440       - os
441       vcpus_FSB1:
442       - FSB1
443       - vcpus
444       disk.write.requests_FSB1:
445       - FSB1
446       - disk.write.requests
447       network.outgoing.bytes_FSB1_FSB2_Internal:
448       - FSB1_FSB2_Internal
449       - network.outgoing.bytes
450       network.incoming.bytes_FSB1_FSB1_Internal:
451       - FSB1_FSB1_Internal
452       - network.incoming.bytes
453       network.outpoing.packets_FSB1_FSB2_Internal:
454       - FSB1_FSB2_Internal
455       - network.outpoing.packets
456       disk.device.write.bytes.rate_FSB1:
457       - FSB1
458       - disk.device.write.bytes.rate
459       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
460       - FSB1_FSB1_Internal
461       - network.outgoing.bytes.rate
462       endpoint_FSB1:
463       - FSB1
464       - endpoint
465       network.outgoing.packets.rate_FSB1_FSB1_Internal:
466       - FSB1_FSB1_Internal
467       - network.outgoing.packets.rate
468       network.incoming.bytes.rate_FSB1_FSB1_Internal:
469       - FSB1_FSB1_Internal
470       - network.incoming.bytes.rate
471       disk.latency_FSB1:
472       - FSB1
473       - disk.latency
474       memory.usage_FSB1:
475       - FSB1
476       - memory.usage
477       disk.read.requests_FSB1:
478       - FSB1
479       - disk.read.requests
480       disk.device.write.requests_FSB1:
481       - FSB1
482       - disk.device.write.requests
483       network.incoming.bytes.rate_FSB1_FSB2_Internal:
484       - FSB1_FSB2_Internal
485       - network.incoming.bytes.rate
486       network.incoming.bytes_FSB1_FSB2_Internal:
487       - FSB1_FSB2_Internal
488       - network.incoming.bytes
489       disk.iops_FSB1:
490       - FSB1
491       - disk.iops
492       network.outgoing.packets.rate_FSB1_FSB2_Internal:
493       - FSB1_FSB2_Internal
494       - network.outgoing.packets.rate
495       disk.device.iops_FSB1:
496       - FSB1
497       - disk.device.iops
498     requirements:
499       link_FSB1_FSB1_OAM:
500       - FSB1_FSB1_OAM
501       - link
502       dependency_FSB1_FSB1_OAM:
503       - FSB1_FSB1_OAM
504       - dependency
505       dependency_FSB1:
506       - FSB1
507       - dependency
508       link_FSB1_FSB2_Internal:
509       - FSB1_FSB2_Internal
510       - link
511       dependency_FSB1_FSB1_Internal:
512       - FSB1_FSB1_Internal
513       - dependency
514       link_FSB1_FSB1_Internal:
515       - FSB1_FSB1_Internal
516       - link
517       local_storage_FSB1:
518       - FSB1
519       - local_storage
520       dependency_FSB1_FSB2_Internal:
521       - FSB1_FSB2_Internal
522       - dependency