ced7dda003bad11b28ab1fd72160fcdacc10425d
[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: port_FSB1_OAM_fixed_ips
237         network:
238           get_input:
239           - port_FSB1_OAM_network
240           - index_value
241       requirements:
242       - binding:
243           capability: tosca.capabilities.network.Bindable
244           node: FSB1
245           relationship: tosca.relationships.network.BindsTo
246     FSB1_FSB2_Internal2:
247       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
248       properties:
249         exCP_naming:
250           get_input: port_FSB2_Internal2_exCP_naming
251         vlan_requirements:
252           get_input: port_FSB2_Internal2_vlan_requirements
253         ip_requirements:
254           get_input: port_FSB2_Internal2_ip_requirements
255         network_role_tag:
256           get_input: port_FSB2_Internal2_network_role_tag
257         mac_requirements:
258           get_input: port_FSB2_Internal2_mac_requirements
259         order:
260           get_input: port_FSB2_Internal2_order
261         network_role:
262           get_input: port_FSB2_Internal2_network_role
263         subnetpoolid:
264           get_input: port_FSB2_Internal2_subnetpoolid
265         network:
266           get_input:
267           - port_FSB2_Internal2_network
268           - index_value
269         mac_address:
270           get_input: port_FSB2_Internal2_mac_address
271       requirements:
272       - binding:
273           capability: tosca.capabilities.network.Bindable
274           node: FSB1
275           relationship: tosca.relationships.network.BindsTo
276     FSB1:
277       type: org.openecomp.resource.vfc.nodes.heat.FSB1
278       properties:
279         availability_zone:
280           get_input:
281           - compute_FSB1_availability_zone
282           - index_value
283         flavor:
284           get_input: vm_flavor_name
285         metadata:
286           get_input:
287           - compute_FSB1_metadata
288           - index_value
289         name:
290           get_input:
291           - compute_FSB1_name
292           - index_value
293       artifacts:
294         nimbus-ethernet-gw:
295           type: tosca.artifacts.Deployment
296           file: ../Artifacts/nimbus-ethernet-gw
297         nimbus-ethernet:
298           type: tosca.artifacts.Deployment
299           file: ../Artifacts/nimbus-ethernet
300     FSB1_FSB2_Internal1:
301       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
302       properties:
303         exCP_naming:
304           get_input: port_FSB2_Internal1_exCP_naming
305         vlan_requirements:
306           get_input: port_FSB2_Internal1_vlan_requirements
307         ip_requirements:
308           get_input: port_FSB2_Internal1_ip_requirements
309         network_role_tag:
310           get_input: port_FSB2_Internal1_network_role_tag
311         mac_requirements:
312           get_input: port_FSB2_Internal1_mac_requirements
313         order:
314           get_input: port_FSB2_Internal1_order
315         network_role:
316           get_input: port_FSB2_Internal1_network_role
317         subnetpoolid:
318           get_input: port_FSB2_Internal1_subnetpoolid
319         network:
320           get_input:
321           - port_FSB2_Internal1_network
322           - index_value
323         mac_address:
324           get_input: port_FSB2_Internal1_mac_address
325       requirements:
326       - binding:
327           capability: tosca.capabilities.network.Bindable
328           node: FSB1
329           relationship: tosca.relationships.network.BindsTo
330   substitution_mappings:
331     node_type: org.openecomp.resource.abstract.nodes.FSB1
332     capabilities:
333       network.incoming.packets_FSB1_FSB2_Internal2:
334       - FSB1_FSB2_Internal2
335       - network.incoming.packets
336       network.incoming.bytes.rate_FSB1_FSB1_OAM:
337       - FSB1_FSB1_OAM
338       - network.incoming.bytes.rate
339       network.incoming.packets_FSB1_FSB2_Internal1:
340       - FSB1_FSB2_Internal1
341       - network.incoming.packets
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       disk.allocation_FSB1:
355       - FSB1
356       - disk.allocation
357       disk.read.bytes_FSB1:
358       - FSB1
359       - disk.read.bytes
360       disk.device.capacity_FSB1:
361       - FSB1
362       - disk.device.capacity
363       cpu_util_FSB1:
364       - FSB1
365       - cpu_util
366       disk.device.write.requests.rate_FSB1:
367       - FSB1
368       - disk.device.write.requests.rate
369       network.outgoing.bytes.rate_FSB1_FSB1_OAM:
370       - FSB1_FSB1_OAM
371       - network.outgoing.bytes.rate
372       disk.root.size_FSB1:
373       - FSB1
374       - disk.root.size
375       feature_FSB1:
376       - FSB1
377       - feature
378       network.outgoing.bytes_FSB1_FSB2_Internal1:
379       - FSB1_FSB2_Internal1
380       - network.outgoing.bytes
381       network.incoming.packets.rate_FSB1_FSB1_Internal:
382       - FSB1_FSB1_Internal
383       - network.incoming.packets.rate
384       network.outgoing.bytes_FSB1_FSB1_Internal:
385       - FSB1_FSB1_Internal
386       - network.outgoing.bytes
387       forwarder_FSB1_FSB1_OAM:
388       - FSB1_FSB1_OAM
389       - forwarder
390       memory.resident_FSB1:
391       - FSB1
392       - memory.resident
393       network.incoming.packets.rate_FSB1_FSB1_OAM:
394       - FSB1_FSB1_OAM
395       - network.incoming.packets.rate
396       forwarder_FSB1_FSB1_Internal:
397       - FSB1_FSB1_Internal
398       - forwarder
399       cpu_FSB1:
400       - FSB1
401       - cpu
402       binding_FSB1_FSB2_Internal1:
403       - FSB1_FSB2_Internal1
404       - binding
405       disk.write.requests.rate_FSB1:
406       - FSB1
407       - disk.write.requests.rate
408       feature_FSB1_FSB1_OAM:
409       - FSB1_FSB1_OAM
410       - feature
411       binding_FSB1_FSB2_Internal2:
412       - FSB1_FSB2_Internal2
413       - binding
414       instance_FSB1:
415       - FSB1
416       - instance
417       disk.device.read.bytes.rate_FSB1:
418       - FSB1
419       - disk.device.read.bytes.rate
420       attachment_FSB1_FSB2_Internal2:
421       - FSB1_FSB2_Internal2
422       - attachment
423       attachment_FSB1_FSB2_Internal1:
424       - FSB1_FSB2_Internal1
425       - attachment
426       cpu.delta_FSB1:
427       - FSB1
428       - cpu.delta
429       disk.write.bytes_FSB1:
430       - FSB1
431       - disk.write.bytes
432       binding_FSB1_FSB1_Internal:
433       - FSB1_FSB1_Internal
434       - binding
435       disk.device.read.requests.rate_FSB1:
436       - FSB1
437       - disk.device.read.requests.rate
438       feature_FSB1_FSB1_Internal:
439       - FSB1_FSB1_Internal
440       - feature
441       disk.device.read.requests_FSB1:
442       - FSB1
443       - disk.device.read.requests
444       network.incoming.packets.rate_FSB1_FSB2_Internal2:
445       - FSB1_FSB2_Internal2
446       - network.incoming.packets.rate
447       disk.ephemeral.size_FSB1:
448       - FSB1
449       - disk.ephemeral.size
450       binding_FSB1:
451       - FSB1
452       - binding
453       disk.device.write.bytes_FSB1:
454       - FSB1
455       - disk.device.write.bytes
456       network.incoming.packets.rate_FSB1_FSB2_Internal1:
457       - FSB1_FSB2_Internal1
458       - network.incoming.packets.rate
459       network.outgoing.packets.rate_FSB1_FSB1_OAM:
460       - FSB1_FSB1_OAM
461       - network.outgoing.packets.rate
462       binding_FSB1_FSB1_OAM:
463       - FSB1_FSB1_OAM
464       - binding
465       attachment_FSB1_FSB1_OAM:
466       - FSB1_FSB1_OAM
467       - attachment
468       network.incoming.bytes_FSB1_FSB2_Internal2:
469       - FSB1_FSB2_Internal2
470       - network.incoming.bytes
471       network.incoming.packets_FSB1_FSB1_Internal:
472       - FSB1_FSB1_Internal
473       - network.incoming.packets
474       network.incoming.bytes_FSB1_FSB2_Internal1:
475       - FSB1_FSB2_Internal1
476       - network.incoming.bytes
477       attachment_FSB1_FSB1_Internal:
478       - FSB1_FSB1_Internal
479       - attachment
480       network.incoming.bytes_FSB1_FSB1_OAM:
481       - FSB1_FSB1_OAM
482       - network.incoming.bytes
483       memory_FSB1:
484       - FSB1
485       - memory
486       network.incoming.packets_FSB1_FSB1_OAM:
487       - FSB1_FSB1_OAM
488       - network.incoming.packets
489       network.outpoing.packets_FSB1_FSB1_Internal:
490       - FSB1_FSB1_Internal
491       - network.outpoing.packets
492       disk.device.read.bytes_FSB1:
493       - FSB1
494       - disk.device.read.bytes
495       disk.device.usage_FSB1:
496       - FSB1
497       - disk.device.usage
498       disk.write.bytes.rate_FSB1:
499       - FSB1
500       - disk.write.bytes.rate
501       scalable_FSB1:
502       - FSB1
503       - scalable
504       disk.usage_FSB1:
505       - FSB1
506       - disk.usage
507       network.outpoing.packets_FSB1_FSB1_OAM:
508       - FSB1_FSB1_OAM
509       - network.outpoing.packets
510       host_FSB1:
511       - FSB1
512       - host
513       disk.device.allocation_FSB1:
514       - FSB1
515       - disk.device.allocation
516       os_FSB1:
517       - FSB1
518       - os
519       vcpus_FSB1:
520       - FSB1
521       - vcpus
522       disk.write.requests_FSB1:
523       - FSB1
524       - disk.write.requests
525       network.incoming.bytes.rate_FSB1_FSB2_Internal2:
526       - FSB1_FSB2_Internal2
527       - network.incoming.bytes.rate
528       network.incoming.bytes.rate_FSB1_FSB2_Internal1:
529       - FSB1_FSB2_Internal1
530       - network.incoming.bytes.rate
531       network.incoming.bytes_FSB1_FSB1_Internal:
532       - FSB1_FSB1_Internal
533       - network.incoming.bytes
534       forwarder_FSB1_FSB2_Internal2:
535       - FSB1_FSB2_Internal2
536       - forwarder
537       disk.device.write.bytes.rate_FSB1:
538       - FSB1
539       - disk.device.write.bytes.rate
540       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
541       - FSB1_FSB1_Internal
542       - network.outgoing.bytes.rate
543       forwarder_FSB1_FSB2_Internal1:
544       - FSB1_FSB2_Internal1
545       - forwarder
546       endpoint_FSB1:
547       - FSB1
548       - endpoint
549       network.outgoing.bytes_FSB1_FSB2_Internal2:
550       - FSB1_FSB2_Internal2
551       - network.outgoing.bytes
552       network.outgoing.packets.rate_FSB1_FSB1_Internal:
553       - FSB1_FSB1_Internal
554       - network.outgoing.packets.rate
555       network.outgoing.packets.rate_FSB1_FSB2_Internal2:
556       - FSB1_FSB2_Internal2
557       - network.outgoing.packets.rate
558       network.incoming.bytes.rate_FSB1_FSB1_Internal:
559       - FSB1_FSB1_Internal
560       - network.incoming.bytes.rate
561       network.outgoing.packets.rate_FSB1_FSB2_Internal1:
562       - FSB1_FSB2_Internal1
563       - network.outgoing.packets.rate
564       disk.latency_FSB1:
565       - FSB1
566       - disk.latency
567       network.outpoing.packets_FSB1_FSB2_Internal1:
568       - FSB1_FSB2_Internal1
569       - network.outpoing.packets
570       network.outpoing.packets_FSB1_FSB2_Internal2:
571       - FSB1_FSB2_Internal2
572       - network.outpoing.packets
573       memory.usage_FSB1:
574       - FSB1
575       - memory.usage
576       network.outgoing.bytes.rate_FSB1_FSB2_Internal1:
577       - FSB1_FSB2_Internal1
578       - network.outgoing.bytes.rate
579       network.outgoing.bytes.rate_FSB1_FSB2_Internal2:
580       - FSB1_FSB2_Internal2
581       - network.outgoing.bytes.rate
582       disk.read.requests_FSB1:
583       - FSB1
584       - disk.read.requests
585       disk.device.write.requests_FSB1:
586       - FSB1
587       - disk.device.write.requests
588       feature_FSB1_FSB2_Internal1:
589       - FSB1_FSB2_Internal1
590       - feature
591       feature_FSB1_FSB2_Internal2:
592       - FSB1_FSB2_Internal2
593       - feature
594       disk.iops_FSB1:
595       - FSB1
596       - disk.iops
597       disk.device.iops_FSB1:
598       - FSB1
599       - disk.device.iops
600     requirements:
601       link_FSB1_FSB1_OAM:
602       - FSB1_FSB1_OAM
603       - link
604       dependency_FSB1_FSB1_OAM:
605       - FSB1_FSB1_OAM
606       - dependency
607       dependency_FSB1:
608       - FSB1
609       - dependency
610       dependency_FSB1_FSB1_Internal:
611       - FSB1_FSB1_Internal
612       - dependency
613       link_FSB1_FSB1_Internal:
614       - FSB1_FSB1_Internal
615       - link
616       link_FSB1_FSB2_Internal2:
617       - FSB1_FSB2_Internal2
618       - link
619       local_storage_FSB1:
620       - FSB1
621       - local_storage
622       dependency_FSB1_FSB2_Internal2:
623       - FSB1_FSB2_Internal2
624       - dependency
625       link_FSB1_FSB2_Internal1:
626       - FSB1_FSB2_Internal1
627       - link
628       dependency_FSB1_FSB2_Internal1:
629       - FSB1_FSB2_Internal1
630       - dependency