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