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