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