b20af41093e9f858b887c914a0858c08dee7bec4
[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: list
16       required: true
17       entry_schema:
18         type: string
19     compute_FSB1_metadata:
20       type: list
21       required: true
22       entry_schema:
23         type: json
24     port_FSB_OAM_fixed_ips:
25       type: list
26       required: true
27       entry_schema:
28         type: json
29     compute_FSB1_availability_zone:
30       type: list
31       required: true
32       entry_schema:
33         type: string
34     port_FSB1_Internal_network:
35       type: list
36       required: true
37       entry_schema:
38         type: string
39     index_value:
40       type: integer
41       description: Index value of this substitution service template runtime instance
42       required: false
43       default: 0
44       constraints:
45       - greater_or_equal: 0
46     port_FSB2_Internal_network:
47       type: list
48       required: true
49       entry_schema:
50         type: string
51     compute_FSB1_name:
52       type: list
53       required: true
54       entry_schema:
55         type: string
56     vm_flavor_name:
57       type: string
58       required: true
59     port_FSB2_Internal_mac_address:
60       type: list
61       required: true
62       entry_schema:
63         type: string
64     port_FSB_OAM_network:
65       type: list
66       required: true
67       entry_schema:
68         type: string
69   node_templates:
70     FSB1_FSB1_Internal:
71       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
72       properties:
73         network:
74           get_input:
75           - port_FSB1_Internal_network
76           - index_value
77         mac_address:
78           get_input:
79           - port_FSB1_Internal_mac_address
80           - index_value
81       requirements:
82       - binding:
83           capability: tosca.capabilities.network.Bindable
84           node: FSB1
85           relationship: tosca.relationships.network.BindsTo
86     FSB1_FSB2_Internal:
87       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
88       properties:
89         network:
90           get_input:
91           - port_FSB2_Internal_network
92           - index_value
93         mac_address:
94           get_input:
95           - port_FSB2_Internal_mac_address
96           - index_value
97       requirements:
98       - binding:
99           capability: tosca.capabilities.network.Bindable
100           node: FSB1
101           relationship: tosca.relationships.network.BindsTo
102     FSB1_FSB_OAM:
103       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
104       properties:
105         fixed_ips:
106           get_input:
107           - port_FSB_OAM_fixed_ips
108           - index_value
109         network:
110           get_input:
111           - port_FSB_OAM_network
112           - index_value
113       requirements:
114       - binding:
115           capability: tosca.capabilities.network.Bindable
116           node: FSB1
117           relationship: tosca.relationships.network.BindsTo
118     FSB1:
119       type: org.openecomp.resource.vfc.nodes.heat.FSB1
120       properties:
121         availability_zone:
122           get_input:
123           - compute_FSB1_availability_zone
124           - index_value
125         flavor:
126           get_input: vm_flavor_name
127         metadata:
128           get_input:
129           - compute_FSB1_metadata
130           - index_value
131         name:
132           get_input:
133           - compute_FSB1_name
134           - index_value
135       artifacts:
136         nimbus-ethernet-gw:
137           type: tosca.artifacts.Deployment
138           file: ../Artifacts/nimbus-ethernet-gw
139         nimbus-ethernet:
140           type: tosca.artifacts.Deployment
141           file: ../Artifacts/nimbus-ethernet
142   outputs:
143     FSB1_FSB1_Internal_network_id:
144       type: list
145       value:
146         get_attribute:
147         - FSB1_FSB1_Internal
148         - network_id
149       entry_schema:
150         type: string
151     FSB1_FSB1_Internal_addresses:
152       type: list
153       value:
154         get_attribute:
155         - FSB1_FSB1_Internal
156         - addresses
157       entry_schema:
158         type: string
159     FSB1_accessIPv6:
160       type: list
161       value:
162         get_attribute:
163         - FSB1
164         - accessIPv6
165       entry_schema:
166         type: string
167     FSB1_addresses:
168       type: list
169       value:
170         get_attribute:
171         - FSB1
172         - addresses
173       entry_schema:
174         type: string
175     FSB1_FSB2_Internal_network_id:
176       type: list
177       value:
178         get_attribute:
179         - FSB1_FSB2_Internal
180         - network_id
181       entry_schema:
182         type: string
183     FSB1_FSB2_Internal_index:
184       type: list
185       value:
186         get_attribute:
187         - FSB1_FSB2_Internal
188         - index
189       entry_schema:
190         type: string
191     FSB1_FSB_OAM_oam_index:
192       type: list
193       value:
194         get_attribute:
195         - FSB1_FSB_OAM
196         - oam_index
197       entry_schema:
198         type: string
199   substitution_mappings:
200     node_type: org.openecomp.resource.abstract.nodes.FSB1
201     capabilities:
202       network.outgoing.packets.rate_FSB1_FSB_OAM:
203       - FSB1_FSB_OAM
204       - network.outgoing.packets.rate
205       attachment_FSB1_FSB_OAM:
206       - FSB1_FSB_OAM
207       - attachment
208       binding_FSB1_FSB_OAM:
209       - FSB1_FSB_OAM
210       - binding
211       binding_FSB1_FSB2_Internal:
212       - FSB1_FSB2_Internal
213       - binding
214       disk.capacity_FSB1:
215       - FSB1
216       - disk.capacity
217       disk.read.bytes.rate_FSB1:
218       - FSB1
219       - disk.read.bytes.rate
220       disk.device.latency_FSB1:
221       - FSB1
222       - disk.device.latency
223       disk.allocation_FSB1:
224       - FSB1
225       - disk.allocation
226       disk.read.bytes_FSB1:
227       - FSB1
228       - disk.read.bytes
229       disk.device.capacity_FSB1:
230       - FSB1
231       - disk.device.capacity
232       cpu_util_FSB1:
233       - FSB1
234       - cpu_util
235       disk.device.write.requests.rate_FSB1:
236       - FSB1
237       - disk.device.write.requests.rate
238       disk.root.size_FSB1:
239       - FSB1
240       - disk.root.size
241       network.outgoing.bytes.rate_FSB1_FSB_OAM:
242       - FSB1_FSB_OAM
243       - network.outgoing.bytes.rate
244       feature_FSB1:
245       - FSB1
246       - feature
247       network.incoming.packets.rate_FSB1_FSB1_Internal:
248       - FSB1_FSB1_Internal
249       - network.incoming.packets.rate
250       network.outgoing.bytes_FSB1_FSB1_Internal:
251       - FSB1_FSB1_Internal
252       - network.outgoing.bytes
253       attachment_FSB1_FSB2_Internal:
254       - FSB1_FSB2_Internal
255       - attachment
256       feature_FSB1_FSB2_Internal:
257       - FSB1_FSB2_Internal
258       - feature
259       network.incoming.packets_FSB1_FSB2_Internal:
260       - FSB1_FSB2_Internal
261       - network.incoming.packets
262       feature_FSB1_FSB_OAM:
263       - FSB1_FSB_OAM
264       - feature
265       memory.resident_FSB1:
266       - FSB1
267       - memory.resident
268       network.incoming.packets.rate_FSB1_FSB2_Internal:
269       - FSB1_FSB2_Internal
270       - network.incoming.packets.rate
271       cpu_FSB1:
272       - FSB1
273       - cpu
274       disk.write.requests.rate_FSB1:
275       - FSB1
276       - disk.write.requests.rate
277       instance_FSB1:
278       - FSB1
279       - instance
280       network.incoming.bytes_FSB1_FSB_OAM:
281       - FSB1_FSB_OAM
282       - network.incoming.bytes
283       disk.device.read.bytes.rate_FSB1:
284       - FSB1
285       - disk.device.read.bytes.rate
286       cpu.delta_FSB1:
287       - FSB1
288       - cpu.delta
289       disk.write.bytes_FSB1:
290       - FSB1
291       - disk.write.bytes
292       binding_FSB1_FSB1_Internal:
293       - FSB1_FSB1_Internal
294       - binding
295       disk.device.read.requests.rate_FSB1:
296       - FSB1
297       - disk.device.read.requests.rate
298       feature_FSB1_FSB1_Internal:
299       - FSB1_FSB1_Internal
300       - feature
301       disk.device.read.requests_FSB1:
302       - FSB1
303       - disk.device.read.requests
304       disk.ephemeral.size_FSB1:
305       - FSB1
306       - disk.ephemeral.size
307       binding_FSB1:
308       - FSB1
309       - binding
310       disk.device.write.bytes_FSB1:
311       - FSB1
312       - disk.device.write.bytes
313       network.outpoing.packets_FSB1_FSB_OAM:
314       - FSB1_FSB_OAM
315       - network.outpoing.packets
316       network.incoming.packets_FSB1_FSB1_Internal:
317       - FSB1_FSB1_Internal
318       - network.incoming.packets
319       attachment_FSB1_FSB1_Internal:
320       - FSB1_FSB1_Internal
321       - attachment
322       memory_FSB1:
323       - FSB1
324       - memory
325       network.incoming.bytes.rate_FSB1_FSB_OAM:
326       - FSB1_FSB_OAM
327       - network.incoming.bytes.rate
328       network.outpoing.packets_FSB1_FSB1_Internal:
329       - FSB1_FSB1_Internal
330       - network.outpoing.packets
331       network.outgoing.bytes.rate_FSB1_FSB2_Internal:
332       - FSB1_FSB2_Internal
333       - network.outgoing.bytes.rate
334       network.outgoing.bytes_FSB1_FSB_OAM:
335       - FSB1_FSB_OAM
336       - network.outgoing.bytes
337       disk.device.read.bytes_FSB1:
338       - FSB1
339       - disk.device.read.bytes
340       disk.device.usage_FSB1:
341       - FSB1
342       - disk.device.usage
343       disk.write.bytes.rate_FSB1:
344       - FSB1
345       - disk.write.bytes.rate
346       scalable_FSB1:
347       - FSB1
348       - scalable
349       disk.usage_FSB1:
350       - FSB1
351       - disk.usage
352       host_FSB1:
353       - FSB1
354       - host
355       disk.device.allocation_FSB1:
356       - FSB1
357       - disk.device.allocation
358       os_FSB1:
359       - FSB1
360       - os
361       vcpus_FSB1:
362       - FSB1
363       - vcpus
364       disk.write.requests_FSB1:
365       - FSB1
366       - disk.write.requests
367       network.incoming.packets.rate_FSB1_FSB_OAM:
368       - FSB1_FSB_OAM
369       - network.incoming.packets.rate
370       network.outgoing.bytes_FSB1_FSB2_Internal:
371       - FSB1_FSB2_Internal
372       - network.outgoing.bytes
373       network.incoming.bytes_FSB1_FSB1_Internal:
374       - FSB1_FSB1_Internal
375       - network.incoming.bytes
376       network.outpoing.packets_FSB1_FSB2_Internal:
377       - FSB1_FSB2_Internal
378       - network.outpoing.packets
379       disk.device.write.bytes.rate_FSB1:
380       - FSB1
381       - disk.device.write.bytes.rate
382       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
383       - FSB1_FSB1_Internal
384       - network.outgoing.bytes.rate
385       endpoint_FSB1:
386       - FSB1
387       - endpoint
388       network.outgoing.packets.rate_FSB1_FSB1_Internal:
389       - FSB1_FSB1_Internal
390       - network.outgoing.packets.rate
391       network.incoming.bytes.rate_FSB1_FSB1_Internal:
392       - FSB1_FSB1_Internal
393       - network.incoming.bytes.rate
394       disk.latency_FSB1:
395       - FSB1
396       - disk.latency
397       memory.usage_FSB1:
398       - FSB1
399       - memory.usage
400       disk.read.requests_FSB1:
401       - FSB1
402       - disk.read.requests
403       network.incoming.packets_FSB1_FSB_OAM:
404       - FSB1_FSB_OAM
405       - network.incoming.packets
406       disk.device.write.requests_FSB1:
407       - FSB1
408       - disk.device.write.requests
409       network.incoming.bytes.rate_FSB1_FSB2_Internal:
410       - FSB1_FSB2_Internal
411       - network.incoming.bytes.rate
412       network.incoming.bytes_FSB1_FSB2_Internal:
413       - FSB1_FSB2_Internal
414       - network.incoming.bytes
415       disk.iops_FSB1:
416       - FSB1
417       - disk.iops
418       network.outgoing.packets.rate_FSB1_FSB2_Internal:
419       - FSB1_FSB2_Internal
420       - network.outgoing.packets.rate
421       disk.device.iops_FSB1:
422       - FSB1
423       - disk.device.iops
424     requirements:
425       dependency_FSB1:
426       - FSB1
427       - dependency
428       link_FSB1_FSB2_Internal:
429       - FSB1_FSB2_Internal
430       - link
431       dependency_FSB1_FSB1_Internal:
432       - FSB1_FSB1_Internal
433       - dependency
434       link_FSB1_FSB1_Internal:
435       - FSB1_FSB1_Internal
436       - link
437       local_storage_FSB1:
438       - FSB1
439       - local_storage
440       dependency_FSB1_FSB_OAM:
441       - FSB1_FSB_OAM
442       - dependency
443       link_FSB1_FSB_OAM:
444       - FSB1_FSB_OAM
445       - link
446       dependency_FSB1_FSB2_Internal:
447       - FSB1_FSB2_Internal
448       - dependency