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