eb0ec3020f7713c5d3f559d75bd1d65b3391fcf1
[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_FSB2_Internal_2_mac_requirements:
23       type: org.openecomp.datatypes.network.MacRequirements
24       required: true
25     port_FSB1_Internal_subnetpoolid:
26       type: string
27       required: true
28     port_FSB2_Internal_2_subnetpoolid:
29       type: string
30       required: true
31     port_FSB1_OAM_subnetpoolid:
32       type: string
33       required: true
34     compute_FSB1_metadata:
35       type: list
36       required: true
37       entry_schema:
38         type: json
39     port_FSB2_Internal_1_exCP_naming:
40       type: org.openecomp.datatypes.Naming
41       required: true
42     port_FSB1_OAM_exCP_naming:
43       type: org.openecomp.datatypes.Naming
44       required: true
45     port_FSB1_OAM_ip_requirements:
46       type: list
47       required: true
48       entry_schema:
49         type: org.openecomp.datatypes.network.IpRequirements
50     port_FSB2_Internal_2_order:
51       type: integer
52       required: true
53     port_FSB2_Internal_1_mac_address:
54       type: string
55       required: true
56     vm_flavor_name:
57       type: string
58       required: true
59     port_FSB2_Internal_2_mac_address:
60       type: string
61       required: true
62     port_FSB2_Internal_1_ip_requirements:
63       type: list
64       required: true
65       entry_schema:
66         type: org.openecomp.datatypes.network.IpRequirements
67     port_FSB2_Internal_2_vlan_requirements:
68       type: list
69       required: true
70       entry_schema:
71         type: org.openecomp.datatypes.network.VlanRequirements
72     port_FSB1_Internal_network_role_tag:
73       type: string
74       required: true
75     port_FSB1_OAM_vlan_requirements:
76       type: list
77       required: true
78       entry_schema:
79         type: org.openecomp.datatypes.network.VlanRequirements
80     port_FSB1_Internal_vlan_requirements:
81       type: list
82       required: true
83       entry_schema:
84         type: org.openecomp.datatypes.network.VlanRequirements
85     port_FSB1_Internal_exCP_naming:
86       type: org.openecomp.datatypes.Naming
87       required: true
88     port_FSB2_Internal_1_mac_requirements:
89       type: org.openecomp.datatypes.network.MacRequirements
90       required: true
91     port_FSB1_Internal_network_role:
92       type: string
93       required: true
94     port_FSB1_OAM_mac_requirements:
95       type: org.openecomp.datatypes.network.MacRequirements
96       required: true
97     compute_FSB1_availability_zone:
98       type: list
99       required: true
100       entry_schema:
101         type: string
102     port_FSB1_Internal_network:
103       type: list
104       required: true
105       entry_schema:
106         type: string
107     index_value:
108       type: integer
109       description: Index value of this substitution service template runtime instance
110       required: false
111       default: 0
112       constraints:
113       - greater_or_equal: 0
114     port_FSB2_Internal_1_order:
115       type: integer
116       required: true
117     port_FSB2_Internal_2_ip_requirements:
118       type: list
119       required: true
120       entry_schema:
121         type: org.openecomp.datatypes.network.IpRequirements
122     port_FSB1_OAM_order:
123       type: integer
124       required: true
125     port_FSB2_Internal_1_vlan_requirements:
126       type: list
127       required: true
128       entry_schema:
129         type: org.openecomp.datatypes.network.VlanRequirements
130     port_FSB1_OAM_network:
131       type: list
132       required: true
133       entry_schema:
134         type: string
135     port_FSB2_Internal_1_network:
136       type: list
137       required: true
138       entry_schema:
139         type: string
140     port_FSB2_Internal_2_network:
141       type: list
142       required: true
143       entry_schema:
144         type: string
145     port_FSB2_Internal_2_network_role:
146       type: string
147       required: true
148     port_FSB2_Internal_1_network_role_tag:
149       type: string
150       required: true
151     port_FSB1_Internal_order:
152       type: integer
153       required: true
154     port_FSB1_OAM_network_role:
155       type: string
156       required: true
157     port_FSB2_Internal_1_network_role:
158       type: string
159       required: true
160     port_FSB1_OAM_network_role_tag:
161       type: string
162       required: true
163     port_FSB1_Internal_mac_requirements:
164       type: org.openecomp.datatypes.network.MacRequirements
165       required: true
166     compute_FSB1_name:
167       type: list
168       required: true
169       entry_schema:
170         type: string
171     port_FSB1_OAM_fixed_ips:
172       type: list
173       required: true
174       entry_schema:
175         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
176     port_FSB2_Internal_2_network_role_tag:
177       type: string
178       required: true
179     port_FSB2_Internal_2_exCP_naming:
180       type: org.openecomp.datatypes.Naming
181       required: true
182     port_FSB2_Internal_1_subnetpoolid:
183       type: string
184       required: true
185   node_templates:
186     FSB1_FSB1_Internal:
187       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
188       properties:
189         exCP_naming:
190           get_input: port_FSB1_Internal_exCP_naming
191         vlan_requirements:
192           get_input: port_FSB1_Internal_vlan_requirements
193         subinterface_indicator: false
194         ip_requirements:
195           get_input: port_FSB1_Internal_ip_requirements
196         network_role_tag:
197           get_input: port_FSB1_Internal_network_role_tag
198         mac_requirements:
199           get_input: port_FSB1_Internal_mac_requirements
200         order:
201           get_input: port_FSB1_Internal_order
202         network_role:
203           get_input: port_FSB1_Internal_network_role
204         subnetpoolid:
205           get_input: port_FSB1_Internal_subnetpoolid
206         network:
207           get_input:
208           - port_FSB1_Internal_network
209           - index_value
210         mac_address:
211           get_input: port_FSB1_Internal_mac_address
212       requirements:
213       - binding:
214           capability: tosca.capabilities.network.Bindable
215           node: FSB1
216           relationship: tosca.relationships.network.BindsTo
217     FSB1_FSB2_Internal_1:
218       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
219       properties:
220         exCP_naming:
221           get_input: port_FSB2_Internal_1_exCP_naming
222         vlan_requirements:
223           get_input: port_FSB2_Internal_1_vlan_requirements
224         subinterface_indicator: false
225         ip_requirements:
226           get_input: port_FSB2_Internal_1_ip_requirements
227         network_role_tag:
228           get_input: port_FSB2_Internal_1_network_role_tag
229         mac_requirements:
230           get_input: port_FSB2_Internal_1_mac_requirements
231         order:
232           get_input: port_FSB2_Internal_1_order
233         network_role:
234           get_input: port_FSB2_Internal_1_network_role
235         subnetpoolid:
236           get_input: port_FSB2_Internal_1_subnetpoolid
237         network:
238           get_input:
239           - port_FSB2_Internal_1_network
240           - index_value
241         mac_address:
242           get_input: port_FSB2_Internal_1_mac_address
243       requirements:
244       - binding:
245           capability: tosca.capabilities.network.Bindable
246           node: FSB1
247           relationship: tosca.relationships.network.BindsTo
248     FSB1_FSB2_Internal_2:
249       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
250       properties:
251         exCP_naming:
252           get_input: port_FSB2_Internal_2_exCP_naming
253         vlan_requirements:
254           get_input: port_FSB2_Internal_2_vlan_requirements
255         subinterface_indicator: false
256         ip_requirements:
257           get_input: port_FSB2_Internal_2_ip_requirements
258         network_role_tag:
259           get_input: port_FSB2_Internal_2_network_role_tag
260         mac_requirements:
261           get_input: port_FSB2_Internal_2_mac_requirements
262         order:
263           get_input: port_FSB2_Internal_2_order
264         network_role:
265           get_input: port_FSB2_Internal_2_network_role
266         subnetpoolid:
267           get_input: port_FSB2_Internal_2_subnetpoolid
268         network:
269           get_input:
270           - port_FSB2_Internal_2_network
271           - index_value
272         mac_address:
273           get_input: port_FSB2_Internal_2_mac_address
274       requirements:
275       - binding:
276           capability: tosca.capabilities.network.Bindable
277           node: FSB1
278           relationship: tosca.relationships.network.BindsTo
279     FSB1_FSB1_OAM:
280       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
281       properties:
282         exCP_naming:
283           get_input: port_FSB1_OAM_exCP_naming
284         vlan_requirements:
285           get_input: port_FSB1_OAM_vlan_requirements
286         subinterface_indicator: false
287         ip_requirements:
288           get_input: port_FSB1_OAM_ip_requirements
289         network_role_tag:
290           get_input: port_FSB1_OAM_network_role_tag
291         mac_requirements:
292           get_input: port_FSB1_OAM_mac_requirements
293         order:
294           get_input: port_FSB1_OAM_order
295         network_role:
296           get_input: port_FSB1_OAM_network_role
297         subnetpoolid:
298           get_input: port_FSB1_OAM_subnetpoolid
299         fixed_ips:
300           get_input:
301           - port_FSB1_OAM_fixed_ips
302           - index_value
303         network:
304           get_input:
305           - port_FSB1_OAM_network
306           - index_value
307       requirements:
308       - binding:
309           capability: tosca.capabilities.network.Bindable
310           node: FSB1
311           relationship: tosca.relationships.network.BindsTo
312     FSB1:
313       type: org.openecomp.resource.vfc.nodes.heat.FSB1
314       properties:
315         availability_zone:
316           get_input:
317           - compute_FSB1_availability_zone
318           - index_value
319         flavor:
320           get_input: vm_flavor_name
321         metadata:
322           get_input:
323           - compute_FSB1_metadata
324           - index_value
325         name:
326           get_input:
327           - compute_FSB1_name
328           - index_value
329       artifacts:
330         nimbus-ethernet-gw:
331           type: tosca.artifacts.Deployment
332           file: ../Artifacts/nimbus-ethernet-gw
333         nimbus-ethernet:
334           type: tosca.artifacts.Deployment
335           file: ../Artifacts/nimbus-ethernet
336   substitution_mappings:
337     node_type: org.openecomp.resource.abstract.nodes.FSB1
338     capabilities:
339       network.incoming.bytes.rate_FSB1_FSB1_OAM:
340       - FSB1_FSB1_OAM
341       - network.incoming.bytes.rate
342       network.outgoing.bytes_FSB1_FSB1_OAM:
343       - FSB1_FSB1_OAM
344       - network.outgoing.bytes
345       disk.capacity_FSB1:
346       - FSB1
347       - disk.capacity
348       disk.read.bytes.rate_FSB1:
349       - FSB1
350       - disk.read.bytes.rate
351       disk.device.latency_FSB1:
352       - FSB1
353       - disk.device.latency
354       binding_FSB1_FSB2_Internal_2:
355       - FSB1_FSB2_Internal_2
356       - binding
357       binding_FSB1_FSB2_Internal_1:
358       - FSB1_FSB2_Internal_1
359       - binding
360       disk.allocation_FSB1:
361       - FSB1
362       - disk.allocation
363       disk.read.bytes_FSB1:
364       - FSB1
365       - disk.read.bytes
366       disk.device.capacity_FSB1:
367       - FSB1
368       - disk.device.capacity
369       cpu_util_FSB1:
370       - FSB1
371       - cpu_util
372       disk.device.write.requests.rate_FSB1:
373       - FSB1
374       - disk.device.write.requests.rate
375       network.outgoing.bytes.rate_FSB1_FSB1_OAM:
376       - FSB1_FSB1_OAM
377       - network.outgoing.bytes.rate
378       disk.root.size_FSB1:
379       - FSB1
380       - disk.root.size
381       network.incoming.packets.rate_FSB1_FSB2_Internal_2:
382       - FSB1_FSB2_Internal_2
383       - network.incoming.packets.rate
384       network.incoming.packets.rate_FSB1_FSB2_Internal_1:
385       - FSB1_FSB2_Internal_1
386       - network.incoming.packets.rate
387       feature_FSB1:
388       - FSB1
389       - feature
390       network.incoming.packets.rate_FSB1_FSB1_Internal:
391       - FSB1_FSB1_Internal
392       - network.incoming.packets.rate
393       network.outgoing.bytes_FSB1_FSB1_Internal:
394       - FSB1_FSB1_Internal
395       - network.outgoing.bytes
396       network.incoming.packets_FSB1_FSB2_Internal_1:
397       - FSB1_FSB2_Internal_1
398       - network.incoming.packets
399       network.incoming.packets_FSB1_FSB2_Internal_2:
400       - FSB1_FSB2_Internal_2
401       - network.incoming.packets
402       forwarder_FSB1_FSB1_OAM:
403       - FSB1_FSB1_OAM
404       - forwarder
405       memory.resident_FSB1:
406       - FSB1
407       - memory.resident
408       network.incoming.packets.rate_FSB1_FSB1_OAM:
409       - FSB1_FSB1_OAM
410       - network.incoming.packets.rate
411       forwarder_FSB1_FSB1_Internal:
412       - FSB1_FSB1_Internal
413       - forwarder
414       cpu_FSB1:
415       - FSB1
416       - cpu
417       disk.write.requests.rate_FSB1:
418       - FSB1
419       - disk.write.requests.rate
420       feature_FSB1_FSB1_OAM:
421       - FSB1_FSB1_OAM
422       - feature
423       instance_FSB1:
424       - FSB1
425       - instance
426       disk.device.read.bytes.rate_FSB1:
427       - FSB1
428       - disk.device.read.bytes.rate
429       network.outpoing.packets_FSB1_FSB2_Internal_2:
430       - FSB1_FSB2_Internal_2
431       - network.outpoing.packets
432       network.outgoing.bytes.rate_FSB1_FSB2_Internal_1:
433       - FSB1_FSB2_Internal_1
434       - network.outgoing.bytes.rate
435       network.outgoing.bytes.rate_FSB1_FSB2_Internal_2:
436       - FSB1_FSB2_Internal_2
437       - network.outgoing.bytes.rate
438       network.outgoing.bytes_FSB1_FSB2_Internal_1:
439       - FSB1_FSB2_Internal_1
440       - network.outgoing.bytes
441       network.outgoing.bytes_FSB1_FSB2_Internal_2:
442       - FSB1_FSB2_Internal_2
443       - network.outgoing.bytes
444       cpu.delta_FSB1:
445       - FSB1
446       - cpu.delta
447       network.outpoing.packets_FSB1_FSB2_Internal_1:
448       - FSB1_FSB2_Internal_1
449       - network.outpoing.packets
450       disk.write.bytes_FSB1:
451       - FSB1
452       - disk.write.bytes
453       binding_FSB1_FSB1_Internal:
454       - FSB1_FSB1_Internal
455       - binding
456       disk.device.read.requests.rate_FSB1:
457       - FSB1
458       - disk.device.read.requests.rate
459       feature_FSB1_FSB1_Internal:
460       - FSB1_FSB1_Internal
461       - feature
462       disk.device.read.requests_FSB1:
463       - FSB1
464       - disk.device.read.requests
465       disk.ephemeral.size_FSB1:
466       - FSB1
467       - disk.ephemeral.size
468       binding_FSB1:
469       - FSB1
470       - binding
471       disk.device.write.bytes_FSB1:
472       - FSB1
473       - disk.device.write.bytes
474       network.outgoing.packets.rate_FSB1_FSB2_Internal_1:
475       - FSB1_FSB2_Internal_1
476       - network.outgoing.packets.rate
477       network.outgoing.packets.rate_FSB1_FSB2_Internal_2:
478       - FSB1_FSB2_Internal_2
479       - network.outgoing.packets.rate
480       network.outgoing.packets.rate_FSB1_FSB1_OAM:
481       - FSB1_FSB1_OAM
482       - network.outgoing.packets.rate
483       binding_FSB1_FSB1_OAM:
484       - FSB1_FSB1_OAM
485       - binding
486       attachment_FSB1_FSB1_OAM:
487       - FSB1_FSB1_OAM
488       - attachment
489       network.incoming.packets_FSB1_FSB1_Internal:
490       - FSB1_FSB1_Internal
491       - network.incoming.packets
492       attachment_FSB1_FSB1_Internal:
493       - FSB1_FSB1_Internal
494       - attachment
495       network.incoming.bytes_FSB1_FSB1_OAM:
496       - FSB1_FSB1_OAM
497       - network.incoming.bytes
498       memory_FSB1:
499       - FSB1
500       - memory
501       network.incoming.packets_FSB1_FSB1_OAM:
502       - FSB1_FSB1_OAM
503       - network.incoming.packets
504       network.outpoing.packets_FSB1_FSB1_Internal:
505       - FSB1_FSB1_Internal
506       - network.outpoing.packets
507       disk.device.read.bytes_FSB1:
508       - FSB1
509       - disk.device.read.bytes
510       disk.device.usage_FSB1:
511       - FSB1
512       - disk.device.usage
513       disk.write.bytes.rate_FSB1:
514       - FSB1
515       - disk.write.bytes.rate
516       scalable_FSB1:
517       - FSB1
518       - scalable
519       disk.usage_FSB1:
520       - FSB1
521       - disk.usage
522       network.outpoing.packets_FSB1_FSB1_OAM:
523       - FSB1_FSB1_OAM
524       - network.outpoing.packets
525       network.incoming.bytes_FSB1_FSB2_Internal_1:
526       - FSB1_FSB2_Internal_1
527       - network.incoming.bytes
528       network.incoming.bytes_FSB1_FSB2_Internal_2:
529       - FSB1_FSB2_Internal_2
530       - network.incoming.bytes
531       host_FSB1:
532       - FSB1
533       - host
534       disk.device.allocation_FSB1:
535       - FSB1
536       - disk.device.allocation
537       os_FSB1:
538       - FSB1
539       - os
540       vcpus_FSB1:
541       - FSB1
542       - vcpus
543       disk.write.requests_FSB1:
544       - FSB1
545       - disk.write.requests
546       network.incoming.bytes_FSB1_FSB1_Internal:
547       - FSB1_FSB1_Internal
548       - network.incoming.bytes
549       disk.device.write.bytes.rate_FSB1:
550       - FSB1
551       - disk.device.write.bytes.rate
552       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
553       - FSB1_FSB1_Internal
554       - network.outgoing.bytes.rate
555       endpoint_FSB1:
556       - FSB1
557       - endpoint
558       network.outgoing.packets.rate_FSB1_FSB1_Internal:
559       - FSB1_FSB1_Internal
560       - network.outgoing.packets.rate
561       network.incoming.bytes.rate_FSB1_FSB2_Internal_2:
562       - FSB1_FSB2_Internal_2
563       - network.incoming.bytes.rate
564       network.incoming.bytes.rate_FSB1_FSB2_Internal_1:
565       - FSB1_FSB2_Internal_1
566       - network.incoming.bytes.rate
567       network.incoming.bytes.rate_FSB1_FSB1_Internal:
568       - FSB1_FSB1_Internal
569       - network.incoming.bytes.rate
570       disk.latency_FSB1:
571       - FSB1
572       - disk.latency
573       memory.usage_FSB1:
574       - FSB1
575       - memory.usage
576       feature_FSB1_FSB2_Internal_2:
577       - FSB1_FSB2_Internal_2
578       - feature
579       disk.read.requests_FSB1:
580       - FSB1
581       - disk.read.requests
582       disk.device.write.requests_FSB1:
583       - FSB1
584       - disk.device.write.requests
585       attachment_FSB1_FSB2_Internal_1:
586       - FSB1_FSB2_Internal_1
587       - attachment
588       forwarder_FSB1_FSB2_Internal_2:
589       - FSB1_FSB2_Internal_2
590       - forwarder
591       feature_FSB1_FSB2_Internal_1:
592       - FSB1_FSB2_Internal_1
593       - feature
594       attachment_FSB1_FSB2_Internal_2:
595       - FSB1_FSB2_Internal_2
596       - attachment
597       disk.iops_FSB1:
598       - FSB1
599       - disk.iops
600       forwarder_FSB1_FSB2_Internal_1:
601       - FSB1_FSB2_Internal_1
602       - forwarder
603       disk.device.iops_FSB1:
604       - FSB1
605       - disk.device.iops
606     requirements:
607       link_FSB1_FSB2_Internal_2:
608       - FSB1_FSB2_Internal_2
609       - link
610       link_FSB1_FSB1_OAM:
611       - FSB1_FSB1_OAM
612       - link
613       dependency_FSB1_FSB1_OAM:
614       - FSB1_FSB1_OAM
615       - dependency
616       dependency_FSB1:
617       - FSB1
618       - dependency
619       link_FSB1_FSB2_Internal_1:
620       - FSB1_FSB2_Internal_1
621       - link
622       dependency_FSB1_FSB1_Internal:
623       - FSB1_FSB1_Internal
624       - dependency
625       link_FSB1_FSB1_Internal:
626       - FSB1_FSB1_Internal
627       - link
628       local_storage_FSB1:
629       - FSB1
630       - local_storage
631       dependency_FSB1_FSB2_Internal_2:
632       - FSB1_FSB2_Internal_2
633       - dependency
634       dependency_FSB1_FSB2_Internal_1:
635       - FSB1_FSB2_Internal_1
636       - dependency