[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 / connectivityBetweenPatterns / 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     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_ip_requirements:
45       type: list
46       required: true
47       entry_schema:
48         type: json
49     vm_image_name:
50       type: string
51       required: true
52     compute_b_single_1b_metadata:
53       type: list
54       required: true
55       entry_schema:
56         type: json
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     compute_b_single_1b_name:
73       type: list
74       required: true
75       entry_schema:
76         type: string
77   node_templates:
78     b_single_1b:
79       type: org.openecomp.resource.vfc.nodes.heat.b_single_1b
80       properties:
81         availability_zone:
82           get_input:
83           - compute_b_single_1b_availability_zone
84           - index_value
85         flavor:
86           get_input: vm_flavor_name
87         metadata:
88           get_input:
89           - compute_b_single_1b_metadata
90           - index_value
91         image:
92           get_input: vm_image_name
93         name:
94           get_input:
95           - compute_b_single_1b_name
96           - index_value
97         scheduler_hints:
98           get_input:
99           - compute_b_single_1b_scheduler_hints
100           - index_value
101         user_data_format:
102           get_input:
103           - compute_b_single_1b_user_data_format
104           - index_value
105     b_single_1b_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_1b
119           - accessIPv6
120       requirements:
121       - binding:
122           capability: tosca.capabilities.network.Bindable
123           node: b_single_1b
124           relationship: tosca.relationships.network.BindsTo
125     b_single_1b_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_1b
144           relationship: tosca.relationships.network.BindsTo
145   outputs:
146     b_single_1b_instance_name:
147       type: list
148       value:
149         get_attribute:
150         - b_single_1b
151         - instance_name
152       entry_schema:
153         type: string
154     b_single_1b_1b_t1_port_tenant_id:
155       type: list
156       value:
157         get_attribute:
158         - b_single_1b_1b_t1_port
159         - tenant_id
160       entry_schema:
161         type: string
162   substitution_mappings:
163     node_type: org.openecomp.resource.abstract.nodes.b_single_1b_0
164     capabilities:
165       attachment_b_single_1b_1b_t2_port:
166       - b_single_1b_1b_t2_port
167       - attachment
168       endpoint_b_single_1b:
169       - b_single_1b
170       - endpoint
171       feature_b_single_1b:
172       - b_single_1b
173       - feature
174       disk.iops_b_single_1b:
175       - b_single_1b
176       - disk.iops
177       network.incoming.bytes.rate_b_single_1b_1b_t2_port:
178       - b_single_1b_1b_t2_port
179       - network.incoming.bytes.rate
180       network.outgoing.bytes.rate_b_single_1b_1b_t2_port:
181       - b_single_1b_1b_t2_port
182       - network.outgoing.bytes.rate
183       scalable_b_single_1b:
184       - b_single_1b
185       - scalable
186       disk.write.bytes_b_single_1b:
187       - b_single_1b
188       - disk.write.bytes
189       os_b_single_1b:
190       - b_single_1b
191       - os
192       vcpus_b_single_1b:
193       - b_single_1b
194       - vcpus
195       cpu_b_single_1b:
196       - b_single_1b
197       - cpu
198       disk.device.read.requests.rate_b_single_1b:
199       - b_single_1b
200       - disk.device.read.requests.rate
201       network.incoming.packets.rate_b_single_1b_1b_t2_port:
202       - b_single_1b_1b_t2_port
203       - network.incoming.packets.rate
204       instance_b_single_1b:
205       - b_single_1b
206       - instance
207       network.incoming.bytes.rate_b_single_1b_1b_t1_port:
208       - b_single_1b_1b_t1_port
209       - network.incoming.bytes.rate
210       disk.read.bytes_b_single_1b:
211       - b_single_1b
212       - disk.read.bytes
213       disk.device.latency_b_single_1b:
214       - b_single_1b
215       - disk.device.latency
216       disk.usage_b_single_1b:
217       - b_single_1b
218       - disk.usage
219       network.incoming.bytes_b_single_1b_1b_t1_port:
220       - b_single_1b_1b_t1_port
221       - network.incoming.bytes
222       disk.device.allocation_b_single_1b:
223       - b_single_1b
224       - disk.device.allocation
225       network.outgoing.packets.rate_b_single_1b_1b_t2_port:
226       - b_single_1b_1b_t2_port
227       - network.outgoing.packets.rate
228       disk.device.capacity_b_single_1b:
229       - b_single_1b
230       - disk.device.capacity
231       disk.latency_b_single_1b:
232       - b_single_1b
233       - disk.latency
234       network.incoming.packets_b_single_1b_1b_t2_port:
235       - b_single_1b_1b_t2_port
236       - network.incoming.packets
237       network.incoming.packets.rate_b_single_1b_1b_t1_port:
238       - b_single_1b_1b_t1_port
239       - network.incoming.packets.rate
240       attachment_b_single_1b_1b_t1_port:
241       - b_single_1b_1b_t1_port
242       - attachment
243       disk.device.write.requests_b_single_1b:
244       - b_single_1b
245       - disk.device.write.requests
246       binding_b_single_1b_1b_t2_port:
247       - b_single_1b_1b_t2_port
248       - binding
249       disk.ephemeral.size_b_single_1b:
250       - b_single_1b
251       - disk.ephemeral.size
252       disk.write.requests.rate_b_single_1b:
253       - b_single_1b
254       - disk.write.requests.rate
255       network.outpoing.packets_b_single_1b_1b_t2_port:
256       - b_single_1b_1b_t2_port
257       - network.outpoing.packets
258       disk.device.iops_b_single_1b:
259       - b_single_1b
260       - disk.device.iops
261       disk.read.requests_b_single_1b:
262       - b_single_1b
263       - disk.read.requests
264       memory.resident_b_single_1b:
265       - b_single_1b
266       - memory.resident
267       disk.root.size_b_single_1b:
268       - b_single_1b
269       - disk.root.size
270       feature_b_single_1b_1b_t1_port:
271       - b_single_1b_1b_t1_port
272       - feature
273       network.outgoing.bytes_b_single_1b_1b_t2_port:
274       - b_single_1b_1b_t2_port
275       - network.outgoing.bytes
276       disk.capacity_b_single_1b:
277       - b_single_1b
278       - disk.capacity
279       disk.device.write.bytes_b_single_1b:
280       - b_single_1b
281       - disk.device.write.bytes
282       disk.device.read.bytes_b_single_1b:
283       - b_single_1b
284       - disk.device.read.bytes
285       disk.device.read.bytes.rate_b_single_1b:
286       - b_single_1b
287       - disk.device.read.bytes.rate
288       cpu_util_b_single_1b:
289       - b_single_1b
290       - cpu_util
291       disk.write.requests_b_single_1b:
292       - b_single_1b
293       - disk.write.requests
294       network.outgoing.packets.rate_b_single_1b_1b_t1_port:
295       - b_single_1b_1b_t1_port
296       - network.outgoing.packets.rate
297       disk.device.usage_b_single_1b:
298       - b_single_1b
299       - disk.device.usage
300       disk.read.bytes.rate_b_single_1b:
301       - b_single_1b
302       - disk.read.bytes.rate
303       network.outgoing.bytes_b_single_1b_1b_t1_port:
304       - b_single_1b_1b_t1_port
305       - network.outgoing.bytes
306       disk.device.read.requests_b_single_1b:
307       - b_single_1b
308       - disk.device.read.requests
309       network.incoming.packets_b_single_1b_1b_t1_port:
310       - b_single_1b_1b_t1_port
311       - network.incoming.packets
312       binding_b_single_1b_1b_t1_port:
313       - b_single_1b_1b_t1_port
314       - binding
315       network.outpoing.packets_b_single_1b_1b_t1_port:
316       - b_single_1b_1b_t1_port
317       - network.outpoing.packets
318       disk.device.write.requests.rate_b_single_1b:
319       - b_single_1b
320       - disk.device.write.requests.rate
321       memory.usage_b_single_1b:
322       - b_single_1b
323       - memory.usage
324       disk.write.bytes.rate_b_single_1b:
325       - b_single_1b
326       - disk.write.bytes.rate
327       network.incoming.bytes_b_single_1b_1b_t2_port:
328       - b_single_1b_1b_t2_port
329       - network.incoming.bytes
330       network.outgoing.bytes.rate_b_single_1b_1b_t1_port:
331       - b_single_1b_1b_t1_port
332       - network.outgoing.bytes.rate
333       cpu.delta_b_single_1b:
334       - b_single_1b
335       - cpu.delta
336       disk.allocation_b_single_1b:
337       - b_single_1b
338       - disk.allocation
339       disk.device.write.bytes.rate_b_single_1b:
340       - b_single_1b
341       - disk.device.write.bytes.rate
342       memory_b_single_1b:
343       - b_single_1b
344       - memory
345       host_b_single_1b:
346       - b_single_1b
347       - host
348       binding_b_single_1b:
349       - b_single_1b
350       - binding
351       feature_b_single_1b_1b_t2_port:
352       - b_single_1b_1b_t2_port
353       - feature
354     requirements:
355       local_storage_b_single_1b:
356       - b_single_1b
357       - local_storage
358       dependency_b_single_1b_1b_t1_port:
359       - b_single_1b_1b_t1_port
360       - dependency
361       dependency_b_single_1b:
362       - b_single_1b
363       - dependency
364       link_b_single_1b_1b_t2_port:
365       - b_single_1b_1b_t2_port
366       - link
367       link_b_single_1b_1b_t1_port:
368       - b_single_1b_1b_t1_port
369       - link
370       dependency_b_single_1b_1b_t2_port:
371       - b_single_1b_1b_t2_port
372       - dependency