f96e8a62d2e22788683c1d699cffe073181eea44
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_BE_1c1
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.compute.nodes.heat.BE_1c1:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_BE_port_exCP_naming:
15       type: org.openecomp.datatypes.Naming
16       required: true
17     port_BE_port_network_role:
18       type: string
19       required: true
20     index_value:
21       type: integer
22       description: Index value of this substitution service template runtime instance
23       required: false
24       default: 0
25       constraints:
26       - greater_or_equal: 0
27     port_BE_port_order:
28       type: integer
29       required: true
30     port_BE_port_subnetpoolid:
31       type: string
32       required: true
33     vm_flavor_name:
34       type: string
35       required: true
36     port_BE_port_mac_requirements:
37       type: org.openecomp.datatypes.network.MacRequirements
38       required: true
39     port_BE_port_fixed_ips:
40       type: list
41       required: true
42       entry_schema:
43         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
44     port_BE_port_vlan_requirements:
45       type: list
46       required: true
47       entry_schema:
48         type: org.openecomp.datatypes.network.VlanRequirements
49     compute_BE_1c1_availability_zone:
50       type: list
51       required: true
52       entry_schema:
53         type: string
54     port_BE_port_network:
55       type: list
56       required: true
57       entry_schema:
58         type: string
59     port_BE_port_ip_requirements:
60       type: list
61       required: true
62       entry_schema:
63         type: org.openecomp.datatypes.network.IpRequirements
64     port_BE_port_network_role_tag:
65       type: string
66       required: true
67     vm_image_name:
68       type: string
69       required: true
70     compute_BE_1c1_name:
71       type: list
72       required: true
73       entry_schema:
74         type: string
75     port_BE_port_replacement_policy:
76       type: list
77       required: true
78       entry_schema:
79         type: string
80   node_templates:
81     BE_1c1_BE_port:
82       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
83       properties:
84         replacement_policy:
85           get_input:
86           - port_BE_port_replacement_policy
87           - index_value
88         mac_requirements:
89           get_input: port_BE_port_mac_requirements
90         order:
91           get_input: port_BE_port_order
92         exCP_naming:
93           get_input: port_BE_port_exCP_naming
94         vlan_requirements:
95           get_input: port_BE_port_vlan_requirements
96         subinterface_indicator: false
97         ip_requirements:
98           get_input: port_BE_port_ip_requirements
99         network_role_tag:
100           get_input: port_BE_port_network_role_tag
101         network_role:
102           get_input: port_BE_port_network_role
103         fixed_ips:
104           get_input:
105           - port_BE_port_fixed_ips
106           - index_value
107         subnetpoolid:
108           get_input: port_BE_port_subnetpoolid
109         network:
110           get_input:
111           - port_BE_port_network
112           - index_value
113       requirements:
114       - binding:
115           capability: tosca.capabilities.network.Bindable
116           node: BE_1c1
117           relationship: tosca.relationships.network.BindsTo
118     BE_1c1:
119       type: org.openecomp.resource.vfc.compute.nodes.heat.BE_1c1
120       properties:
121         availability_zone:
122           get_input:
123           - compute_BE_1c1_availability_zone
124           - index_value
125         flavor:
126           get_input: vm_flavor_name
127         image:
128           get_input: vm_image_name
129         name:
130           get_input:
131           - compute_BE_1c1_name
132           - index_value
133   outputs:
134     BE_1c1_accessIPv4:
135       type: string
136       value:
137         get_attribute:
138         - BE_1c1
139         - accessIPv4
140   substitution_mappings:
141     node_type: org.openecomp.resource.abstract.nodes.BE_1c1
142     capabilities:
143       disk.ephemeral.size_BE_1c1:
144       - BE_1c1
145       - disk.ephemeral.size
146       disk.device.write.bytes_BE_1c1:
147       - BE_1c1
148       - disk.device.write.bytes
149       os_BE_1c1:
150       - BE_1c1
151       - os
152       endpoint_BE_1c1:
153       - BE_1c1
154       - endpoint
155       network.outpoing.packets_BE_1c1_BE_port:
156       - BE_1c1_BE_port
157       - network.outpoing.packets
158       disk.device.write.requests_BE_1c1:
159       - BE_1c1
160       - disk.device.write.requests
161       disk.device.write.bytes.rate_BE_1c1:
162       - BE_1c1
163       - disk.device.write.bytes.rate
164       vcpus_BE_1c1:
165       - BE_1c1
166       - vcpus
167       network.incoming.packets.rate_BE_1c1_BE_port:
168       - BE_1c1_BE_port
169       - network.incoming.packets.rate
170       attachment_BE_1c1_BE_port:
171       - BE_1c1_BE_port
172       - attachment
173       network.incoming.bytes_BE_1c1_BE_port:
174       - BE_1c1_BE_port
175       - network.incoming.bytes
176       disk.capacity_BE_1c1:
177       - BE_1c1
178       - disk.capacity
179       disk.read.bytes_BE_1c1:
180       - BE_1c1
181       - disk.read.bytes
182       host_BE_1c1:
183       - BE_1c1
184       - host
185       disk.usage_BE_1c1:
186       - BE_1c1
187       - disk.usage
188       disk.write.bytes_BE_1c1:
189       - BE_1c1
190       - disk.write.bytes
191       network.outgoing.packets.rate_BE_1c1_BE_port:
192       - BE_1c1_BE_port
193       - network.outgoing.packets.rate
194       binding_BE_1c1_BE_port:
195       - BE_1c1_BE_port
196       - binding
197       disk.device.usage_BE_1c1:
198       - BE_1c1
199       - disk.device.usage
200       disk.device.read.requests.rate_BE_1c1:
201       - BE_1c1
202       - disk.device.read.requests.rate
203       network.outgoing.bytes.rate_BE_1c1_BE_port:
204       - BE_1c1_BE_port
205       - network.outgoing.bytes.rate
206       scalable_BE_1c1:
207       - BE_1c1
208       - scalable
209       disk.read.requests_BE_1c1:
210       - BE_1c1
211       - disk.read.requests
212       memory_BE_1c1:
213       - BE_1c1
214       - memory
215       disk.iops_BE_1c1:
216       - BE_1c1
217       - disk.iops
218       memory.usage_BE_1c1:
219       - BE_1c1
220       - memory.usage
221       network.incoming.packets_BE_1c1_BE_port:
222       - BE_1c1_BE_port
223       - network.incoming.packets
224       forwarder_BE_1c1_BE_port:
225       - BE_1c1_BE_port
226       - forwarder
227       disk.device.latency_BE_1c1:
228       - BE_1c1
229       - disk.device.latency
230       disk.device.read.requests_BE_1c1:
231       - BE_1c1
232       - disk.device.read.requests
233       memory.resident_BE_1c1:
234       - BE_1c1
235       - memory.resident
236       disk.allocation_BE_1c1:
237       - BE_1c1
238       - disk.allocation
239       disk.device.allocation_BE_1c1:
240       - BE_1c1
241       - disk.device.allocation
242       disk.device.write.requests.rate_BE_1c1:
243       - BE_1c1
244       - disk.device.write.requests.rate
245       instance_BE_1c1:
246       - BE_1c1
247       - instance
248       disk.read.bytes.rate_BE_1c1:
249       - BE_1c1
250       - disk.read.bytes.rate
251       disk.device.iops_BE_1c1:
252       - BE_1c1
253       - disk.device.iops
254       disk.root.size_BE_1c1:
255       - BE_1c1
256       - disk.root.size
257       network.incoming.bytes.rate_BE_1c1_BE_port:
258       - BE_1c1_BE_port
259       - network.incoming.bytes.rate
260       cpu_BE_1c1:
261       - BE_1c1
262       - cpu
263       cpu.delta_BE_1c1:
264       - BE_1c1
265       - cpu.delta
266       disk.write.requests.rate_BE_1c1:
267       - BE_1c1
268       - disk.write.requests.rate
269       binding_BE_1c1:
270       - BE_1c1
271       - binding
272       feature_BE_1c1:
273       - BE_1c1
274       - feature
275       disk.write.bytes.rate_BE_1c1:
276       - BE_1c1
277       - disk.write.bytes.rate
278       disk.write.requests_BE_1c1:
279       - BE_1c1
280       - disk.write.requests
281       disk.device.read.bytes_BE_1c1:
282       - BE_1c1
283       - disk.device.read.bytes
284       feature_BE_1c1_BE_port:
285       - BE_1c1_BE_port
286       - feature
287       disk.device.read.bytes.rate_BE_1c1:
288       - BE_1c1
289       - disk.device.read.bytes.rate
290       disk.device.capacity_BE_1c1:
291       - BE_1c1
292       - disk.device.capacity
293       network.outgoing.bytes_BE_1c1_BE_port:
294       - BE_1c1_BE_port
295       - network.outgoing.bytes
296       disk.latency_BE_1c1:
297       - BE_1c1
298       - disk.latency
299       cpu_util_BE_1c1:
300       - BE_1c1
301       - cpu_util
302     requirements:
303       link_BE_1c1_BE_port:
304       - BE_1c1_BE_port
305       - link
306       local_storage_BE_1c1:
307       - BE_1c1
308       - local_storage
309       dependency_BE_1c1_BE_port:
310       - BE_1c1_BE_port
311       - dependency
312       dependency_BE_1c1:
313       - BE_1c1
314       - dependency