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