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