[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 / fulltest / mixPatterns / twoAppearancePerPatternWithConnectivities / out / Nested_b_single_2b_1ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_b_single_2b_1
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.b_single_2b:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     compute_b_single_2b_availability_zone:
15       type: list
16       required: true
17       entry_schema:
18         type: string
19     port_1b_t2_port_mac_requirements:
20       type: list
21       required: true
22       entry_schema:
23         type: json
24     index_value:
25       type: integer
26       description: Index value of this substitution service template runtime instance
27       required: false
28       default: 0
29       constraints:
30       - greater_or_equal: 0
31     port_1b_t2_port_ip_requirements:
32       type: list
33       required: true
34       entry_schema:
35         type: json
36     compute_b_single_2b_name:
37       type: list
38       required: true
39       entry_schema:
40         type: string
41     vm_flavor_name:
42       type: string
43       required: true
44     compute_b_single_2b_user_data_format:
45       type: list
46       required: true
47       entry_schema:
48         type: string
49     compute_b_single_2b_metadata:
50       type: list
51       required: true
52       entry_schema:
53         type: json
54     port_1b_t1_port_ip_requirements:
55       type: list
56       required: true
57       entry_schema:
58         type: json
59     vm_image_name:
60       type: string
61       required: true
62     port_1b_t1_port_mac_requirements:
63       type: list
64       required: true
65       entry_schema:
66         type: json
67     compute_b_single_2b_scheduler_hints:
68       type: list
69       required: true
70       entry_schema:
71         type: json
72     port_1b_t2_port_network:
73       type: list
74       required: true
75       entry_schema:
76         type: string
77   node_templates:
78     b_single_2b:
79       type: org.openecomp.resource.vfc.nodes.heat.b_single_2b
80       properties:
81         availability_zone:
82           get_input:
83           - compute_b_single_2b_availability_zone
84           - index_value
85         flavor:
86           get_input: vm_flavor_name
87         metadata:
88           get_input:
89           - compute_b_single_2b_metadata
90           - index_value
91         image:
92           get_input: vm_image_name
93         name:
94           get_input:
95           - compute_b_single_2b_name
96           - index_value
97         scheduler_hints:
98           get_input:
99           - compute_b_single_2b_scheduler_hints
100           - index_value
101         user_data_format:
102           get_input:
103           - compute_b_single_2b_user_data_format
104           - index_value
105     b_single_2b_1b_t1_port:
106       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
107       properties:
108         ip_requirements:
109           get_input:
110           - port_1b_t1_port_ip_requirements
111           - index_value
112         mac_requirements:
113           get_input:
114           - port_1b_t1_port_mac_requirements
115           - index_value
116         network:
117           get_attribute:
118           - b_single_2b
119           - accessIPv6
120       requirements:
121       - binding:
122           capability: tosca.capabilities.network.Bindable
123           node: b_single_2b
124           relationship: tosca.relationships.network.BindsTo
125     b_single_2b_1b_t2_port:
126       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
127       properties:
128         ip_requirements:
129           get_input:
130           - port_1b_t2_port_ip_requirements
131           - index_value
132         mac_requirements:
133           get_input:
134           - port_1b_t2_port_mac_requirements
135           - index_value
136         network:
137           get_input:
138           - port_1b_t2_port_network
139           - index_value
140       requirements:
141       - binding:
142           capability: tosca.capabilities.network.Bindable
143           node: b_single_2b
144           relationship: tosca.relationships.network.BindsTo
145   outputs:
146     b_single_2b_instance_name:
147       type: list
148       value:
149         get_attribute:
150         - b_single_2b
151         - instance_name
152       entry_schema:
153         type: string
154   substitution_mappings:
155     node_type: org.openecomp.resource.abstract.nodes.b_single_2b_1
156     capabilities:
157       disk.usage_b_single_2b:
158       - b_single_2b
159       - disk.usage
160       network.incoming.bytes.rate_b_single_2b_1b_t2_port:
161       - b_single_2b_1b_t2_port
162       - network.incoming.bytes.rate
163       network.outgoing.bytes.rate_b_single_2b_1b_t2_port:
164       - b_single_2b_1b_t2_port
165       - network.outgoing.bytes.rate
166       attachment_b_single_2b_1b_t2_port:
167       - b_single_2b_1b_t2_port
168       - attachment
169       disk.write.bytes.rate_b_single_2b:
170       - b_single_2b
171       - disk.write.bytes.rate
172       disk.device.capacity_b_single_2b:
173       - b_single_2b
174       - disk.device.capacity
175       cpu.delta_b_single_2b:
176       - b_single_2b
177       - cpu.delta
178       host_b_single_2b:
179       - b_single_2b
180       - host
181       disk.device.write.requests_b_single_2b:
182       - b_single_2b
183       - disk.device.write.requests
184       network.incoming.packets.rate_b_single_2b_1b_t2_port:
185       - b_single_2b_1b_t2_port
186       - network.incoming.packets.rate
187       disk.read.bytes_b_single_2b:
188       - b_single_2b
189       - disk.read.bytes
190       disk.device.iops_b_single_2b:
191       - b_single_2b
192       - disk.device.iops
193       disk.ephemeral.size_b_single_2b:
194       - b_single_2b
195       - disk.ephemeral.size
196       network.incoming.bytes.rate_b_single_2b_1b_t1_port:
197       - b_single_2b_1b_t1_port
198       - network.incoming.bytes.rate
199       network.incoming.bytes_b_single_2b_1b_t1_port:
200       - b_single_2b_1b_t1_port
201       - network.incoming.bytes
202       disk.write.requests.rate_b_single_2b:
203       - b_single_2b
204       - disk.write.requests.rate
205       feature_b_single_2b:
206       - b_single_2b
207       - feature
208       memory.resident_b_single_2b:
209       - b_single_2b
210       - memory.resident
211       disk.write.requests_b_single_2b:
212       - b_single_2b
213       - disk.write.requests
214       network.outgoing.packets.rate_b_single_2b_1b_t2_port:
215       - b_single_2b_1b_t2_port
216       - network.outgoing.packets.rate
217       disk.capacity_b_single_2b:
218       - b_single_2b
219       - disk.capacity
220       disk.device.read.bytes_b_single_2b:
221       - b_single_2b
222       - disk.device.read.bytes
223       network.incoming.packets.rate_b_single_2b_1b_t1_port:
224       - b_single_2b_1b_t1_port
225       - network.incoming.packets.rate
226       attachment_b_single_2b_1b_t1_port:
227       - b_single_2b_1b_t1_port
228       - attachment
229       disk.write.bytes_b_single_2b:
230       - b_single_2b
231       - disk.write.bytes
232       network.incoming.packets_b_single_2b_1b_t2_port:
233       - b_single_2b_1b_t2_port
234       - network.incoming.packets
235       vcpus_b_single_2b:
236       - b_single_2b
237       - vcpus
238       disk.device.read.requests.rate_b_single_2b:
239       - b_single_2b
240       - disk.device.read.requests.rate
241       binding_b_single_2b_1b_t2_port:
242       - b_single_2b_1b_t2_port
243       - binding
244       instance_b_single_2b:
245       - b_single_2b
246       - instance
247       network.outpoing.packets_b_single_2b_1b_t2_port:
248       - b_single_2b_1b_t2_port
249       - network.outpoing.packets
250       disk.device.read.requests_b_single_2b:
251       - b_single_2b
252       - disk.device.read.requests
253       disk.device.latency_b_single_2b:
254       - b_single_2b
255       - disk.device.latency
256       network.outgoing.bytes_b_single_2b_1b_t2_port:
257       - b_single_2b_1b_t2_port
258       - network.outgoing.bytes
259       disk.device.allocation_b_single_2b:
260       - b_single_2b
261       - disk.device.allocation
262       disk.latency_b_single_2b:
263       - b_single_2b
264       - disk.latency
265       feature_b_single_2b_1b_t1_port:
266       - b_single_2b_1b_t1_port
267       - feature
268       disk.device.read.bytes.rate_b_single_2b:
269       - b_single_2b
270       - disk.device.read.bytes.rate
271       network.outpoing.packets_b_single_2b_1b_t1_port:
272       - b_single_2b_1b_t1_port
273       - network.outpoing.packets
274       disk.device.write.bytes.rate_b_single_2b:
275       - b_single_2b
276       - disk.device.write.bytes.rate
277       disk.allocation_b_single_2b:
278       - b_single_2b
279       - disk.allocation
280       memory_b_single_2b:
281       - b_single_2b
282       - memory
283       network.outgoing.packets.rate_b_single_2b_1b_t1_port:
284       - b_single_2b_1b_t1_port
285       - network.outgoing.packets.rate
286       binding_b_single_2b:
287       - b_single_2b
288       - binding
289       network.incoming.packets_b_single_2b_1b_t1_port:
290       - b_single_2b_1b_t1_port
291       - network.incoming.packets
292       network.outgoing.bytes_b_single_2b_1b_t1_port:
293       - b_single_2b_1b_t1_port
294       - network.outgoing.bytes
295       binding_b_single_2b_1b_t1_port:
296       - b_single_2b_1b_t1_port
297       - binding
298       feature_b_single_2b_1b_t2_port:
299       - b_single_2b_1b_t2_port
300       - feature
301       os_b_single_2b:
302       - b_single_2b
303       - os
304       disk.root.size_b_single_2b:
305       - b_single_2b
306       - disk.root.size
307       disk.read.requests_b_single_2b:
308       - b_single_2b
309       - disk.read.requests
310       endpoint_b_single_2b:
311       - b_single_2b
312       - endpoint
313       disk.iops_b_single_2b:
314       - b_single_2b
315       - disk.iops
316       disk.device.write.bytes_b_single_2b:
317       - b_single_2b
318       - disk.device.write.bytes
319       scalable_b_single_2b:
320       - b_single_2b
321       - scalable
322       memory.usage_b_single_2b:
323       - b_single_2b
324       - memory.usage
325       cpu_util_b_single_2b:
326       - b_single_2b
327       - cpu_util
328       disk.device.usage_b_single_2b:
329       - b_single_2b
330       - disk.device.usage
331       disk.device.write.requests.rate_b_single_2b:
332       - b_single_2b
333       - disk.device.write.requests.rate
334       cpu_b_single_2b:
335       - b_single_2b
336       - cpu
337       disk.read.bytes.rate_b_single_2b:
338       - b_single_2b
339       - disk.read.bytes.rate
340       network.incoming.bytes_b_single_2b_1b_t2_port:
341       - b_single_2b_1b_t2_port
342       - network.incoming.bytes
343       network.outgoing.bytes.rate_b_single_2b_1b_t1_port:
344       - b_single_2b_1b_t1_port
345       - network.outgoing.bytes.rate
346     requirements:
347       local_storage_b_single_2b:
348       - b_single_2b
349       - local_storage
350       dependency_b_single_2b:
351       - b_single_2b
352       - dependency
353       link_b_single_2b_1b_t2_port:
354       - b_single_2b_1b_t2_port
355       - link
356       link_b_single_2b_1b_t1_port:
357       - b_single_2b_1b_t1_port
358       - link
359       dependency_b_single_2b_1b_t2_port:
360       - b_single_2b_1b_t2_port
361       - dependency
362       dependency_b_single_2b_1b_t1_port:
363       - b_single_2b_1b_t1_port
364       - dependency