0fb34fd25241e96829dffe8a7cc094ab0f9961ec
[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_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   outputs:
294     FSB1_FSB2_Internal_tenant_id:
295       type: string
296       value:
297         get_attribute:
298         - FSB1_FSB2_Internal
299         - tenant_id
300     FSB1_FSB1_Internal_network_id:
301       type: string
302       value:
303         get_attribute:
304         - FSB1_FSB1_Internal
305         - network_id
306     FSB1_accessIPv6:
307       type: string
308       value:
309         get_attribute:
310         - FSB1
311         - accessIPv6
312     FSB1_FSB1_OAM_status:
313       type: string
314       value:
315         get_attribute:
316         - FSB1_FSB1_OAM
317         - status
318     FSB1_addresses:
319       type: map
320       value:
321         get_attribute:
322         - FSB1
323         - addresses
324       entry_schema:
325         type: org.openecomp.datatypes.heat.novaServer.network.AddressInfo
326     FSB1_FSB2_Internal_network_id:
327       type: string
328       value:
329         get_attribute:
330         - FSB1_FSB2_Internal
331         - network_id
332     FSB1_FSB1_Internal_device_owner:
333       type: string
334       value:
335         get_attribute:
336         - FSB1_FSB1_Internal
337         - device_owner
338   substitution_mappings:
339     node_type: org.openecomp.resource.abstract.nodes.FSB1
340     capabilities:
341       network.incoming.bytes.rate_FSB1_FSB1_OAM:
342       - FSB1_FSB1_OAM
343       - network.incoming.bytes.rate
344       network.outgoing.bytes_FSB1_FSB1_OAM:
345       - FSB1_FSB1_OAM
346       - network.outgoing.bytes
347       binding_FSB1_FSB2_Internal:
348       - FSB1_FSB2_Internal
349       - binding
350       disk.capacity_FSB1:
351       - FSB1
352       - disk.capacity
353       disk.read.bytes.rate_FSB1:
354       - FSB1
355       - disk.read.bytes.rate
356       disk.device.latency_FSB1:
357       - FSB1
358       - disk.device.latency
359       disk.allocation_FSB1:
360       - FSB1
361       - disk.allocation
362       disk.read.bytes_FSB1:
363       - FSB1
364       - disk.read.bytes
365       disk.device.capacity_FSB1:
366       - FSB1
367       - disk.device.capacity
368       cpu_util_FSB1:
369       - FSB1
370       - cpu_util
371       disk.device.write.requests.rate_FSB1:
372       - FSB1
373       - disk.device.write.requests.rate
374       network.outgoing.bytes.rate_FSB1_FSB1_OAM:
375       - FSB1_FSB1_OAM
376       - network.outgoing.bytes.rate
377       disk.root.size_FSB1:
378       - FSB1
379       - disk.root.size
380       forwarder_FSB1_FSB2_Internal:
381       - FSB1_FSB2_Internal
382       - forwarder
383       feature_FSB1:
384       - FSB1
385       - feature
386       network.incoming.packets.rate_FSB1_FSB1_Internal:
387       - FSB1_FSB1_Internal
388       - network.incoming.packets.rate
389       network.outgoing.bytes_FSB1_FSB1_Internal:
390       - FSB1_FSB1_Internal
391       - network.outgoing.bytes
392       feature_FSB1_FSB2_Internal:
393       - FSB1_FSB2_Internal
394       - feature
395       attachment_FSB1_FSB2_Internal:
396       - FSB1_FSB2_Internal
397       - attachment
398       network.incoming.packets_FSB1_FSB2_Internal:
399       - FSB1_FSB2_Internal
400       - network.incoming.packets
401       forwarder_FSB1_FSB1_OAM:
402       - FSB1_FSB1_OAM
403       - forwarder
404       memory.resident_FSB1:
405       - FSB1
406       - memory.resident
407       network.incoming.packets.rate_FSB1_FSB1_OAM:
408       - FSB1_FSB1_OAM
409       - network.incoming.packets.rate
410       forwarder_FSB1_FSB1_Internal:
411       - FSB1_FSB1_Internal
412       - forwarder
413       network.incoming.packets.rate_FSB1_FSB2_Internal:
414       - FSB1_FSB2_Internal
415       - network.incoming.packets.rate
416       cpu_FSB1:
417       - FSB1
418       - cpu
419       disk.write.requests.rate_FSB1:
420       - FSB1
421       - disk.write.requests.rate
422       feature_FSB1_FSB1_OAM:
423       - FSB1_FSB1_OAM
424       - feature
425       instance_FSB1:
426       - FSB1
427       - instance
428       disk.device.read.bytes.rate_FSB1:
429       - FSB1
430       - disk.device.read.bytes.rate
431       cpu.delta_FSB1:
432       - FSB1
433       - cpu.delta
434       disk.write.bytes_FSB1:
435       - FSB1
436       - disk.write.bytes
437       binding_FSB1_FSB1_Internal:
438       - FSB1_FSB1_Internal
439       - binding
440       disk.device.read.requests.rate_FSB1:
441       - FSB1
442       - disk.device.read.requests.rate
443       feature_FSB1_FSB1_Internal:
444       - FSB1_FSB1_Internal
445       - feature
446       disk.device.read.requests_FSB1:
447       - FSB1
448       - disk.device.read.requests
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.outgoing.packets.rate_FSB1_FSB1_OAM:
459       - FSB1_FSB1_OAM
460       - network.outgoing.packets.rate
461       binding_FSB1_FSB1_OAM:
462       - FSB1_FSB1_OAM
463       - binding
464       attachment_FSB1_FSB1_OAM:
465       - FSB1_FSB1_OAM
466       - attachment
467       network.incoming.packets_FSB1_FSB1_Internal:
468       - FSB1_FSB1_Internal
469       - network.incoming.packets
470       attachment_FSB1_FSB1_Internal:
471       - FSB1_FSB1_Internal
472       - attachment
473       network.incoming.bytes_FSB1_FSB1_OAM:
474       - FSB1_FSB1_OAM
475       - network.incoming.bytes
476       memory_FSB1:
477       - FSB1
478       - memory
479       network.incoming.packets_FSB1_FSB1_OAM:
480       - FSB1_FSB1_OAM
481       - network.incoming.packets
482       network.outpoing.packets_FSB1_FSB1_Internal:
483       - FSB1_FSB1_Internal
484       - network.outpoing.packets
485       network.outgoing.bytes.rate_FSB1_FSB2_Internal:
486       - FSB1_FSB2_Internal
487       - network.outgoing.bytes.rate
488       disk.device.read.bytes_FSB1:
489       - FSB1
490       - disk.device.read.bytes
491       disk.device.usage_FSB1:
492       - FSB1
493       - disk.device.usage
494       disk.write.bytes.rate_FSB1:
495       - FSB1
496       - disk.write.bytes.rate
497       scalable_FSB1:
498       - FSB1
499       - scalable
500       disk.usage_FSB1:
501       - FSB1
502       - disk.usage
503       network.outpoing.packets_FSB1_FSB1_OAM:
504       - FSB1_FSB1_OAM
505       - network.outpoing.packets
506       host_FSB1:
507       - FSB1
508       - host
509       disk.device.allocation_FSB1:
510       - FSB1
511       - disk.device.allocation
512       os_FSB1:
513       - FSB1
514       - os
515       vcpus_FSB1:
516       - FSB1
517       - vcpus
518       disk.write.requests_FSB1:
519       - FSB1
520       - disk.write.requests
521       network.outgoing.bytes_FSB1_FSB2_Internal:
522       - FSB1_FSB2_Internal
523       - network.outgoing.bytes
524       network.incoming.bytes_FSB1_FSB1_Internal:
525       - FSB1_FSB1_Internal
526       - network.incoming.bytes
527       network.outpoing.packets_FSB1_FSB2_Internal:
528       - FSB1_FSB2_Internal
529       - network.outpoing.packets
530       disk.device.write.bytes.rate_FSB1:
531       - FSB1
532       - disk.device.write.bytes.rate
533       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
534       - FSB1_FSB1_Internal
535       - network.outgoing.bytes.rate
536       endpoint_FSB1:
537       - FSB1
538       - endpoint
539       network.outgoing.packets.rate_FSB1_FSB1_Internal:
540       - FSB1_FSB1_Internal
541       - network.outgoing.packets.rate
542       network.incoming.bytes.rate_FSB1_FSB1_Internal:
543       - FSB1_FSB1_Internal
544       - network.incoming.bytes.rate
545       disk.latency_FSB1:
546       - FSB1
547       - disk.latency
548       memory.usage_FSB1:
549       - FSB1
550       - memory.usage
551       disk.read.requests_FSB1:
552       - FSB1
553       - disk.read.requests
554       disk.device.write.requests_FSB1:
555       - FSB1
556       - disk.device.write.requests
557       network.incoming.bytes.rate_FSB1_FSB2_Internal:
558       - FSB1_FSB2_Internal
559       - network.incoming.bytes.rate
560       network.incoming.bytes_FSB1_FSB2_Internal:
561       - FSB1_FSB2_Internal
562       - network.incoming.bytes
563       disk.iops_FSB1:
564       - FSB1
565       - disk.iops
566       network.outgoing.packets.rate_FSB1_FSB2_Internal:
567       - FSB1_FSB2_Internal
568       - network.outgoing.packets.rate
569       disk.device.iops_FSB1:
570       - FSB1
571       - disk.device.iops
572     requirements:
573       link_FSB1_FSB1_OAM:
574       - FSB1_FSB1_OAM
575       - link
576       dependency_FSB1_FSB1_OAM:
577       - FSB1_FSB1_OAM
578       - dependency
579       dependency_FSB1:
580       - FSB1
581       - dependency
582       link_FSB1_FSB2_Internal:
583       - FSB1_FSB2_Internal
584       - link
585       dependency_FSB1_FSB1_Internal:
586       - FSB1_FSB1_Internal
587       - dependency
588       link_FSB1_FSB1_Internal:
589       - FSB1_FSB1_Internal
590       - link
591       local_storage_FSB1:
592       - FSB1
593       - local_storage
594       dependency_FSB1_FSB2_Internal:
595       - FSB1_FSB2_Internal
596       - dependency