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