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