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