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