e5ebd6aa8b341bd418f5ed6b4ca39c7223407e41
[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:
231           - port_FSB1_OAM_fixed_ips
232           - index_value
233         network:
234           get_input:
235           - port_FSB1_OAM_network
236           - index_value
237       requirements:
238       - binding:
239           capability: tosca.capabilities.network.Bindable
240           node: FSB1
241           relationship: tosca.relationships.network.BindsTo
242     FSB1:
243       type: org.openecomp.resource.vfc.nodes.heat.FSB1
244       properties:
245         availability_zone:
246           get_input:
247           - compute_FSB1_availability_zone
248           - index_value
249         flavor:
250           get_input: vm_flavor_name
251         metadata:
252           get_input:
253           - compute_FSB1_metadata
254           - index_value
255         name:
256           get_input:
257           - compute_FSB1_name
258           - index_value
259       artifacts:
260         nimbus-ethernet-gw:
261           type: tosca.artifacts.Deployment
262           file: ../Artifacts/nimbus-ethernet-gw
263         nimbus-ethernet:
264           type: tosca.artifacts.Deployment
265           file: ../Artifacts/nimbus-ethernet
266   substitution_mappings:
267     node_type: org.openecomp.resource.abstract.nodes.FSB1
268     capabilities:
269       network.incoming.bytes.rate_FSB1_FSB1_OAM:
270       - FSB1_FSB1_OAM
271       - network.incoming.bytes.rate
272       network.outgoing.bytes_FSB1_FSB1_OAM:
273       - FSB1_FSB1_OAM
274       - network.outgoing.bytes
275       binding_FSB1_FSB2_Internal:
276       - FSB1_FSB2_Internal
277       - binding
278       disk.capacity_FSB1:
279       - FSB1
280       - disk.capacity
281       disk.read.bytes.rate_FSB1:
282       - FSB1
283       - disk.read.bytes.rate
284       disk.device.latency_FSB1:
285       - FSB1
286       - disk.device.latency
287       disk.allocation_FSB1:
288       - FSB1
289       - disk.allocation
290       disk.read.bytes_FSB1:
291       - FSB1
292       - disk.read.bytes
293       disk.device.capacity_FSB1:
294       - FSB1
295       - disk.device.capacity
296       cpu_util_FSB1:
297       - FSB1
298       - cpu_util
299       disk.device.write.requests.rate_FSB1:
300       - FSB1
301       - disk.device.write.requests.rate
302       network.outgoing.bytes.rate_FSB1_FSB1_OAM:
303       - FSB1_FSB1_OAM
304       - network.outgoing.bytes.rate
305       disk.root.size_FSB1:
306       - FSB1
307       - disk.root.size
308       forwarder_FSB1_FSB2_Internal:
309       - FSB1_FSB2_Internal
310       - forwarder
311       feature_FSB1:
312       - FSB1
313       - feature
314       network.incoming.packets.rate_FSB1_FSB1_Internal:
315       - FSB1_FSB1_Internal
316       - network.incoming.packets.rate
317       network.outgoing.bytes_FSB1_FSB1_Internal:
318       - FSB1_FSB1_Internal
319       - network.outgoing.bytes
320       feature_FSB1_FSB2_Internal:
321       - FSB1_FSB2_Internal
322       - feature
323       attachment_FSB1_FSB2_Internal:
324       - FSB1_FSB2_Internal
325       - attachment
326       network.incoming.packets_FSB1_FSB2_Internal:
327       - FSB1_FSB2_Internal
328       - network.incoming.packets
329       forwarder_FSB1_FSB1_OAM:
330       - FSB1_FSB1_OAM
331       - forwarder
332       memory.resident_FSB1:
333       - FSB1
334       - memory.resident
335       network.incoming.packets.rate_FSB1_FSB1_OAM:
336       - FSB1_FSB1_OAM
337       - network.incoming.packets.rate
338       forwarder_FSB1_FSB1_Internal:
339       - FSB1_FSB1_Internal
340       - forwarder
341       network.incoming.packets.rate_FSB1_FSB2_Internal:
342       - FSB1_FSB2_Internal
343       - network.incoming.packets.rate
344       cpu_FSB1:
345       - FSB1
346       - cpu
347       disk.write.requests.rate_FSB1:
348       - FSB1
349       - disk.write.requests.rate
350       feature_FSB1_FSB1_OAM:
351       - FSB1_FSB1_OAM
352       - feature
353       instance_FSB1:
354       - FSB1
355       - instance
356       disk.device.read.bytes.rate_FSB1:
357       - FSB1
358       - disk.device.read.bytes.rate
359       cpu.delta_FSB1:
360       - FSB1
361       - cpu.delta
362       disk.write.bytes_FSB1:
363       - FSB1
364       - disk.write.bytes
365       binding_FSB1_FSB1_Internal:
366       - FSB1_FSB1_Internal
367       - binding
368       disk.device.read.requests.rate_FSB1:
369       - FSB1
370       - disk.device.read.requests.rate
371       feature_FSB1_FSB1_Internal:
372       - FSB1_FSB1_Internal
373       - feature
374       disk.device.read.requests_FSB1:
375       - FSB1
376       - disk.device.read.requests
377       disk.ephemeral.size_FSB1:
378       - FSB1
379       - disk.ephemeral.size
380       binding_FSB1:
381       - FSB1
382       - binding
383       disk.device.write.bytes_FSB1:
384       - FSB1
385       - disk.device.write.bytes
386       network.outgoing.packets.rate_FSB1_FSB1_OAM:
387       - FSB1_FSB1_OAM
388       - network.outgoing.packets.rate
389       binding_FSB1_FSB1_OAM:
390       - FSB1_FSB1_OAM
391       - binding
392       attachment_FSB1_FSB1_OAM:
393       - FSB1_FSB1_OAM
394       - attachment
395       network.incoming.packets_FSB1_FSB1_Internal:
396       - FSB1_FSB1_Internal
397       - network.incoming.packets
398       attachment_FSB1_FSB1_Internal:
399       - FSB1_FSB1_Internal
400       - attachment
401       network.incoming.bytes_FSB1_FSB1_OAM:
402       - FSB1_FSB1_OAM
403       - network.incoming.bytes
404       memory_FSB1:
405       - FSB1
406       - memory
407       network.incoming.packets_FSB1_FSB1_OAM:
408       - FSB1_FSB1_OAM
409       - network.incoming.packets
410       network.outpoing.packets_FSB1_FSB1_Internal:
411       - FSB1_FSB1_Internal
412       - network.outpoing.packets
413       network.outgoing.bytes.rate_FSB1_FSB2_Internal:
414       - FSB1_FSB2_Internal
415       - network.outgoing.bytes.rate
416       disk.device.read.bytes_FSB1:
417       - FSB1
418       - disk.device.read.bytes
419       disk.device.usage_FSB1:
420       - FSB1
421       - disk.device.usage
422       disk.write.bytes.rate_FSB1:
423       - FSB1
424       - disk.write.bytes.rate
425       scalable_FSB1:
426       - FSB1
427       - scalable
428       disk.usage_FSB1:
429       - FSB1
430       - disk.usage
431       network.outpoing.packets_FSB1_FSB1_OAM:
432       - FSB1_FSB1_OAM
433       - network.outpoing.packets
434       host_FSB1:
435       - FSB1
436       - host
437       disk.device.allocation_FSB1:
438       - FSB1
439       - disk.device.allocation
440       os_FSB1:
441       - FSB1
442       - os
443       vcpus_FSB1:
444       - FSB1
445       - vcpus
446       disk.write.requests_FSB1:
447       - FSB1
448       - disk.write.requests
449       network.outgoing.bytes_FSB1_FSB2_Internal:
450       - FSB1_FSB2_Internal
451       - network.outgoing.bytes
452       network.incoming.bytes_FSB1_FSB1_Internal:
453       - FSB1_FSB1_Internal
454       - network.incoming.bytes
455       network.outpoing.packets_FSB1_FSB2_Internal:
456       - FSB1_FSB2_Internal
457       - network.outpoing.packets
458       disk.device.write.bytes.rate_FSB1:
459       - FSB1
460       - disk.device.write.bytes.rate
461       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
462       - FSB1_FSB1_Internal
463       - network.outgoing.bytes.rate
464       endpoint_FSB1:
465       - FSB1
466       - endpoint
467       network.outgoing.packets.rate_FSB1_FSB1_Internal:
468       - FSB1_FSB1_Internal
469       - network.outgoing.packets.rate
470       network.incoming.bytes.rate_FSB1_FSB1_Internal:
471       - FSB1_FSB1_Internal
472       - network.incoming.bytes.rate
473       disk.latency_FSB1:
474       - FSB1
475       - disk.latency
476       memory.usage_FSB1:
477       - FSB1
478       - memory.usage
479       disk.read.requests_FSB1:
480       - FSB1
481       - disk.read.requests
482       disk.device.write.requests_FSB1:
483       - FSB1
484       - disk.device.write.requests
485       network.incoming.bytes.rate_FSB1_FSB2_Internal:
486       - FSB1_FSB2_Internal
487       - network.incoming.bytes.rate
488       network.incoming.bytes_FSB1_FSB2_Internal:
489       - FSB1_FSB2_Internal
490       - network.incoming.bytes
491       disk.iops_FSB1:
492       - FSB1
493       - disk.iops
494       network.outgoing.packets.rate_FSB1_FSB2_Internal:
495       - FSB1_FSB2_Internal
496       - network.outgoing.packets.rate
497       disk.device.iops_FSB1:
498       - FSB1
499       - disk.device.iops
500     requirements:
501       link_FSB1_FSB1_OAM:
502       - FSB1_FSB1_OAM
503       - link
504       dependency_FSB1_FSB1_OAM:
505       - FSB1_FSB1_OAM
506       - dependency
507       dependency_FSB1:
508       - FSB1
509       - dependency
510       link_FSB1_FSB2_Internal:
511       - FSB1_FSB2_Internal
512       - link
513       dependency_FSB1_FSB1_Internal:
514       - FSB1_FSB1_Internal
515       - dependency
516       link_FSB1_FSB1_Internal:
517       - FSB1_FSB1_Internal
518       - link
519       local_storage_FSB1:
520       - FSB1
521       - local_storage
522       dependency_FSB1_FSB2_Internal:
523       - FSB1_FSB2_Internal
524       - dependency