f0a87d321a23cb5a9058d659e11f55422defc08f
[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     port_FSB2_Internal_vlan_requirements:
29       type: list
30       required: true
31       entry_schema:
32         type: org.openecomp.datatypes.network.VlanRequirements
33     port_FSB2_Internal_order:
34       type: integer
35       required: true
36     port_FSB1_OAM_subinterface_indicator:
37       type: list
38       required: true
39       entry_schema:
40         type: boolean
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     port_FSB1_Internal_subinterface_indicator:
86       type: list
87       required: true
88       entry_schema:
89         type: boolean
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_FSB2_Internal_subinterface_indicator:
131       type: list
132       required: true
133       entry_schema:
134         type: boolean
135     port_FSB1_OAM_network_role_tag:
136       type: string
137       required: true
138     port_FSB1_Internal_mac_requirements:
139       type: org.openecomp.datatypes.network.MacRequirements
140       required: true
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         subinterface_indicator:
158           get_input:
159           - port_FSB1_Internal_subinterface_indicator
160           - index_value
161         ip_requirements:
162           get_input: port_FSB1_Internal_ip_requirements
163         network_role_tag:
164           get_input: port_FSB1_Internal_network_role_tag
165         mac_requirements:
166           get_input: port_FSB1_Internal_mac_requirements
167         order:
168           get_input: port_FSB1_Internal_order
169         network_role:
170           get_input: port_FSB1_Internal_network_role
171         subnetpoolid:
172           get_input: port_FSB1_Internal_subnetpoolid
173         network:
174           get_input:
175           - port_FSB1_Internal_network
176           - index_value
177         mac_address:
178           get_input: port_FSB1_Internal_mac_address
179       requirements:
180       - binding:
181           capability: tosca.capabilities.network.Bindable
182           node: FSB1
183           relationship: tosca.relationships.network.BindsTo
184     FSB1_FSB2_Internal:
185       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
186       properties:
187         exCP_naming:
188           get_input: port_FSB2_Internal_exCP_naming
189         vlan_requirements:
190           get_input: port_FSB2_Internal_vlan_requirements
191         subinterface_indicator:
192           get_input:
193           - port_FSB2_Internal_subinterface_indicator
194           - index_value
195         ip_requirements:
196           get_input: port_FSB2_Internal_ip_requirements
197         network_role_tag:
198           get_input: port_FSB2_Internal_network_role_tag
199         mac_requirements:
200           get_input: port_FSB2_Internal_mac_requirements
201         order:
202           get_input: port_FSB2_Internal_order
203         network_role:
204           get_input: port_FSB2_Internal_network_role
205         subnetpoolid:
206           get_input: port_FSB2_Internal_subnetpoolid
207         network:
208           get_input:
209           - port_FSB2_Internal_network
210           - index_value
211         mac_address:
212           get_input: port_FSB2_Internal_mac_address
213       requirements:
214       - binding:
215           capability: tosca.capabilities.network.Bindable
216           node: FSB1
217           relationship: tosca.relationships.network.BindsTo
218     FSB1_FSB1_OAM:
219       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
220       properties:
221         exCP_naming:
222           get_input: port_FSB1_OAM_exCP_naming
223         vlan_requirements:
224           get_input: port_FSB1_OAM_vlan_requirements
225         subinterface_indicator:
226           get_input:
227           - port_FSB1_OAM_subinterface_indicator
228           - index_value
229         ip_requirements:
230           get_input: port_FSB1_OAM_ip_requirements
231         network_role_tag:
232           get_input: port_FSB1_OAM_network_role_tag
233         mac_requirements:
234           get_input: port_FSB1_OAM_mac_requirements
235         order:
236           get_input: port_FSB1_OAM_order
237         network_role:
238           get_input: port_FSB1_OAM_network_role
239         subnetpoolid:
240           get_input: port_FSB1_OAM_subnetpoolid
241         fixed_ips:
242           get_input:
243           - port_FSB1_OAM_fixed_ips
244           - index_value
245         network:
246           get_input:
247           - port_FSB1_OAM_network
248           - index_value
249       requirements:
250       - binding:
251           capability: tosca.capabilities.network.Bindable
252           node: FSB1
253           relationship: tosca.relationships.network.BindsTo
254     FSB1:
255       type: org.openecomp.resource.vfc.nodes.heat.FSB1
256       properties:
257         availability_zone:
258           get_attribute:
259           - FSB1_FSB1_Internal
260           - myAttr
261           - get_attribute:
262             - FSB1_FSB1_Internal
263             - index
264         flavor:
265           get_input: vm_flavor_name
266       artifacts:
267         nimbus-ethernet-gw:
268           type: tosca.artifacts.Deployment
269           file: ../Artifacts/nimbus-ethernet-gw
270         nimbus-ethernet:
271           type: tosca.artifacts.Deployment
272           file: ../Artifacts/nimbus-ethernet
273   outputs:
274     FSB1_FSB2_Internal_tenant_id:
275       type: string
276       value:
277         get_attribute:
278         - FSB1_FSB2_Internal
279         - tenant_id
280     FSB1_FSB1_Internal_network_id:
281       type: string
282       value:
283         get_attribute:
284         - FSB1_FSB1_Internal
285         - network_id
286     FSB1_accessIPv6:
287       type: string
288       value:
289         get_attribute:
290         - FSB1
291         - accessIPv6
292     FSB1_FSB1_OAM_status:
293       type: string
294       value:
295         get_attribute:
296         - FSB1_FSB1_OAM
297         - status
298     FSB1_addresses:
299       type: map
300       value:
301         get_attribute:
302         - FSB1
303         - addresses
304       entry_schema:
305         type: org.openecomp.datatypes.heat.novaServer.network.AddressInfo
306     FSB1_FSB2_Internal_network_id:
307       type: string
308       value:
309         get_attribute:
310         - FSB1_FSB2_Internal
311         - network_id
312     FSB1_FSB1_Internal_device_owner:
313       type: string
314       value:
315         get_attribute:
316         - FSB1_FSB1_Internal
317         - device_owner
318   substitution_mappings:
319     node_type: org.openecomp.resource.abstract.nodes.FSB1
320     capabilities:
321       network.incoming.bytes.rate_FSB1_FSB1_OAM:
322       - FSB1_FSB1_OAM
323       - network.incoming.bytes.rate
324       network.outgoing.bytes_FSB1_FSB1_OAM:
325       - FSB1_FSB1_OAM
326       - network.outgoing.bytes
327       binding_FSB1_FSB2_Internal:
328       - FSB1_FSB2_Internal
329       - binding
330       disk.capacity_FSB1:
331       - FSB1
332       - disk.capacity
333       disk.read.bytes.rate_FSB1:
334       - FSB1
335       - disk.read.bytes.rate
336       disk.device.latency_FSB1:
337       - FSB1
338       - disk.device.latency
339       disk.allocation_FSB1:
340       - FSB1
341       - disk.allocation
342       disk.read.bytes_FSB1:
343       - FSB1
344       - disk.read.bytes
345       disk.device.capacity_FSB1:
346       - FSB1
347       - disk.device.capacity
348       cpu_util_FSB1:
349       - FSB1
350       - cpu_util
351       disk.device.write.requests.rate_FSB1:
352       - FSB1
353       - disk.device.write.requests.rate
354       network.outgoing.bytes.rate_FSB1_FSB1_OAM:
355       - FSB1_FSB1_OAM
356       - network.outgoing.bytes.rate
357       disk.root.size_FSB1:
358       - FSB1
359       - disk.root.size
360       forwarder_FSB1_FSB2_Internal:
361       - FSB1_FSB2_Internal
362       - forwarder
363       feature_FSB1:
364       - FSB1
365       - feature
366       network.incoming.packets.rate_FSB1_FSB1_Internal:
367       - FSB1_FSB1_Internal
368       - network.incoming.packets.rate
369       network.outgoing.bytes_FSB1_FSB1_Internal:
370       - FSB1_FSB1_Internal
371       - network.outgoing.bytes
372       feature_FSB1_FSB2_Internal:
373       - FSB1_FSB2_Internal
374       - feature
375       attachment_FSB1_FSB2_Internal:
376       - FSB1_FSB2_Internal
377       - attachment
378       network.incoming.packets_FSB1_FSB2_Internal:
379       - FSB1_FSB2_Internal
380       - network.incoming.packets
381       forwarder_FSB1_FSB1_OAM:
382       - FSB1_FSB1_OAM
383       - forwarder
384       memory.resident_FSB1:
385       - FSB1
386       - memory.resident
387       network.incoming.packets.rate_FSB1_FSB1_OAM:
388       - FSB1_FSB1_OAM
389       - network.incoming.packets.rate
390       forwarder_FSB1_FSB1_Internal:
391       - FSB1_FSB1_Internal
392       - forwarder
393       network.incoming.packets.rate_FSB1_FSB2_Internal:
394       - FSB1_FSB2_Internal
395       - network.incoming.packets.rate
396       cpu_FSB1:
397       - FSB1
398       - cpu
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       instance_FSB1:
406       - FSB1
407       - instance
408       disk.device.read.bytes.rate_FSB1:
409       - FSB1
410       - disk.device.read.bytes.rate
411       cpu.delta_FSB1:
412       - FSB1
413       - cpu.delta
414       disk.write.bytes_FSB1:
415       - FSB1
416       - disk.write.bytes
417       binding_FSB1_FSB1_Internal:
418       - FSB1_FSB1_Internal
419       - binding
420       disk.device.read.requests.rate_FSB1:
421       - FSB1
422       - disk.device.read.requests.rate
423       feature_FSB1_FSB1_Internal:
424       - FSB1_FSB1_Internal
425       - feature
426       disk.device.read.requests_FSB1:
427       - FSB1
428       - disk.device.read.requests
429       disk.ephemeral.size_FSB1:
430       - FSB1
431       - disk.ephemeral.size
432       binding_FSB1:
433       - FSB1
434       - binding
435       disk.device.write.bytes_FSB1:
436       - FSB1
437       - disk.device.write.bytes
438       network.outgoing.packets.rate_FSB1_FSB1_OAM:
439       - FSB1_FSB1_OAM
440       - network.outgoing.packets.rate
441       binding_FSB1_FSB1_OAM:
442       - FSB1_FSB1_OAM
443       - binding
444       attachment_FSB1_FSB1_OAM:
445       - FSB1_FSB1_OAM
446       - attachment
447       network.incoming.packets_FSB1_FSB1_Internal:
448       - FSB1_FSB1_Internal
449       - network.incoming.packets
450       attachment_FSB1_FSB1_Internal:
451       - FSB1_FSB1_Internal
452       - attachment
453       network.incoming.bytes_FSB1_FSB1_OAM:
454       - FSB1_FSB1_OAM
455       - network.incoming.bytes
456       memory_FSB1:
457       - FSB1
458       - memory
459       network.incoming.packets_FSB1_FSB1_OAM:
460       - FSB1_FSB1_OAM
461       - network.incoming.packets
462       network.outpoing.packets_FSB1_FSB1_Internal:
463       - FSB1_FSB1_Internal
464       - network.outpoing.packets
465       network.outgoing.bytes.rate_FSB1_FSB2_Internal:
466       - FSB1_FSB2_Internal
467       - network.outgoing.bytes.rate
468       disk.device.read.bytes_FSB1:
469       - FSB1
470       - disk.device.read.bytes
471       disk.device.usage_FSB1:
472       - FSB1
473       - disk.device.usage
474       disk.write.bytes.rate_FSB1:
475       - FSB1
476       - disk.write.bytes.rate
477       scalable_FSB1:
478       - FSB1
479       - scalable
480       disk.usage_FSB1:
481       - FSB1
482       - disk.usage
483       network.outpoing.packets_FSB1_FSB1_OAM:
484       - FSB1_FSB1_OAM
485       - network.outpoing.packets
486       host_FSB1:
487       - FSB1
488       - host
489       disk.device.allocation_FSB1:
490       - FSB1
491       - disk.device.allocation
492       os_FSB1:
493       - FSB1
494       - os
495       vcpus_FSB1:
496       - FSB1
497       - vcpus
498       disk.write.requests_FSB1:
499       - FSB1
500       - disk.write.requests
501       network.outgoing.bytes_FSB1_FSB2_Internal:
502       - FSB1_FSB2_Internal
503       - network.outgoing.bytes
504       network.incoming.bytes_FSB1_FSB1_Internal:
505       - FSB1_FSB1_Internal
506       - network.incoming.bytes
507       network.outpoing.packets_FSB1_FSB2_Internal:
508       - FSB1_FSB2_Internal
509       - network.outpoing.packets
510       disk.device.write.bytes.rate_FSB1:
511       - FSB1
512       - disk.device.write.bytes.rate
513       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
514       - FSB1_FSB1_Internal
515       - network.outgoing.bytes.rate
516       endpoint_FSB1:
517       - FSB1
518       - endpoint
519       network.outgoing.packets.rate_FSB1_FSB1_Internal:
520       - FSB1_FSB1_Internal
521       - network.outgoing.packets.rate
522       network.incoming.bytes.rate_FSB1_FSB1_Internal:
523       - FSB1_FSB1_Internal
524       - network.incoming.bytes.rate
525       disk.latency_FSB1:
526       - FSB1
527       - disk.latency
528       memory.usage_FSB1:
529       - FSB1
530       - memory.usage
531       disk.read.requests_FSB1:
532       - FSB1
533       - disk.read.requests
534       disk.device.write.requests_FSB1:
535       - FSB1
536       - disk.device.write.requests
537       network.incoming.bytes.rate_FSB1_FSB2_Internal:
538       - FSB1_FSB2_Internal
539       - network.incoming.bytes.rate
540       network.incoming.bytes_FSB1_FSB2_Internal:
541       - FSB1_FSB2_Internal
542       - network.incoming.bytes
543       disk.iops_FSB1:
544       - FSB1
545       - disk.iops
546       network.outgoing.packets.rate_FSB1_FSB2_Internal:
547       - FSB1_FSB2_Internal
548       - network.outgoing.packets.rate
549       disk.device.iops_FSB1:
550       - FSB1
551       - disk.device.iops
552     requirements:
553       link_FSB1_FSB1_OAM:
554       - FSB1_FSB1_OAM
555       - link
556       dependency_FSB1_FSB1_OAM:
557       - FSB1_FSB1_OAM
558       - dependency
559       dependency_FSB1:
560       - FSB1
561       - dependency
562       link_FSB1_FSB2_Internal:
563       - FSB1_FSB2_Internal
564       - link
565       dependency_FSB1_FSB1_Internal:
566       - FSB1_FSB1_Internal
567       - dependency
568       link_FSB1_FSB1_Internal:
569       - FSB1_FSB1_Internal
570       - link
571       local_storage_FSB1:
572       - FSB1
573       - local_storage
574       dependency_FSB1_FSB2_Internal:
575       - FSB1_FSB2_Internal
576       - dependency