4a195fb22d2f4c1b15f0b5f7d710242874253042
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_ps_1
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.ps:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     index_value:
15       type: integer
16       description: Index value of this substitution service template runtime instance
17       required: false
18       default: 0
19       constraints:
20       - greater_or_equal: 0
21     port_pd01_port_replacement_policy:
22       type: list
23       required: true
24       entry_schema:
25         type: string
26     port_pd01_port_exCP_naming:
27       type: org.openecomp.datatypes.Naming
28       required: true
29     vm_flavor_name:
30       type: string
31       required: true
32     port_pd01_port_security_groups:
33       type: list
34       required: true
35       entry_schema:
36         type: json
37     port_pd01_port_mac_requirements:
38       type: org.openecomp.datatypes.network.MacRequirements
39       required: true
40     vm_image_name:
41       type: string
42       required: true
43     compute_ps_availability_zone:
44       type: list
45       required: true
46       entry_schema:
47         type: string
48     port_pd01_port_fixed_ips:
49       type: list
50       required: true
51       entry_schema:
52         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
53     port_pd01_port_ip_requirements:
54       type: list
55       required: true
56       entry_schema:
57         type: org.openecomp.datatypes.network.IpRequirements
58     port_pd01_port_network:
59       type: list
60       required: true
61       entry_schema:
62         type: string
63     compute_ps_name:
64       type: list
65       required: true
66       entry_schema:
67         type: string
68     port_pd01_port_subinterface_indicator:
69       type: list
70       required: true
71       entry_schema:
72         type: boolean
73     port_pd01_port_order:
74       type: integer
75       required: true
76     port_pd01_port_subnetpoolid:
77       type: string
78       required: true
79     port_pd01_port_network_role:
80       type: string
81       required: true
82     port_pd01_port_network_role_tag:
83       type: string
84       required: true
85     port_pd01_port_vlan_requirements:
86       type: list
87       required: true
88       entry_schema:
89         type: org.openecomp.datatypes.network.VlanRequirements
90   node_templates:
91     ps:
92       type: org.openecomp.resource.vfc.compute.nodes.heat.ps
93       properties:
94         availability_zone:
95           get_input:
96           - compute_ps_availability_zone
97           - index_value
98         flavor:
99           get_input: vm_flavor_name
100         image:
101           get_input: vm_image_name
102         name:
103           get_input:
104           - compute_ps_name
105           - index_value
106     ps_pd01_port:
107       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
108       properties:
109         replacement_policy:
110           get_input:
111           - port_pd01_port_replacement_policy
112           - index_value
113         mac_requirements:
114           get_input: port_pd01_port_mac_requirements
115         order:
116           get_input: port_pd01_port_order
117         security_groups:
118           get_input:
119           - port_pd01_port_security_groups
120           - index_value
121         exCP_naming:
122           get_input: port_pd01_port_exCP_naming
123         vlan_requirements:
124           get_input: port_pd01_port_vlan_requirements
125         subinterface_indicator:
126           get_input:
127           - port_pd01_port_subinterface_indicator
128           - index_value
129         ip_requirements:
130           get_input: port_pd01_port_ip_requirements
131         network_role_tag:
132           get_input: port_pd01_port_network_role_tag
133         network_role:
134           get_input: port_pd01_port_network_role
135         subnetpoolid:
136           get_input: port_pd01_port_subnetpoolid
137         fixed_ips:
138           get_input:
139           - port_pd01_port_fixed_ips
140           - index_value
141         network:
142           get_input:
143           - port_pd01_port_network
144           - index_value
145       requirements:
146       - binding:
147           capability: tosca.capabilities.network.Bindable
148           node: ps
149           relationship: tosca.relationships.network.BindsTo
150   substitution_mappings:
151     node_type: org.openecomp.resource.abstract.nodes.ps_1
152     capabilities:
153       disk.write.requests.rate_ps:
154       - ps
155       - disk.write.requests.rate
156       disk.device.iops_ps:
157       - ps
158       - disk.device.iops
159       network.incoming.packets_ps_pd01_port:
160       - ps_pd01_port
161       - network.incoming.packets
162       scalable_ps:
163       - ps
164       - scalable
165       disk.write.requests_ps:
166       - ps
167       - disk.write.requests
168       host_ps:
169       - ps
170       - host
171       disk.device.allocation_ps:
172       - ps
173       - disk.device.allocation
174       disk.read.bytes_ps:
175       - ps
176       - disk.read.bytes
177       memory.resident_ps:
178       - ps
179       - memory.resident
180       disk.device.usage_ps:
181       - ps
182       - disk.device.usage
183       endpoint_ps:
184       - ps
185       - endpoint
186       network.incoming.bytes.rate_ps_pd01_port:
187       - ps_pd01_port
188       - network.incoming.bytes.rate
189       disk.device.capacity_ps:
190       - ps
191       - disk.device.capacity
192       cpu_ps:
193       - ps
194       - cpu
195       attachment_ps_pd01_port:
196       - ps_pd01_port
197       - attachment
198       disk.device.write.bytes_ps:
199       - ps
200       - disk.device.write.bytes
201       forwarder_ps_pd01_port:
202       - ps_pd01_port
203       - forwarder
204       cpu.delta_ps:
205       - ps
206       - cpu.delta
207       disk.root.size_ps:
208       - ps
209       - disk.root.size
210       disk.device.read.requests.rate_ps:
211       - ps
212       - disk.device.read.requests.rate
213       binding_ps:
214       - ps
215       - binding
216       network.incoming.packets.rate_ps_pd01_port:
217       - ps_pd01_port
218       - network.incoming.packets.rate
219       disk.device.write.requests.rate_ps:
220       - ps
221       - disk.device.write.requests.rate
222       feature_ps_pd01_port:
223       - ps_pd01_port
224       - feature
225       network.incoming.bytes_ps_pd01_port:
226       - ps_pd01_port
227       - network.incoming.bytes
228       cpu_util_ps:
229       - ps
230       - cpu_util
231       disk.read.bytes.rate_ps:
232       - ps
233       - disk.read.bytes.rate
234       disk.device.read.bytes.rate_ps:
235       - ps
236       - disk.device.read.bytes.rate
237       disk.read.requests_ps:
238       - ps
239       - disk.read.requests
240       vcpus_ps:
241       - ps
242       - vcpus
243       instance_ps:
244       - ps
245       - instance
246       disk.latency_ps:
247       - ps
248       - disk.latency
249       network.outpoing.packets_ps_pd01_port:
250       - ps_pd01_port
251       - network.outpoing.packets
252       disk.device.read.bytes_ps:
253       - ps
254       - disk.device.read.bytes
255       memory.usage_ps:
256       - ps
257       - memory.usage
258       binding_ps_pd01_port:
259       - ps_pd01_port
260       - binding
261       feature_ps:
262       - ps
263       - feature
264       disk.device.write.bytes.rate_ps:
265       - ps
266       - disk.device.write.bytes.rate
267       network.outgoing.bytes_ps_pd01_port:
268       - ps_pd01_port
269       - network.outgoing.bytes
270       disk.ephemeral.size_ps:
271       - ps
272       - disk.ephemeral.size
273       memory_ps:
274       - ps
275       - memory
276       disk.usage_ps:
277       - ps
278       - disk.usage
279       disk.write.bytes.rate_ps:
280       - ps
281       - disk.write.bytes.rate
282       os_ps:
283       - ps
284       - os
285       network.outgoing.packets.rate_ps_pd01_port:
286       - ps_pd01_port
287       - network.outgoing.packets.rate
288       disk.iops_ps:
289       - ps
290       - disk.iops
291       disk.allocation_ps:
292       - ps
293       - disk.allocation
294       disk.device.read.requests_ps:
295       - ps
296       - disk.device.read.requests
297       disk.capacity_ps:
298       - ps
299       - disk.capacity
300       disk.device.latency_ps:
301       - ps
302       - disk.device.latency
303       network.outgoing.bytes.rate_ps_pd01_port:
304       - ps_pd01_port
305       - network.outgoing.bytes.rate
306       disk.device.write.requests_ps:
307       - ps
308       - disk.device.write.requests
309       disk.write.bytes_ps:
310       - ps
311       - disk.write.bytes
312     requirements:
313       dependency_ps:
314       - ps
315       - dependency
316       local_storage_ps:
317       - ps
318       - local_storage
319       dependency_ps_pd01_port:
320       - ps_pd01_port
321       - dependency
322       link_ps_pd01_port:
323       - ps_pd01_port
324       - link