8fb57944dbe515f59b126b85e07f7d217f20f6c9
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_b_single_2b_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_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     port_1b_t1_port_value_specs:
45       type: list
46       required: true
47       entry_schema:
48         type: json
49     compute_b_single_2b_user_data_format:
50       type: list
51       required: true
52       entry_schema:
53         type: string
54     port_1b_t1_port_network_role_tag:
55       type: list
56       required: true
57       entry_schema:
58         type: string
59     port_1b_t1_port_ip_requirements:
60       type: list
61       required: true
62       entry_schema:
63         type: json
64     vm_image_name:
65       type: string
66       required: true
67     port_1b_t1_port_mac_requirements:
68       type: list
69       required: true
70       entry_schema:
71         type: json
72     compute_b_single_2b_scheduler_hints:
73       type: list
74       required: true
75       entry_schema:
76         type: json
77     port_1b_t2_port_network:
78       type: list
79       required: true
80       entry_schema:
81         type: string
82     port_1b_t1_port_network:
83       type: list
84       required: true
85       entry_schema:
86         type: string
87   node_templates:
88     b_single_2b:
89       type: org.openecomp.resource.vfc.nodes.heat.b_single_2b
90       properties:
91         availability_zone:
92           get_input:
93           - compute_b_single_2b_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_2b_name
102           - index_value
103         scheduler_hints:
104           get_input:
105           - compute_b_single_2b_scheduler_hints
106           - index_value
107         user_data_format:
108           get_input:
109           - compute_b_single_2b_user_data_format
110           - index_value
111     b_single_2b_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_2b
138           relationship: tosca.relationships.network.BindsTo
139     b_single_2b_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_2b
158           relationship: tosca.relationships.network.BindsTo
159   outputs:
160     b_single_2b_instance_name:
161       type: list
162       value:
163         get_attribute:
164         - b_single_2b
165         - instance_name
166       entry_schema:
167         type: string
168   substitution_mappings:
169     node_type: org.openecomp.resource.abstract.nodes.b_single_2b_0
170     capabilities:
171       disk.usage_b_single_2b:
172       - b_single_2b
173       - disk.usage
174       network.incoming.bytes.rate_b_single_2b_1b_t2_port:
175       - b_single_2b_1b_t2_port
176       - network.incoming.bytes.rate
177       network.outgoing.bytes.rate_b_single_2b_1b_t2_port:
178       - b_single_2b_1b_t2_port
179       - network.outgoing.bytes.rate
180       attachment_b_single_2b_1b_t2_port:
181       - b_single_2b_1b_t2_port
182       - attachment
183       disk.write.bytes.rate_b_single_2b:
184       - b_single_2b
185       - disk.write.bytes.rate
186       disk.device.capacity_b_single_2b:
187       - b_single_2b
188       - disk.device.capacity
189       cpu.delta_b_single_2b:
190       - b_single_2b
191       - cpu.delta
192       host_b_single_2b:
193       - b_single_2b
194       - host
195       disk.device.write.requests_b_single_2b:
196       - b_single_2b
197       - disk.device.write.requests
198       network.incoming.packets.rate_b_single_2b_1b_t2_port:
199       - b_single_2b_1b_t2_port
200       - network.incoming.packets.rate
201       disk.read.bytes_b_single_2b:
202       - b_single_2b
203       - disk.read.bytes
204       disk.device.iops_b_single_2b:
205       - b_single_2b
206       - disk.device.iops
207       disk.ephemeral.size_b_single_2b:
208       - b_single_2b
209       - disk.ephemeral.size
210       network.incoming.bytes.rate_b_single_2b_1b_t1_port:
211       - b_single_2b_1b_t1_port
212       - network.incoming.bytes.rate
213       network.incoming.bytes_b_single_2b_1b_t1_port:
214       - b_single_2b_1b_t1_port
215       - network.incoming.bytes
216       disk.write.requests.rate_b_single_2b:
217       - b_single_2b
218       - disk.write.requests.rate
219       feature_b_single_2b:
220       - b_single_2b
221       - feature
222       memory.resident_b_single_2b:
223       - b_single_2b
224       - memory.resident
225       disk.write.requests_b_single_2b:
226       - b_single_2b
227       - disk.write.requests
228       network.outgoing.packets.rate_b_single_2b_1b_t2_port:
229       - b_single_2b_1b_t2_port
230       - network.outgoing.packets.rate
231       disk.capacity_b_single_2b:
232       - b_single_2b
233       - disk.capacity
234       disk.device.read.bytes_b_single_2b:
235       - b_single_2b
236       - disk.device.read.bytes
237       network.incoming.packets.rate_b_single_2b_1b_t1_port:
238       - b_single_2b_1b_t1_port
239       - network.incoming.packets.rate
240       attachment_b_single_2b_1b_t1_port:
241       - b_single_2b_1b_t1_port
242       - attachment
243       disk.write.bytes_b_single_2b:
244       - b_single_2b
245       - disk.write.bytes
246       network.incoming.packets_b_single_2b_1b_t2_port:
247       - b_single_2b_1b_t2_port
248       - network.incoming.packets
249       vcpus_b_single_2b:
250       - b_single_2b
251       - vcpus
252       disk.device.read.requests.rate_b_single_2b:
253       - b_single_2b
254       - disk.device.read.requests.rate
255       binding_b_single_2b_1b_t2_port:
256       - b_single_2b_1b_t2_port
257       - binding
258       instance_b_single_2b:
259       - b_single_2b
260       - instance
261       network.outpoing.packets_b_single_2b_1b_t2_port:
262       - b_single_2b_1b_t2_port
263       - network.outpoing.packets
264       disk.device.read.requests_b_single_2b:
265       - b_single_2b
266       - disk.device.read.requests
267       disk.device.latency_b_single_2b:
268       - b_single_2b
269       - disk.device.latency
270       network.outgoing.bytes_b_single_2b_1b_t2_port:
271       - b_single_2b_1b_t2_port
272       - network.outgoing.bytes
273       disk.device.allocation_b_single_2b:
274       - b_single_2b
275       - disk.device.allocation
276       disk.latency_b_single_2b:
277       - b_single_2b
278       - disk.latency
279       feature_b_single_2b_1b_t1_port:
280       - b_single_2b_1b_t1_port
281       - feature
282       disk.device.read.bytes.rate_b_single_2b:
283       - b_single_2b
284       - disk.device.read.bytes.rate
285       network.outpoing.packets_b_single_2b_1b_t1_port:
286       - b_single_2b_1b_t1_port
287       - network.outpoing.packets
288       disk.device.write.bytes.rate_b_single_2b:
289       - b_single_2b
290       - disk.device.write.bytes.rate
291       disk.allocation_b_single_2b:
292       - b_single_2b
293       - disk.allocation
294       memory_b_single_2b:
295       - b_single_2b
296       - memory
297       network.outgoing.packets.rate_b_single_2b_1b_t1_port:
298       - b_single_2b_1b_t1_port
299       - network.outgoing.packets.rate
300       binding_b_single_2b:
301       - b_single_2b
302       - binding
303       network.incoming.packets_b_single_2b_1b_t1_port:
304       - b_single_2b_1b_t1_port
305       - network.incoming.packets
306       network.outgoing.bytes_b_single_2b_1b_t1_port:
307       - b_single_2b_1b_t1_port
308       - network.outgoing.bytes
309       binding_b_single_2b_1b_t1_port:
310       - b_single_2b_1b_t1_port
311       - binding
312       feature_b_single_2b_1b_t2_port:
313       - b_single_2b_1b_t2_port
314       - feature
315       os_b_single_2b:
316       - b_single_2b
317       - os
318       disk.root.size_b_single_2b:
319       - b_single_2b
320       - disk.root.size
321       disk.read.requests_b_single_2b:
322       - b_single_2b
323       - disk.read.requests
324       endpoint_b_single_2b:
325       - b_single_2b
326       - endpoint
327       disk.iops_b_single_2b:
328       - b_single_2b
329       - disk.iops
330       disk.device.write.bytes_b_single_2b:
331       - b_single_2b
332       - disk.device.write.bytes
333       scalable_b_single_2b:
334       - b_single_2b
335       - scalable
336       memory.usage_b_single_2b:
337       - b_single_2b
338       - memory.usage
339       cpu_util_b_single_2b:
340       - b_single_2b
341       - cpu_util
342       disk.device.usage_b_single_2b:
343       - b_single_2b
344       - disk.device.usage
345       disk.device.write.requests.rate_b_single_2b:
346       - b_single_2b
347       - disk.device.write.requests.rate
348       cpu_b_single_2b:
349       - b_single_2b
350       - cpu
351       disk.read.bytes.rate_b_single_2b:
352       - b_single_2b
353       - disk.read.bytes.rate
354       network.incoming.bytes_b_single_2b_1b_t2_port:
355       - b_single_2b_1b_t2_port
356       - network.incoming.bytes
357       network.outgoing.bytes.rate_b_single_2b_1b_t1_port:
358       - b_single_2b_1b_t1_port
359       - network.outgoing.bytes.rate
360     requirements:
361       local_storage_b_single_2b:
362       - b_single_2b
363       - local_storage
364       dependency_b_single_2b:
365       - b_single_2b
366       - dependency
367       link_b_single_2b_1b_t2_port:
368       - b_single_2b_1b_t2_port
369       - link
370       link_b_single_2b_1b_t1_port:
371       - b_single_2b_1b_t1_port
372       - link
373       dependency_b_single_2b_1b_t2_port:
374       - b_single_2b_1b_t2_port
375       - dependency
376       dependency_b_single_2b_1b_t1_port:
377       - b_single_2b_1b_t1_port
378       - dependency