3d5452f348adfc73b596d355f28aa5f98c185fd5
[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         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   outputs:
265     FSB1_FSB2_Internal_tenant_id:
266       type: string
267       value:
268         get_attribute:
269         - FSB1_FSB2_Internal
270         - tenant_id
271     FSB1_FSB1_Internal_network_id:
272       type: string
273       value:
274         get_attribute:
275         - FSB1_FSB1_Internal
276         - network_id
277     FSB1_accessIPv6:
278       type: string
279       value:
280         get_attribute:
281         - FSB1
282         - accessIPv6
283     FSB1_FSB1_OAM_status:
284       type: string
285       value:
286         get_attribute:
287         - FSB1_FSB1_OAM
288         - status
289     FSB1_addresses:
290       type: map
291       value:
292         get_attribute:
293         - FSB1
294         - addresses
295       entry_schema:
296         type: org.openecomp.datatypes.heat.novaServer.network.AddressInfo
297     FSB1_FSB2_Internal_network_id:
298       type: string
299       value:
300         get_attribute:
301         - FSB1_FSB2_Internal
302         - network_id
303     FSB1_FSB1_Internal_device_owner:
304       type: string
305       value:
306         get_attribute:
307         - FSB1_FSB1_Internal
308         - device_owner
309   substitution_mappings:
310     node_type: org.openecomp.resource.abstract.nodes.FSB1
311     capabilities:
312       network.incoming.bytes.rate_FSB1_FSB1_OAM:
313       - FSB1_FSB1_OAM
314       - network.incoming.bytes.rate
315       network.outgoing.bytes_FSB1_FSB1_OAM:
316       - FSB1_FSB1_OAM
317       - network.outgoing.bytes
318       binding_FSB1_FSB2_Internal:
319       - FSB1_FSB2_Internal
320       - binding
321       disk.capacity_FSB1:
322       - FSB1
323       - disk.capacity
324       disk.read.bytes.rate_FSB1:
325       - FSB1
326       - disk.read.bytes.rate
327       disk.device.latency_FSB1:
328       - FSB1
329       - disk.device.latency
330       disk.allocation_FSB1:
331       - FSB1
332       - disk.allocation
333       disk.read.bytes_FSB1:
334       - FSB1
335       - disk.read.bytes
336       disk.device.capacity_FSB1:
337       - FSB1
338       - disk.device.capacity
339       cpu_util_FSB1:
340       - FSB1
341       - cpu_util
342       disk.device.write.requests.rate_FSB1:
343       - FSB1
344       - disk.device.write.requests.rate
345       network.outgoing.bytes.rate_FSB1_FSB1_OAM:
346       - FSB1_FSB1_OAM
347       - network.outgoing.bytes.rate
348       disk.root.size_FSB1:
349       - FSB1
350       - disk.root.size
351       feature_FSB1:
352       - FSB1
353       - feature
354       network.incoming.packets.rate_FSB1_FSB1_Internal:
355       - FSB1_FSB1_Internal
356       - network.incoming.packets.rate
357       network.outgoing.bytes_FSB1_FSB1_Internal:
358       - FSB1_FSB1_Internal
359       - network.outgoing.bytes
360       attachment_FSB1_FSB2_Internal:
361       - FSB1_FSB2_Internal
362       - attachment
363       feature_FSB1_FSB2_Internal:
364       - FSB1_FSB2_Internal
365       - feature
366       network.incoming.packets_FSB1_FSB2_Internal:
367       - FSB1_FSB2_Internal
368       - network.incoming.packets
369       memory.resident_FSB1:
370       - FSB1
371       - memory.resident
372       network.incoming.packets.rate_FSB1_FSB1_OAM:
373       - FSB1_FSB1_OAM
374       - network.incoming.packets.rate
375       network.incoming.packets.rate_FSB1_FSB2_Internal:
376       - FSB1_FSB2_Internal
377       - network.incoming.packets.rate
378       cpu_FSB1:
379       - FSB1
380       - cpu
381       disk.write.requests.rate_FSB1:
382       - FSB1
383       - disk.write.requests.rate
384       feature_FSB1_FSB1_OAM:
385       - FSB1_FSB1_OAM
386       - feature
387       instance_FSB1:
388       - FSB1
389       - instance
390       disk.device.read.bytes.rate_FSB1:
391       - FSB1
392       - disk.device.read.bytes.rate
393       cpu.delta_FSB1:
394       - FSB1
395       - cpu.delta
396       disk.write.bytes_FSB1:
397       - FSB1
398       - disk.write.bytes
399       binding_FSB1_FSB1_Internal:
400       - FSB1_FSB1_Internal
401       - binding
402       disk.device.read.requests.rate_FSB1:
403       - FSB1
404       - disk.device.read.requests.rate
405       feature_FSB1_FSB1_Internal:
406       - FSB1_FSB1_Internal
407       - feature
408       disk.device.read.requests_FSB1:
409       - FSB1
410       - disk.device.read.requests
411       disk.ephemeral.size_FSB1:
412       - FSB1
413       - disk.ephemeral.size
414       binding_FSB1:
415       - FSB1
416       - binding
417       disk.device.write.bytes_FSB1:
418       - FSB1
419       - disk.device.write.bytes
420       network.outgoing.packets.rate_FSB1_FSB1_OAM:
421       - FSB1_FSB1_OAM
422       - network.outgoing.packets.rate
423       binding_FSB1_FSB1_OAM:
424       - FSB1_FSB1_OAM
425       - binding
426       attachment_FSB1_FSB1_OAM:
427       - FSB1_FSB1_OAM
428       - attachment
429       network.incoming.packets_FSB1_FSB1_Internal:
430       - FSB1_FSB1_Internal
431       - network.incoming.packets
432       attachment_FSB1_FSB1_Internal:
433       - FSB1_FSB1_Internal
434       - attachment
435       network.incoming.bytes_FSB1_FSB1_OAM:
436       - FSB1_FSB1_OAM
437       - network.incoming.bytes
438       memory_FSB1:
439       - FSB1
440       - memory
441       network.incoming.packets_FSB1_FSB1_OAM:
442       - FSB1_FSB1_OAM
443       - network.incoming.packets
444       network.outpoing.packets_FSB1_FSB1_Internal:
445       - FSB1_FSB1_Internal
446       - network.outpoing.packets
447       network.outgoing.bytes.rate_FSB1_FSB2_Internal:
448       - FSB1_FSB2_Internal
449       - network.outgoing.bytes.rate
450       disk.device.read.bytes_FSB1:
451       - FSB1
452       - disk.device.read.bytes
453       disk.device.usage_FSB1:
454       - FSB1
455       - disk.device.usage
456       disk.write.bytes.rate_FSB1:
457       - FSB1
458       - disk.write.bytes.rate
459       scalable_FSB1:
460       - FSB1
461       - scalable
462       disk.usage_FSB1:
463       - FSB1
464       - disk.usage
465       network.outpoing.packets_FSB1_FSB1_OAM:
466       - FSB1_FSB1_OAM
467       - network.outpoing.packets
468       host_FSB1:
469       - FSB1
470       - host
471       disk.device.allocation_FSB1:
472       - FSB1
473       - disk.device.allocation
474       os_FSB1:
475       - FSB1
476       - os
477       vcpus_FSB1:
478       - FSB1
479       - vcpus
480       disk.write.requests_FSB1:
481       - FSB1
482       - disk.write.requests
483       network.outgoing.bytes_FSB1_FSB2_Internal:
484       - FSB1_FSB2_Internal
485       - network.outgoing.bytes
486       network.incoming.bytes_FSB1_FSB1_Internal:
487       - FSB1_FSB1_Internal
488       - network.incoming.bytes
489       network.outpoing.packets_FSB1_FSB2_Internal:
490       - FSB1_FSB2_Internal
491       - network.outpoing.packets
492       disk.device.write.bytes.rate_FSB1:
493       - FSB1
494       - disk.device.write.bytes.rate
495       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
496       - FSB1_FSB1_Internal
497       - network.outgoing.bytes.rate
498       endpoint_FSB1:
499       - FSB1
500       - endpoint
501       network.outgoing.packets.rate_FSB1_FSB1_Internal:
502       - FSB1_FSB1_Internal
503       - network.outgoing.packets.rate
504       network.incoming.bytes.rate_FSB1_FSB1_Internal:
505       - FSB1_FSB1_Internal
506       - network.incoming.bytes.rate
507       disk.latency_FSB1:
508       - FSB1
509       - disk.latency
510       memory.usage_FSB1:
511       - FSB1
512       - memory.usage
513       disk.read.requests_FSB1:
514       - FSB1
515       - disk.read.requests
516       disk.device.write.requests_FSB1:
517       - FSB1
518       - disk.device.write.requests
519       network.incoming.bytes.rate_FSB1_FSB2_Internal:
520       - FSB1_FSB2_Internal
521       - network.incoming.bytes.rate
522       network.incoming.bytes_FSB1_FSB2_Internal:
523       - FSB1_FSB2_Internal
524       - network.incoming.bytes
525       disk.iops_FSB1:
526       - FSB1
527       - disk.iops
528       network.outgoing.packets.rate_FSB1_FSB2_Internal:
529       - FSB1_FSB2_Internal
530       - network.outgoing.packets.rate
531       disk.device.iops_FSB1:
532       - FSB1
533       - disk.device.iops
534     requirements:
535       link_FSB1_FSB1_OAM:
536       - FSB1_FSB1_OAM
537       - link
538       dependency_FSB1_FSB1_OAM:
539       - FSB1_FSB1_OAM
540       - dependency
541       dependency_FSB1:
542       - FSB1
543       - dependency
544       link_FSB1_FSB2_Internal:
545       - FSB1_FSB2_Internal
546       - link
547       dependency_FSB1_FSB1_Internal:
548       - FSB1_FSB1_Internal
549       - dependency
550       link_FSB1_FSB1_Internal:
551       - FSB1_FSB1_Internal
552       - link
553       local_storage_FSB1:
554       - FSB1
555       - local_storage
556       dependency_FSB1_FSB2_Internal:
557       - FSB1_FSB2_Internal
558       - dependency