73e9ca5745e515190e09aabac25e1b66da4ac17e
[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         exCP_naming:
85           get_input: port_BE_port_exCP_naming
86         replacement_policy:
87           get_input:
88           - port_BE_port_replacement_policy
89           - index_value
90         vlan_requirements:
91           get_input: port_BE_port_vlan_requirements
92         ip_requirements:
93           get_input: port_BE_port_ip_requirements
94         network_role_tag:
95           get_input: port_BE_port_network_role_tag
96         mac_requirements:
97           get_input: port_BE_port_mac_requirements
98         order:
99           get_input: port_BE_port_order
100         network_role:
101           get_input: port_BE_port_network_role
102         subnetpoolid:
103           get_input: port_BE_port_subnetpoolid
104         fixed_ips:
105           get_input:
106           - port_BE_port_fixed_ips
107           - index_value
108         network:
109           get_input:
110           - port_BE_port_network
111           - index_value
112       requirements:
113       - binding:
114           capability: tosca.capabilities.network.Bindable
115           node: BE_1c1
116           relationship: tosca.relationships.network.BindsTo
117     BE_1c1:
118       type: org.openecomp.resource.vfc.compute.nodes.heat.BE_1c1
119       properties:
120         availability_zone:
121           get_input:
122           - compute_BE_1c1_availability_zone
123           - index_value
124         flavor:
125           get_input: vm_flavor_name
126         image:
127           get_input: vm_image_name
128         name:
129           get_input:
130           - compute_BE_1c1_name
131           - index_value
132   outputs:
133     BE_1c1_accessIPv4:
134       type: string
135       value:
136         get_attribute:
137         - BE_1c1
138         - accessIPv4
139   substitution_mappings:
140     node_type: org.openecomp.resource.abstract.nodes.BE_1c1
141     capabilities:
142       disk.ephemeral.size_BE_1c1:
143       - BE_1c1
144       - disk.ephemeral.size
145       disk.device.write.bytes_BE_1c1:
146       - BE_1c1
147       - disk.device.write.bytes
148       os_BE_1c1:
149       - BE_1c1
150       - os
151       endpoint_BE_1c1:
152       - BE_1c1
153       - endpoint
154       network.outpoing.packets_BE_1c1_BE_port:
155       - BE_1c1_BE_port
156       - network.outpoing.packets
157       disk.device.write.requests_BE_1c1:
158       - BE_1c1
159       - disk.device.write.requests
160       disk.device.write.bytes.rate_BE_1c1:
161       - BE_1c1
162       - disk.device.write.bytes.rate
163       vcpus_BE_1c1:
164       - BE_1c1
165       - vcpus
166       network.incoming.packets.rate_BE_1c1_BE_port:
167       - BE_1c1_BE_port
168       - network.incoming.packets.rate
169       attachment_BE_1c1_BE_port:
170       - BE_1c1_BE_port
171       - attachment
172       network.incoming.bytes_BE_1c1_BE_port:
173       - BE_1c1_BE_port
174       - network.incoming.bytes
175       disk.capacity_BE_1c1:
176       - BE_1c1
177       - disk.capacity
178       disk.read.bytes_BE_1c1:
179       - BE_1c1
180       - disk.read.bytes
181       host_BE_1c1:
182       - BE_1c1
183       - host
184       disk.usage_BE_1c1:
185       - BE_1c1
186       - disk.usage
187       disk.write.bytes_BE_1c1:
188       - BE_1c1
189       - disk.write.bytes
190       network.outgoing.packets.rate_BE_1c1_BE_port:
191       - BE_1c1_BE_port
192       - network.outgoing.packets.rate
193       binding_BE_1c1_BE_port:
194       - BE_1c1_BE_port
195       - binding
196       disk.device.usage_BE_1c1:
197       - BE_1c1
198       - disk.device.usage
199       disk.device.read.requests.rate_BE_1c1:
200       - BE_1c1
201       - disk.device.read.requests.rate
202       network.outgoing.bytes.rate_BE_1c1_BE_port:
203       - BE_1c1_BE_port
204       - network.outgoing.bytes.rate
205       scalable_BE_1c1:
206       - BE_1c1
207       - scalable
208       disk.read.requests_BE_1c1:
209       - BE_1c1
210       - disk.read.requests
211       memory_BE_1c1:
212       - BE_1c1
213       - memory
214       disk.iops_BE_1c1:
215       - BE_1c1
216       - disk.iops
217       memory.usage_BE_1c1:
218       - BE_1c1
219       - memory.usage
220       network.incoming.packets_BE_1c1_BE_port:
221       - BE_1c1_BE_port
222       - network.incoming.packets
223       forwarder_BE_1c1_BE_port:
224       - BE_1c1_BE_port
225       - forwarder
226       disk.device.latency_BE_1c1:
227       - BE_1c1
228       - disk.device.latency
229       disk.device.read.requests_BE_1c1:
230       - BE_1c1
231       - disk.device.read.requests
232       memory.resident_BE_1c1:
233       - BE_1c1
234       - memory.resident
235       disk.allocation_BE_1c1:
236       - BE_1c1
237       - disk.allocation
238       disk.device.allocation_BE_1c1:
239       - BE_1c1
240       - disk.device.allocation
241       disk.device.write.requests.rate_BE_1c1:
242       - BE_1c1
243       - disk.device.write.requests.rate
244       instance_BE_1c1:
245       - BE_1c1
246       - instance
247       disk.read.bytes.rate_BE_1c1:
248       - BE_1c1
249       - disk.read.bytes.rate
250       disk.device.iops_BE_1c1:
251       - BE_1c1
252       - disk.device.iops
253       disk.root.size_BE_1c1:
254       - BE_1c1
255       - disk.root.size
256       network.incoming.bytes.rate_BE_1c1_BE_port:
257       - BE_1c1_BE_port
258       - network.incoming.bytes.rate
259       cpu_BE_1c1:
260       - BE_1c1
261       - cpu
262       cpu.delta_BE_1c1:
263       - BE_1c1
264       - cpu.delta
265       disk.write.requests.rate_BE_1c1:
266       - BE_1c1
267       - disk.write.requests.rate
268       binding_BE_1c1:
269       - BE_1c1
270       - binding
271       feature_BE_1c1:
272       - BE_1c1
273       - feature
274       disk.write.bytes.rate_BE_1c1:
275       - BE_1c1
276       - disk.write.bytes.rate
277       disk.write.requests_BE_1c1:
278       - BE_1c1
279       - disk.write.requests
280       disk.device.read.bytes_BE_1c1:
281       - BE_1c1
282       - disk.device.read.bytes
283       feature_BE_1c1_BE_port:
284       - BE_1c1_BE_port
285       - feature
286       disk.device.read.bytes.rate_BE_1c1:
287       - BE_1c1
288       - disk.device.read.bytes.rate
289       disk.device.capacity_BE_1c1:
290       - BE_1c1
291       - disk.device.capacity
292       network.outgoing.bytes_BE_1c1_BE_port:
293       - BE_1c1_BE_port
294       - network.outgoing.bytes
295       disk.latency_BE_1c1:
296       - BE_1c1
297       - disk.latency
298       cpu_util_BE_1c1:
299       - BE_1c1
300       - cpu_util
301     requirements:
302       link_BE_1c1_BE_port:
303       - BE_1c1_BE_port
304       - link
305       local_storage_BE_1c1:
306       - BE_1c1
307       - local_storage
308       dependency_BE_1c1_BE_port:
309       - BE_1c1_BE_port
310       - dependency
311       dependency_BE_1c1:
312       - BE_1c1
313       - dependency