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