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