698772dd9c7f4d0a051874ae8921312745c3a587
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_ps_server_main_1b
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_server_main_1b:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_ps_server_main_1b_port_fixed_ips:
15       type: list
16       required: true
17       entry_schema:
18         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
19     port_ps_server_main_1b_port_ip_requirements:
20       type: list
21       required: true
22       entry_schema:
23         type: org.openecomp.datatypes.network.IpRequirements
24     port_ps_server_main_1b_port_subnetpoolid:
25       type: string
26       required: true
27     compute_ps_server_main_1b_availability_zone:
28       type: list
29       required: true
30       entry_schema:
31         type: string
32     port_ps_server_main_1b_port_exCP_naming:
33       type: org.openecomp.datatypes.Naming
34       required: true
35     index_value:
36       type: integer
37       description: Index value of this substitution service template runtime instance
38       required: false
39       default: 0
40       constraints:
41       - greater_or_equal: 0
42     vm_flavor_name:
43       type: string
44       required: true
45     port_ps_server_main_1b_port_network_role:
46       type: string
47       required: true
48     port_ps_server_main_1b_port_order:
49       type: integer
50       required: true
51     port_ps_server_main_1b_port_network_role_tag:
52       type: string
53       required: true
54     vm_image_name:
55       type: string
56       required: true
57     port_ps_server_main_1b_port_vlan_requirements:
58       type: list
59       required: true
60       entry_schema:
61         type: org.openecomp.datatypes.network.VlanRequirements
62     compute_ps_server_main_1b_name:
63       type: list
64       required: true
65       entry_schema:
66         type: string
67     port_ps_server_main_1b_port_replacement_policy:
68       type: list
69       required: true
70       entry_schema:
71         type: string
72     port_ps_server_main_1b_port_mac_requirements:
73       type: org.openecomp.datatypes.network.MacRequirements
74       required: true
75     port_ps_server_main_1b_port_network:
76       type: list
77       required: true
78       entry_schema:
79         type: string
80   node_templates:
81     ps_server_main_1b_ps_server_main_1b_port:
82       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
83       properties:
84         replacement_policy:
85           get_input:
86           - port_ps_server_main_1b_port_replacement_policy
87           - index_value
88         mac_requirements:
89           get_input: port_ps_server_main_1b_port_mac_requirements
90         order:
91           get_input: port_ps_server_main_1b_port_order
92         exCP_naming:
93           get_input: port_ps_server_main_1b_port_exCP_naming
94         vlan_requirements:
95           get_input: port_ps_server_main_1b_port_vlan_requirements
96         subinterface_indicator: false
97         ip_requirements:
98           get_input: port_ps_server_main_1b_port_ip_requirements
99         network_role_tag:
100           get_input: port_ps_server_main_1b_port_network_role_tag
101         network_role:
102           get_input: port_ps_server_main_1b_port_network_role
103         fixed_ips:
104           get_input:
105           - port_ps_server_main_1b_port_fixed_ips
106           - index_value
107         subnetpoolid:
108           get_input: port_ps_server_main_1b_port_subnetpoolid
109         network:
110           get_input:
111           - port_ps_server_main_1b_port_network
112           - index_value
113       requirements:
114       - binding:
115           capability: tosca.capabilities.network.Bindable
116           node: ps_server_main_1b
117           relationship: tosca.relationships.network.BindsTo
118     ps_server_main_1b:
119       type: org.openecomp.resource.vfc.compute.nodes.heat.ps_server_main_1b
120       properties:
121         availability_zone:
122           get_input:
123           - compute_ps_server_main_1b_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_ps_server_main_1b_name
132           - index_value
133   substitution_mappings:
134     node_type: org.openecomp.resource.abstract.nodes.ps_server_main_1b
135     capabilities:
136       network.incoming.bytes_ps_server_main_1b_ps_server_main_1b_port:
137       - ps_server_main_1b_ps_server_main_1b_port
138       - network.incoming.bytes
139       disk.device.write.requests_ps_server_main_1b:
140       - ps_server_main_1b
141       - disk.device.write.requests
142       disk.device.capacity_ps_server_main_1b:
143       - ps_server_main_1b
144       - disk.device.capacity
145       disk.capacity_ps_server_main_1b:
146       - ps_server_main_1b
147       - disk.capacity
148       attachment_ps_server_main_1b_ps_server_main_1b_port:
149       - ps_server_main_1b_ps_server_main_1b_port
150       - attachment
151       disk.device.read.bytes_ps_server_main_1b:
152       - ps_server_main_1b
153       - disk.device.read.bytes
154       vcpus_ps_server_main_1b:
155       - ps_server_main_1b
156       - vcpus
157       network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_1b_port:
158       - ps_server_main_1b_ps_server_main_1b_port
159       - network.outgoing.packets.rate
160       cpu_util_ps_server_main_1b:
161       - ps_server_main_1b
162       - cpu_util
163       binding_ps_server_main_1b_ps_server_main_1b_port:
164       - ps_server_main_1b_ps_server_main_1b_port
165       - binding
166       disk.device.write.bytes.rate_ps_server_main_1b:
167       - ps_server_main_1b
168       - disk.device.write.bytes.rate
169       disk.device.read.requests.rate_ps_server_main_1b:
170       - ps_server_main_1b
171       - disk.device.read.requests.rate
172       disk.device.write.requests.rate_ps_server_main_1b:
173       - ps_server_main_1b
174       - disk.device.write.requests.rate
175       cpu_ps_server_main_1b:
176       - ps_server_main_1b
177       - cpu
178       instance_ps_server_main_1b:
179       - ps_server_main_1b
180       - instance
181       network.outpoing.packets_ps_server_main_1b_ps_server_main_1b_port:
182       - ps_server_main_1b_ps_server_main_1b_port
183       - network.outpoing.packets
184       disk.read.bytes.rate_ps_server_main_1b:
185       - ps_server_main_1b
186       - disk.read.bytes.rate
187       disk.latency_ps_server_main_1b:
188       - ps_server_main_1b
189       - disk.latency
190       feature_ps_server_main_1b_ps_server_main_1b_port:
191       - ps_server_main_1b_ps_server_main_1b_port
192       - feature
193       disk.device.read.requests_ps_server_main_1b:
194       - ps_server_main_1b
195       - disk.device.read.requests
196       memory.usage_ps_server_main_1b:
197       - ps_server_main_1b
198       - memory.usage
199       forwarder_ps_server_main_1b_ps_server_main_1b_port:
200       - ps_server_main_1b_ps_server_main_1b_port
201       - forwarder
202       disk.write.requests.rate_ps_server_main_1b:
203       - ps_server_main_1b
204       - disk.write.requests.rate
205       scalable_ps_server_main_1b:
206       - ps_server_main_1b
207       - scalable
208       network.outgoing.bytes_ps_server_main_1b_ps_server_main_1b_port:
209       - ps_server_main_1b_ps_server_main_1b_port
210       - network.outgoing.bytes
211       network.incoming.packets.rate_ps_server_main_1b_ps_server_main_1b_port:
212       - ps_server_main_1b_ps_server_main_1b_port
213       - network.incoming.packets.rate
214       disk.usage_ps_server_main_1b:
215       - ps_server_main_1b
216       - disk.usage
217       disk.read.bytes_ps_server_main_1b:
218       - ps_server_main_1b
219       - disk.read.bytes
220       disk.ephemeral.size_ps_server_main_1b:
221       - ps_server_main_1b
222       - disk.ephemeral.size
223       endpoint_ps_server_main_1b:
224       - ps_server_main_1b
225       - endpoint
226       os_ps_server_main_1b:
227       - ps_server_main_1b
228       - os
229       disk.write.bytes_ps_server_main_1b:
230       - ps_server_main_1b
231       - disk.write.bytes
232       disk.device.write.bytes_ps_server_main_1b:
233       - ps_server_main_1b
234       - disk.device.write.bytes
235       disk.device.latency_ps_server_main_1b:
236       - ps_server_main_1b
237       - disk.device.latency
238       disk.write.bytes.rate_ps_server_main_1b:
239       - ps_server_main_1b
240       - disk.write.bytes.rate
241       binding_ps_server_main_1b:
242       - ps_server_main_1b
243       - binding
244       network.incoming.packets_ps_server_main_1b_ps_server_main_1b_port:
245       - ps_server_main_1b_ps_server_main_1b_port
246       - network.incoming.packets
247       disk.device.read.bytes.rate_ps_server_main_1b:
248       - ps_server_main_1b
249       - disk.device.read.bytes.rate
250       network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_1b_port:
251       - ps_server_main_1b_ps_server_main_1b_port
252       - network.outgoing.bytes.rate
253       host_ps_server_main_1b:
254       - ps_server_main_1b
255       - host
256       disk.device.iops_ps_server_main_1b:
257       - ps_server_main_1b
258       - disk.device.iops
259       disk.write.requests_ps_server_main_1b:
260       - ps_server_main_1b
261       - disk.write.requests
262       memory.resident_ps_server_main_1b:
263       - ps_server_main_1b
264       - memory.resident
265       cpu.delta_ps_server_main_1b:
266       - ps_server_main_1b
267       - cpu.delta
268       disk.read.requests_ps_server_main_1b:
269       - ps_server_main_1b
270       - disk.read.requests
271       disk.iops_ps_server_main_1b:
272       - ps_server_main_1b
273       - disk.iops
274       disk.device.allocation_ps_server_main_1b:
275       - ps_server_main_1b
276       - disk.device.allocation
277       feature_ps_server_main_1b:
278       - ps_server_main_1b
279       - feature
280       disk.device.usage_ps_server_main_1b:
281       - ps_server_main_1b
282       - disk.device.usage
283       memory_ps_server_main_1b:
284       - ps_server_main_1b
285       - memory
286       disk.root.size_ps_server_main_1b:
287       - ps_server_main_1b
288       - disk.root.size
289       network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_1b_port:
290       - ps_server_main_1b_ps_server_main_1b_port
291       - network.incoming.bytes.rate
292       disk.allocation_ps_server_main_1b:
293       - ps_server_main_1b
294       - disk.allocation
295     requirements:
296       dependency_ps_server_main_1b:
297       - ps_server_main_1b
298       - dependency
299       link_ps_server_main_1b_ps_server_main_1b_port:
300       - ps_server_main_1b_ps_server_main_1b_port
301       - link
302       dependency_ps_server_main_1b_ps_server_main_1b_port:
303       - ps_server_main_1b_ps_server_main_1b_port
304       - dependency
305       local_storage_ps_server_main_1b:
306       - ps_server_main_1b
307       - local_storage