3509df163079358dbb9ef1bf7d20236ed57dc6a6
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_FSB1
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.FSB1:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_FSB1_Internal_mac_address:
15       type: string
16       required: true
17     port_FSB1_Internal_ip_requirements:
18       type: list
19       required: true
20       entry_schema:
21         type: org.openecomp.datatypes.network.IpRequirements
22     port_FSB1_Internal_subnetpoolid:
23       type: string
24       required: true
25     compute_FSB1_metadata:
26       type: list
27       required: true
28       entry_schema:
29         type: json
30     port_FSB2_Internal_vlan_requirements:
31       type: list
32       required: true
33       entry_schema:
34         type: org.openecomp.datatypes.network.VlanRequirements
35     port_FSB2_Internal_order:
36       type: integer
37       required: true
38     port_FSB2_Internal_ip_requirements:
39       type: list
40       required: true
41       entry_schema:
42         type: org.openecomp.datatypes.network.IpRequirements
43     vm_flavor_name:
44       type: string
45       required: true
46     port_FSB2_Internal_network_role:
47       type: string
48       required: true
49     port_FSB1_Internal_network_role_tag:
50       type: string
51       required: true
52     port_FSB1_Internal_vlan_requirements:
53       type: list
54       required: true
55       entry_schema:
56         type: org.openecomp.datatypes.network.VlanRequirements
57     port_FSB2_Internal_subnetpoolid:
58       type: string
59       required: true
60     port_FSB1_Internal_exCP_naming:
61       type: org.openecomp.datatypes.Naming
62       required: true
63     port_FSB1_Internal_network_role:
64       type: string
65       required: true
66     compute_FSB1_availability_zone:
67       type: list
68       required: true
69       entry_schema:
70         type: string
71     port_FSB1_Internal_network:
72       type: list
73       required: true
74       entry_schema:
75         type: string
76     index_value:
77       type: integer
78       description: Index value of this substitution service template runtime instance
79       required: false
80       default: 0
81       constraints:
82       - greater_or_equal: 0
83     port_FSB2_Internal_mac_requirements:
84       type: org.openecomp.datatypes.network.MacRequirements
85       required: true
86     port_FSB2_Internal_mac_address:
87       type: string
88       required: true
89     port_FSB2_Internal_exCP_naming:
90       type: org.openecomp.datatypes.Naming
91       required: true
92     port_FSB1_Internal_order:
93       type: integer
94       required: true
95     port_FSB2_Internal_network:
96       type: list
97       required: true
98       entry_schema:
99         type: string
100     port_FSB1_Internal_mac_requirements:
101       type: org.openecomp.datatypes.network.MacRequirements
102       required: true
103     compute_FSB1_name:
104       type: list
105       required: true
106       entry_schema:
107         type: string
108     port_FSB2_Internal_network_role_tag:
109       type: string
110       required: true
111   node_templates:
112     FSB1_FSB1_Internal:
113       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
114       properties:
115         exCP_naming:
116           get_input: port_FSB1_Internal_exCP_naming
117         vlan_requirements:
118           get_input: port_FSB1_Internal_vlan_requirements
119         ip_requirements:
120           get_input: port_FSB1_Internal_ip_requirements
121         network_role_tag:
122           get_input: port_FSB1_Internal_network_role_tag
123         mac_requirements:
124           get_input: port_FSB1_Internal_mac_requirements
125         order:
126           get_input: port_FSB1_Internal_order
127         network_role:
128           get_input: port_FSB1_Internal_network_role
129         subnetpoolid:
130           get_input: port_FSB1_Internal_subnetpoolid
131         network:
132           get_input:
133           - port_FSB1_Internal_network
134           - index_value
135         mac_address:
136           get_input: port_FSB1_Internal_mac_address
137       requirements:
138       - binding:
139           capability: tosca.capabilities.network.Bindable
140           node: FSB1
141           relationship: tosca.relationships.network.BindsTo
142     FSB1_FSB2_Internal:
143       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
144       properties:
145         exCP_naming:
146           get_input: port_FSB2_Internal_exCP_naming
147         vlan_requirements:
148           get_input: port_FSB2_Internal_vlan_requirements
149         ip_requirements:
150           get_input: port_FSB2_Internal_ip_requirements
151         network_role_tag:
152           get_input: port_FSB2_Internal_network_role_tag
153         mac_requirements:
154           get_input: port_FSB2_Internal_mac_requirements
155         order:
156           get_input: port_FSB2_Internal_order
157         network_role:
158           get_input: port_FSB2_Internal_network_role
159         subnetpoolid:
160           get_input: port_FSB2_Internal_subnetpoolid
161         network:
162           get_input:
163           - port_FSB2_Internal_network
164           - index_value
165         mac_address:
166           get_input: port_FSB2_Internal_mac_address
167       requirements:
168       - binding:
169           capability: tosca.capabilities.network.Bindable
170           node: FSB1
171           relationship: tosca.relationships.network.BindsTo
172     FSB1:
173       type: org.openecomp.resource.vfc.nodes.heat.FSB1
174       properties:
175         availability_zone:
176           get_input:
177           - compute_FSB1_availability_zone
178           - index_value
179         flavor:
180           get_input: vm_flavor_name
181         metadata:
182           get_input:
183           - compute_FSB1_metadata
184           - index_value
185         name:
186           get_input:
187           - compute_FSB1_name
188           - index_value
189       artifacts:
190         nimbus-ethernet-gw:
191           type: tosca.artifacts.Deployment
192           file: ../Artifacts/nimbus-ethernet-gw
193         nimbus-ethernet:
194           type: tosca.artifacts.Deployment
195           file: ../Artifacts/nimbus-ethernet
196   outputs:
197     FSB1_FSB2_Internal_tenant_id:
198       type: string
199       value:
200         get_attribute:
201         - FSB1_FSB2_Internal
202         - tenant_id
203     FSB1_FSB1_Internal_network_id:
204       type: string
205       value:
206         get_attribute:
207         - FSB1_FSB1_Internal
208         - network_id
209     FSB1_user_data_format:
210       type: string
211       value:
212         get_attribute:
213         - FSB1
214         - user_data_format
215     FSB1_accessIPv6:
216       type: string
217       value:
218         get_attribute:
219         - FSB1
220         - accessIPv6
221     FSB1_addresses:
222       type: map
223       value:
224         get_attribute:
225         - FSB1
226         - addresses
227       entry_schema:
228         type: org.openecomp.datatypes.heat.novaServer.network.AddressInfo
229     FSB1_FSB2_Internal_network_id:
230       type: string
231       value:
232         get_attribute:
233         - FSB1_FSB2_Internal
234         - network_id
235     FSB1_FSB1_Internal_status:
236       type: string
237       value:
238         get_attribute:
239         - FSB1_FSB1_Internal
240         - status
241     FSB1_FSB1_Internal_device_owner:
242       type: string
243       value:
244         get_attribute:
245         - FSB1_FSB1_Internal
246         - device_owner
247   substitution_mappings:
248     node_type: org.openecomp.resource.abstract.nodes.FSB1
249     capabilities:
250       binding_FSB1_FSB2_Internal:
251       - FSB1_FSB2_Internal
252       - binding
253       disk.capacity_FSB1:
254       - FSB1
255       - disk.capacity
256       disk.read.bytes.rate_FSB1:
257       - FSB1
258       - disk.read.bytes.rate
259       disk.device.latency_FSB1:
260       - FSB1
261       - disk.device.latency
262       disk.allocation_FSB1:
263       - FSB1
264       - disk.allocation
265       disk.read.bytes_FSB1:
266       - FSB1
267       - disk.read.bytes
268       disk.device.capacity_FSB1:
269       - FSB1
270       - disk.device.capacity
271       cpu_util_FSB1:
272       - FSB1
273       - cpu_util
274       disk.device.write.requests.rate_FSB1:
275       - FSB1
276       - disk.device.write.requests.rate
277       disk.root.size_FSB1:
278       - FSB1
279       - disk.root.size
280       forwarder_FSB1_FSB2_Internal:
281       - FSB1_FSB2_Internal
282       - forwarder
283       feature_FSB1:
284       - FSB1
285       - feature
286       network.incoming.packets.rate_FSB1_FSB1_Internal:
287       - FSB1_FSB1_Internal
288       - network.incoming.packets.rate
289       network.outgoing.bytes_FSB1_FSB1_Internal:
290       - FSB1_FSB1_Internal
291       - network.outgoing.bytes
292       feature_FSB1_FSB2_Internal:
293       - FSB1_FSB2_Internal
294       - feature
295       attachment_FSB1_FSB2_Internal:
296       - FSB1_FSB2_Internal
297       - attachment
298       network.incoming.packets_FSB1_FSB2_Internal:
299       - FSB1_FSB2_Internal
300       - network.incoming.packets
301       memory.resident_FSB1:
302       - FSB1
303       - memory.resident
304       forwarder_FSB1_FSB1_Internal:
305       - FSB1_FSB1_Internal
306       - forwarder
307       network.incoming.packets.rate_FSB1_FSB2_Internal:
308       - FSB1_FSB2_Internal
309       - network.incoming.packets.rate
310       cpu_FSB1:
311       - FSB1
312       - cpu
313       disk.write.requests.rate_FSB1:
314       - FSB1
315       - disk.write.requests.rate
316       instance_FSB1:
317       - FSB1
318       - instance
319       disk.device.read.bytes.rate_FSB1:
320       - FSB1
321       - disk.device.read.bytes.rate
322       cpu.delta_FSB1:
323       - FSB1
324       - cpu.delta
325       disk.write.bytes_FSB1:
326       - FSB1
327       - disk.write.bytes
328       binding_FSB1_FSB1_Internal:
329       - FSB1_FSB1_Internal
330       - binding
331       disk.device.read.requests.rate_FSB1:
332       - FSB1
333       - disk.device.read.requests.rate
334       feature_FSB1_FSB1_Internal:
335       - FSB1_FSB1_Internal
336       - feature
337       disk.device.read.requests_FSB1:
338       - FSB1
339       - disk.device.read.requests
340       disk.ephemeral.size_FSB1:
341       - FSB1
342       - disk.ephemeral.size
343       binding_FSB1:
344       - FSB1
345       - binding
346       disk.device.write.bytes_FSB1:
347       - FSB1
348       - disk.device.write.bytes
349       network.incoming.packets_FSB1_FSB1_Internal:
350       - FSB1_FSB1_Internal
351       - network.incoming.packets
352       attachment_FSB1_FSB1_Internal:
353       - FSB1_FSB1_Internal
354       - attachment
355       memory_FSB1:
356       - FSB1
357       - memory
358       network.outpoing.packets_FSB1_FSB1_Internal:
359       - FSB1_FSB1_Internal
360       - network.outpoing.packets
361       network.outgoing.bytes.rate_FSB1_FSB2_Internal:
362       - FSB1_FSB2_Internal
363       - network.outgoing.bytes.rate
364       disk.device.read.bytes_FSB1:
365       - FSB1
366       - disk.device.read.bytes
367       disk.device.usage_FSB1:
368       - FSB1
369       - disk.device.usage
370       disk.write.bytes.rate_FSB1:
371       - FSB1
372       - disk.write.bytes.rate
373       scalable_FSB1:
374       - FSB1
375       - scalable
376       disk.usage_FSB1:
377       - FSB1
378       - disk.usage
379       host_FSB1:
380       - FSB1
381       - host
382       disk.device.allocation_FSB1:
383       - FSB1
384       - disk.device.allocation
385       os_FSB1:
386       - FSB1
387       - os
388       vcpus_FSB1:
389       - FSB1
390       - vcpus
391       disk.write.requests_FSB1:
392       - FSB1
393       - disk.write.requests
394       network.outgoing.bytes_FSB1_FSB2_Internal:
395       - FSB1_FSB2_Internal
396       - network.outgoing.bytes
397       network.incoming.bytes_FSB1_FSB1_Internal:
398       - FSB1_FSB1_Internal
399       - network.incoming.bytes
400       network.outpoing.packets_FSB1_FSB2_Internal:
401       - FSB1_FSB2_Internal
402       - network.outpoing.packets
403       disk.device.write.bytes.rate_FSB1:
404       - FSB1
405       - disk.device.write.bytes.rate
406       network.outgoing.bytes.rate_FSB1_FSB1_Internal:
407       - FSB1_FSB1_Internal
408       - network.outgoing.bytes.rate
409       endpoint_FSB1:
410       - FSB1
411       - endpoint
412       network.outgoing.packets.rate_FSB1_FSB1_Internal:
413       - FSB1_FSB1_Internal
414       - network.outgoing.packets.rate
415       network.incoming.bytes.rate_FSB1_FSB1_Internal:
416       - FSB1_FSB1_Internal
417       - network.incoming.bytes.rate
418       disk.latency_FSB1:
419       - FSB1
420       - disk.latency
421       memory.usage_FSB1:
422       - FSB1
423       - memory.usage
424       disk.read.requests_FSB1:
425       - FSB1
426       - disk.read.requests
427       disk.device.write.requests_FSB1:
428       - FSB1
429       - disk.device.write.requests
430       network.incoming.bytes.rate_FSB1_FSB2_Internal:
431       - FSB1_FSB2_Internal
432       - network.incoming.bytes.rate
433       network.incoming.bytes_FSB1_FSB2_Internal:
434       - FSB1_FSB2_Internal
435       - network.incoming.bytes
436       disk.iops_FSB1:
437       - FSB1
438       - disk.iops
439       network.outgoing.packets.rate_FSB1_FSB2_Internal:
440       - FSB1_FSB2_Internal
441       - network.outgoing.packets.rate
442       disk.device.iops_FSB1:
443       - FSB1
444       - disk.device.iops
445     requirements:
446       dependency_FSB1:
447       - FSB1
448       - dependency
449       link_FSB1_FSB2_Internal:
450       - FSB1_FSB2_Internal
451       - link
452       dependency_FSB1_FSB1_Internal:
453       - FSB1_FSB1_Internal
454       - dependency
455       link_FSB1_FSB1_Internal:
456       - FSB1_FSB1_Internal
457       - link
458       local_storage_FSB1:
459       - FSB1
460       - local_storage
461       dependency_FSB1_FSB2_Internal:
462       - FSB1_FSB2_Internal
463       - dependency