[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 / dependencyConnectivity / out / Nested_b_single_1b_1ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_b_single_1b_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_1b:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_1b_t2_port_mac_requirements:
15       type: list
16       required: true
17       entry_schema:
18         type: json
19     compute_b_single_1b_availability_zone:
20       type: list
21       required: true
22       entry_schema:
23         type: string
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     compute_b_single_1b_scheduler_hints:
32       type: list
33       required: true
34       entry_schema:
35         type: json
36     port_1b_t2_port_ip_requirements:
37       type: list
38       required: true
39       entry_schema:
40         type: json
41     vm_flavor_name:
42       type: string
43       required: true
44     port_1b_t1_port_network_role_tag:
45       type: list
46       required: true
47       entry_schema:
48         type: string
49     port_1b_t1_port_ip_requirements:
50       type: list
51       required: true
52       entry_schema:
53         type: json
54     vm_image_name:
55       type: string
56       required: true
57     port_1b_t1_port_mac_requirements:
58       type: list
59       required: true
60       entry_schema:
61         type: json
62     port_1b_t2_port_network:
63       type: list
64       required: true
65       entry_schema:
66         type: string
67     compute_b_single_1b_user_data_format:
68       type: list
69       required: true
70       entry_schema:
71         type: string
72     port_1b_t1_port_network:
73       type: list
74       required: true
75       entry_schema:
76         type: string
77     compute_b_single_1b_name:
78       type: list
79       required: true
80       entry_schema:
81         type: string
82   node_templates:
83     b_single_1b:
84       type: org.openecomp.resource.vfc.nodes.heat.b_single_1b
85       properties:
86         availability_zone:
87           get_input:
88           - compute_b_single_1b_availability_zone
89           - index_value
90         flavor:
91           get_input: vm_flavor_name
92         image:
93           get_input: vm_image_name
94         name:
95           get_input:
96           - compute_b_single_1b_name
97           - index_value
98         scheduler_hints:
99           get_input:
100           - compute_b_single_1b_scheduler_hints
101           - index_value
102         user_data_format:
103           get_input:
104           - compute_b_single_1b_user_data_format
105           - index_value
106     b_single_1b_1b_t1_port:
107       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
108       properties:
109         ip_requirements:
110           get_input:
111           - port_1b_t1_port_ip_requirements
112           - index_value
113         network_role_tag:
114           get_input:
115           - port_1b_t1_port_network_role_tag
116           - index_value
117         mac_requirements:
118           get_input:
119           - port_1b_t1_port_mac_requirements
120           - index_value
121         network:
122           get_input:
123           - port_1b_t1_port_network
124           - index_value
125       requirements:
126       - binding:
127           capability: tosca.capabilities.network.Bindable
128           node: b_single_1b
129           relationship: tosca.relationships.network.BindsTo
130     b_single_1b_1b_t2_port:
131       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
132       properties:
133         ip_requirements:
134           get_input:
135           - port_1b_t2_port_ip_requirements
136           - index_value
137         mac_requirements:
138           get_input:
139           - port_1b_t2_port_mac_requirements
140           - index_value
141         network:
142           get_input:
143           - port_1b_t2_port_network
144           - index_value
145       requirements:
146       - binding:
147           capability: tosca.capabilities.network.Bindable
148           node: b_single_1b
149           relationship: tosca.relationships.network.BindsTo
150   outputs:
151     b_single_1b_instance_name:
152       type: list
153       value:
154         get_attribute:
155         - b_single_1b
156         - instance_name
157       entry_schema:
158         type: string
159     b_single_1b_1b_t1_port_tenant_id:
160       type: list
161       value:
162         get_attribute:
163         - b_single_1b_1b_t1_port
164         - tenant_id
165       entry_schema:
166         type: string
167   substitution_mappings:
168     node_type: org.openecomp.resource.abstract.nodes.b_single_1b_1
169     capabilities:
170       attachment_b_single_1b_1b_t2_port:
171       - b_single_1b_1b_t2_port
172       - attachment
173       endpoint_b_single_1b:
174       - b_single_1b
175       - endpoint
176       feature_b_single_1b:
177       - b_single_1b
178       - feature
179       disk.iops_b_single_1b:
180       - b_single_1b
181       - disk.iops
182       network.incoming.bytes.rate_b_single_1b_1b_t2_port:
183       - b_single_1b_1b_t2_port
184       - network.incoming.bytes.rate
185       network.outgoing.bytes.rate_b_single_1b_1b_t2_port:
186       - b_single_1b_1b_t2_port
187       - network.outgoing.bytes.rate
188       scalable_b_single_1b:
189       - b_single_1b
190       - scalable
191       disk.write.bytes_b_single_1b:
192       - b_single_1b
193       - disk.write.bytes
194       os_b_single_1b:
195       - b_single_1b
196       - os
197       vcpus_b_single_1b:
198       - b_single_1b
199       - vcpus
200       cpu_b_single_1b:
201       - b_single_1b
202       - cpu
203       disk.device.read.requests.rate_b_single_1b:
204       - b_single_1b
205       - disk.device.read.requests.rate
206       network.incoming.packets.rate_b_single_1b_1b_t2_port:
207       - b_single_1b_1b_t2_port
208       - network.incoming.packets.rate
209       instance_b_single_1b:
210       - b_single_1b
211       - instance
212       network.incoming.bytes.rate_b_single_1b_1b_t1_port:
213       - b_single_1b_1b_t1_port
214       - network.incoming.bytes.rate
215       disk.read.bytes_b_single_1b:
216       - b_single_1b
217       - disk.read.bytes
218       disk.device.latency_b_single_1b:
219       - b_single_1b
220       - disk.device.latency
221       disk.usage_b_single_1b:
222       - b_single_1b
223       - disk.usage
224       network.incoming.bytes_b_single_1b_1b_t1_port:
225       - b_single_1b_1b_t1_port
226       - network.incoming.bytes
227       disk.device.allocation_b_single_1b:
228       - b_single_1b
229       - disk.device.allocation
230       network.outgoing.packets.rate_b_single_1b_1b_t2_port:
231       - b_single_1b_1b_t2_port
232       - network.outgoing.packets.rate
233       disk.device.capacity_b_single_1b:
234       - b_single_1b
235       - disk.device.capacity
236       disk.latency_b_single_1b:
237       - b_single_1b
238       - disk.latency
239       network.incoming.packets_b_single_1b_1b_t2_port:
240       - b_single_1b_1b_t2_port
241       - network.incoming.packets
242       network.incoming.packets.rate_b_single_1b_1b_t1_port:
243       - b_single_1b_1b_t1_port
244       - network.incoming.packets.rate
245       attachment_b_single_1b_1b_t1_port:
246       - b_single_1b_1b_t1_port
247       - attachment
248       disk.device.write.requests_b_single_1b:
249       - b_single_1b
250       - disk.device.write.requests
251       binding_b_single_1b_1b_t2_port:
252       - b_single_1b_1b_t2_port
253       - binding
254       disk.ephemeral.size_b_single_1b:
255       - b_single_1b
256       - disk.ephemeral.size
257       disk.write.requests.rate_b_single_1b:
258       - b_single_1b
259       - disk.write.requests.rate
260       network.outpoing.packets_b_single_1b_1b_t2_port:
261       - b_single_1b_1b_t2_port
262       - network.outpoing.packets
263       disk.device.iops_b_single_1b:
264       - b_single_1b
265       - disk.device.iops
266       disk.read.requests_b_single_1b:
267       - b_single_1b
268       - disk.read.requests
269       memory.resident_b_single_1b:
270       - b_single_1b
271       - memory.resident
272       disk.root.size_b_single_1b:
273       - b_single_1b
274       - disk.root.size
275       feature_b_single_1b_1b_t1_port:
276       - b_single_1b_1b_t1_port
277       - feature
278       network.outgoing.bytes_b_single_1b_1b_t2_port:
279       - b_single_1b_1b_t2_port
280       - network.outgoing.bytes
281       disk.capacity_b_single_1b:
282       - b_single_1b
283       - disk.capacity
284       disk.device.write.bytes_b_single_1b:
285       - b_single_1b
286       - disk.device.write.bytes
287       disk.device.read.bytes_b_single_1b:
288       - b_single_1b
289       - disk.device.read.bytes
290       disk.device.read.bytes.rate_b_single_1b:
291       - b_single_1b
292       - disk.device.read.bytes.rate
293       cpu_util_b_single_1b:
294       - b_single_1b
295       - cpu_util
296       disk.write.requests_b_single_1b:
297       - b_single_1b
298       - disk.write.requests
299       network.outgoing.packets.rate_b_single_1b_1b_t1_port:
300       - b_single_1b_1b_t1_port
301       - network.outgoing.packets.rate
302       disk.device.usage_b_single_1b:
303       - b_single_1b
304       - disk.device.usage
305       disk.read.bytes.rate_b_single_1b:
306       - b_single_1b
307       - disk.read.bytes.rate
308       network.outgoing.bytes_b_single_1b_1b_t1_port:
309       - b_single_1b_1b_t1_port
310       - network.outgoing.bytes
311       disk.device.read.requests_b_single_1b:
312       - b_single_1b
313       - disk.device.read.requests
314       network.incoming.packets_b_single_1b_1b_t1_port:
315       - b_single_1b_1b_t1_port
316       - network.incoming.packets
317       binding_b_single_1b_1b_t1_port:
318       - b_single_1b_1b_t1_port
319       - binding
320       network.outpoing.packets_b_single_1b_1b_t1_port:
321       - b_single_1b_1b_t1_port
322       - network.outpoing.packets
323       disk.device.write.requests.rate_b_single_1b:
324       - b_single_1b
325       - disk.device.write.requests.rate
326       memory.usage_b_single_1b:
327       - b_single_1b
328       - memory.usage
329       disk.write.bytes.rate_b_single_1b:
330       - b_single_1b
331       - disk.write.bytes.rate
332       network.incoming.bytes_b_single_1b_1b_t2_port:
333       - b_single_1b_1b_t2_port
334       - network.incoming.bytes
335       network.outgoing.bytes.rate_b_single_1b_1b_t1_port:
336       - b_single_1b_1b_t1_port
337       - network.outgoing.bytes.rate
338       cpu.delta_b_single_1b:
339       - b_single_1b
340       - cpu.delta
341       disk.allocation_b_single_1b:
342       - b_single_1b
343       - disk.allocation
344       disk.device.write.bytes.rate_b_single_1b:
345       - b_single_1b
346       - disk.device.write.bytes.rate
347       memory_b_single_1b:
348       - b_single_1b
349       - memory
350       host_b_single_1b:
351       - b_single_1b
352       - host
353       binding_b_single_1b:
354       - b_single_1b
355       - binding
356       feature_b_single_1b_1b_t2_port:
357       - b_single_1b_1b_t2_port
358       - feature
359     requirements:
360       local_storage_b_single_1b:
361       - b_single_1b
362       - local_storage
363       dependency_b_single_1b_1b_t1_port:
364       - b_single_1b_1b_t1_port
365       - dependency
366       dependency_b_single_1b:
367       - b_single_1b
368       - dependency
369       link_b_single_1b_1b_t2_port:
370       - b_single_1b_1b_t2_port
371       - link
372       link_b_single_1b_1b_t1_port:
373       - b_single_1b_1b_t1_port
374       - link
375       dependency_b_single_1b_1b_t2_port:
376       - b_single_1b_1b_t2_port
377       - dependency