843fe6c3b9412d52f8f1b99ca060ca1be5e7859c
[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       forwarder_FSB1_FSB2_Internal:
332       - FSB1_FSB2_Internal
333       - forwarder
334       feature_FSB1:
335       - FSB1
336       - feature
337       network.incoming.packets.rate_FSB1_FSB1_Internal:
338       - FSB1_FSB1_Internal
339       - network.incoming.packets.rate
340       network.outgoing.bytes_FSB1_FSB1_Internal:
341       - FSB1_FSB1_Internal
342       - network.outgoing.bytes
343       attachment_FSB1_FSB2_Internal:
344       - FSB1_FSB2_Internal
345       - attachment
346       feature_FSB1_FSB2_Internal:
347       - FSB1_FSB2_Internal
348       - feature
349       network.incoming.packets_FSB1_FSB2_Internal:
350       - FSB1_FSB2_Internal
351       - network.incoming.packets
352       forwarder_FSB1_FSB1_OAM:
353       - FSB1_FSB1_OAM
354       - forwarder
355       memory.resident_FSB1:
356       - FSB1
357       - memory.resident
358       network.incoming.packets.rate_FSB1_FSB1_OAM:
359       - FSB1_FSB1_OAM
360       - network.incoming.packets.rate
361       forwarder_FSB1_FSB1_Internal:
362       - FSB1_FSB1_Internal
363       - forwarder
364       network.incoming.packets.rate_FSB1_FSB2_Internal:
365       - FSB1_FSB2_Internal
366       - network.incoming.packets.rate
367       cpu_FSB1:
368       - FSB1
369       - cpu
370       disk.write.requests.rate_FSB1:
371       - FSB1
372       - disk.write.requests.rate
373       feature_FSB1_FSB1_OAM:
374       - FSB1_FSB1_OAM
375       - feature
376       instance_FSB1:
377       - FSB1
378       - instance
379       disk.device.read.bytes.rate_FSB1:
380       - FSB1
381       - disk.device.read.bytes.rate
382       cpu.delta_FSB1:
383       - FSB1
384       - cpu.delta
385       disk.write.bytes_FSB1:
386       - FSB1
387       - disk.write.bytes
388       binding_FSB1_FSB1_Internal:
389       - FSB1_FSB1_Internal
390       - binding
391       disk.device.read.requests.rate_FSB1:
392       - FSB1
393       - disk.device.read.requests.rate
394       feature_FSB1_FSB1_Internal:
395       - FSB1_FSB1_Internal
396       - feature
397       disk.device.read.requests_FSB1:
398       - FSB1
399       - disk.device.read.requests
400       disk.ephemeral.size_FSB1:
401       - FSB1
402       - disk.ephemeral.size
403       binding_FSB1:
404       - FSB1
405       - binding
406       disk.device.write.bytes_FSB1:
407       - FSB1
408       - disk.device.write.bytes
409       network.outgoing.packets.rate_FSB1_FSB1_OAM:
410       - FSB1_FSB1_OAM
411       - network.outgoing.packets.rate
412       binding_FSB1_FSB1_OAM:
413       - FSB1_FSB1_OAM
414       - binding
415       attachment_FSB1_FSB1_OAM:
416       - FSB1_FSB1_OAM
417       - attachment
418       network.incoming.packets_FSB1_FSB1_Internal:
419       - FSB1_FSB1_Internal
420       - network.incoming.packets
421       attachment_FSB1_FSB1_Internal:
422       - FSB1_FSB1_Internal
423       - attachment
424       network.incoming.bytes_FSB1_FSB1_OAM:
425       - FSB1_FSB1_OAM
426       - network.incoming.bytes
427       memory_FSB1:
428       - FSB1
429       - memory
430       network.incoming.packets_FSB1_FSB1_OAM:
431       - FSB1_FSB1_OAM
432       - network.incoming.packets
433       network.outpoing.packets_FSB1_FSB1_Internal:
434       - FSB1_FSB1_Internal
435       - network.outpoing.packets
436       network.outgoing.bytes.rate_FSB1_FSB2_Internal:
437       - FSB1_FSB2_Internal
438       - network.outgoing.bytes.rate
439       disk.device.read.bytes_FSB1:
440       - FSB1
441       - disk.device.read.bytes
442       disk.device.usage_FSB1:
443       - FSB1
444       - disk.device.usage
445       disk.write.bytes.rate_FSB1:
446       - FSB1
447       - disk.write.bytes.rate
448       scalable_FSB1:
449       - FSB1
450       - scalable
451       disk.usage_FSB1:
452       - FSB1
453       - disk.usage
454       network.outpoing.packets_FSB1_FSB1_OAM:
455       - FSB1_FSB1_OAM
456       - network.outpoing.packets
457       host_FSB1:
458       - FSB1
459       - host
460       disk.device.allocation_FSB1:
461       - FSB1
462       - disk.device.allocation
463       os_FSB1:
464       - FSB1
465       - os
466       vcpus_FSB1:
467       - FSB1
468       - vcpus
469       disk.write.requests_FSB1:
470       - FSB1
471       - disk.write.requests
472       network.outgoing.bytes_FSB1_FSB2_Internal:
473       - FSB1_FSB2_Internal
474       - network.outgoing.bytes
475       network.incoming.bytes_FSB1_FSB1_Internal:
476       - FSB1_FSB1_Internal
477       - network.incoming.bytes
478       network.outpoing.packets_FSB1_FSB2_Internal:
479       - FSB1_FSB2_Internal
480       - network.outpoing.packets
481       disk.device.write.bytes.rate_FSB1:
482       - FSB1
483       - disk.device.write.bytes.rate
484       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
485       - FSB1_FSB1_Internal
486       - network.outgoing.bytes.rate
487       endpoint_FSB1:
488       - FSB1
489       - endpoint
490       network.outgoing.packets.rate_FSB1_FSB1_Internal:
491       - FSB1_FSB1_Internal
492       - network.outgoing.packets.rate
493       network.incoming.bytes.rate_FSB1_FSB1_Internal:
494       - FSB1_FSB1_Internal
495       - network.incoming.bytes.rate
496       disk.latency_FSB1:
497       - FSB1
498       - disk.latency
499       memory.usage_FSB1:
500       - FSB1
501       - memory.usage
502       disk.read.requests_FSB1:
503       - FSB1
504       - disk.read.requests
505       disk.device.write.requests_FSB1:
506       - FSB1
507       - disk.device.write.requests
508       network.incoming.bytes.rate_FSB1_FSB2_Internal:
509       - FSB1_FSB2_Internal
510       - network.incoming.bytes.rate
511       network.incoming.bytes_FSB1_FSB2_Internal:
512       - FSB1_FSB2_Internal
513       - network.incoming.bytes
514       disk.iops_FSB1:
515       - FSB1
516       - disk.iops
517       network.outgoing.packets.rate_FSB1_FSB2_Internal:
518       - FSB1_FSB2_Internal
519       - network.outgoing.packets.rate
520       disk.device.iops_FSB1:
521       - FSB1
522       - disk.device.iops
523     requirements:
524       link_FSB1_FSB1_OAM:
525       - FSB1_FSB1_OAM
526       - link
527       dependency_FSB1_FSB1_OAM:
528       - FSB1_FSB1_OAM
529       - dependency
530       dependency_FSB1:
531       - FSB1
532       - dependency
533       link_FSB1_FSB2_Internal:
534       - FSB1_FSB2_Internal
535       - link
536       dependency_FSB1_FSB1_Internal:
537       - FSB1_FSB1_Internal
538       - dependency
539       link_FSB1_FSB1_Internal:
540       - FSB1_FSB1_Internal
541       - link
542       local_storage_FSB1:
543       - FSB1
544       - local_storage
545       dependency_FSB1_FSB2_Internal:
546       - FSB1_FSB2_Internal
547       - dependency