a5486892519fb43887b36daebc6a26d661ad32cd
[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         exCP_naming:
85           get_input: port_ps_server_main_1b_port_exCP_naming
86         replacement_policy:
87           get_input:
88           - port_ps_server_main_1b_port_replacement_policy
89           - index_value
90         vlan_requirements:
91           get_input: port_ps_server_main_1b_port_vlan_requirements
92         ip_requirements:
93           get_input: port_ps_server_main_1b_port_ip_requirements
94         network_role_tag:
95           get_input: port_ps_server_main_1b_port_network_role_tag
96         mac_requirements:
97           get_input: port_ps_server_main_1b_port_mac_requirements
98         order:
99           get_input: port_ps_server_main_1b_port_order
100         network_role:
101           get_input: port_ps_server_main_1b_port_network_role
102         subnetpoolid:
103           get_input: port_ps_server_main_1b_port_subnetpoolid
104         fixed_ips:
105           get_input:
106           - port_ps_server_main_1b_port_fixed_ips
107           - index_value
108         network:
109           get_input:
110           - port_ps_server_main_1b_port_network
111           - index_value
112       requirements:
113       - binding:
114           capability: tosca.capabilities.network.Bindable
115           node: ps_server_main_1b
116           relationship: tosca.relationships.network.BindsTo
117     ps_server_main_1b:
118       type: org.openecomp.resource.vfc.compute.nodes.heat.ps_server_main_1b
119       properties:
120         availability_zone:
121           get_input:
122           - compute_ps_server_main_1b_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_ps_server_main_1b_name
131           - index_value
132   substitution_mappings:
133     node_type: org.openecomp.resource.abstract.nodes.ps_server_main_1b
134     capabilities:
135       network.incoming.bytes_ps_server_main_1b_ps_server_main_1b_port:
136       - ps_server_main_1b_ps_server_main_1b_port
137       - network.incoming.bytes
138       disk.device.write.requests_ps_server_main_1b:
139       - ps_server_main_1b
140       - disk.device.write.requests
141       disk.device.capacity_ps_server_main_1b:
142       - ps_server_main_1b
143       - disk.device.capacity
144       disk.capacity_ps_server_main_1b:
145       - ps_server_main_1b
146       - disk.capacity
147       attachment_ps_server_main_1b_ps_server_main_1b_port:
148       - ps_server_main_1b_ps_server_main_1b_port
149       - attachment
150       disk.device.read.bytes_ps_server_main_1b:
151       - ps_server_main_1b
152       - disk.device.read.bytes
153       vcpus_ps_server_main_1b:
154       - ps_server_main_1b
155       - vcpus
156       network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_1b_port:
157       - ps_server_main_1b_ps_server_main_1b_port
158       - network.outgoing.packets.rate
159       cpu_util_ps_server_main_1b:
160       - ps_server_main_1b
161       - cpu_util
162       binding_ps_server_main_1b_ps_server_main_1b_port:
163       - ps_server_main_1b_ps_server_main_1b_port
164       - binding
165       disk.device.write.bytes.rate_ps_server_main_1b:
166       - ps_server_main_1b
167       - disk.device.write.bytes.rate
168       disk.device.read.requests.rate_ps_server_main_1b:
169       - ps_server_main_1b
170       - disk.device.read.requests.rate
171       disk.device.write.requests.rate_ps_server_main_1b:
172       - ps_server_main_1b
173       - disk.device.write.requests.rate
174       cpu_ps_server_main_1b:
175       - ps_server_main_1b
176       - cpu
177       instance_ps_server_main_1b:
178       - ps_server_main_1b
179       - instance
180       network.outpoing.packets_ps_server_main_1b_ps_server_main_1b_port:
181       - ps_server_main_1b_ps_server_main_1b_port
182       - network.outpoing.packets
183       disk.read.bytes.rate_ps_server_main_1b:
184       - ps_server_main_1b
185       - disk.read.bytes.rate
186       disk.latency_ps_server_main_1b:
187       - ps_server_main_1b
188       - disk.latency
189       feature_ps_server_main_1b_ps_server_main_1b_port:
190       - ps_server_main_1b_ps_server_main_1b_port
191       - feature
192       disk.device.read.requests_ps_server_main_1b:
193       - ps_server_main_1b
194       - disk.device.read.requests
195       memory.usage_ps_server_main_1b:
196       - ps_server_main_1b
197       - memory.usage
198       forwarder_ps_server_main_1b_ps_server_main_1b_port:
199       - ps_server_main_1b_ps_server_main_1b_port
200       - forwarder
201       disk.write.requests.rate_ps_server_main_1b:
202       - ps_server_main_1b
203       - disk.write.requests.rate
204       scalable_ps_server_main_1b:
205       - ps_server_main_1b
206       - scalable
207       network.outgoing.bytes_ps_server_main_1b_ps_server_main_1b_port:
208       - ps_server_main_1b_ps_server_main_1b_port
209       - network.outgoing.bytes
210       network.incoming.packets.rate_ps_server_main_1b_ps_server_main_1b_port:
211       - ps_server_main_1b_ps_server_main_1b_port
212       - network.incoming.packets.rate
213       disk.usage_ps_server_main_1b:
214       - ps_server_main_1b
215       - disk.usage
216       disk.read.bytes_ps_server_main_1b:
217       - ps_server_main_1b
218       - disk.read.bytes
219       disk.ephemeral.size_ps_server_main_1b:
220       - ps_server_main_1b
221       - disk.ephemeral.size
222       endpoint_ps_server_main_1b:
223       - ps_server_main_1b
224       - endpoint
225       os_ps_server_main_1b:
226       - ps_server_main_1b
227       - os
228       disk.write.bytes_ps_server_main_1b:
229       - ps_server_main_1b
230       - disk.write.bytes
231       disk.device.write.bytes_ps_server_main_1b:
232       - ps_server_main_1b
233       - disk.device.write.bytes
234       disk.device.latency_ps_server_main_1b:
235       - ps_server_main_1b
236       - disk.device.latency
237       disk.write.bytes.rate_ps_server_main_1b:
238       - ps_server_main_1b
239       - disk.write.bytes.rate
240       binding_ps_server_main_1b:
241       - ps_server_main_1b
242       - binding
243       network.incoming.packets_ps_server_main_1b_ps_server_main_1b_port:
244       - ps_server_main_1b_ps_server_main_1b_port
245       - network.incoming.packets
246       disk.device.read.bytes.rate_ps_server_main_1b:
247       - ps_server_main_1b
248       - disk.device.read.bytes.rate
249       network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_1b_port:
250       - ps_server_main_1b_ps_server_main_1b_port
251       - network.outgoing.bytes.rate
252       host_ps_server_main_1b:
253       - ps_server_main_1b
254       - host
255       disk.device.iops_ps_server_main_1b:
256       - ps_server_main_1b
257       - disk.device.iops
258       disk.write.requests_ps_server_main_1b:
259       - ps_server_main_1b
260       - disk.write.requests
261       memory.resident_ps_server_main_1b:
262       - ps_server_main_1b
263       - memory.resident
264       cpu.delta_ps_server_main_1b:
265       - ps_server_main_1b
266       - cpu.delta
267       disk.read.requests_ps_server_main_1b:
268       - ps_server_main_1b
269       - disk.read.requests
270       disk.iops_ps_server_main_1b:
271       - ps_server_main_1b
272       - disk.iops
273       disk.device.allocation_ps_server_main_1b:
274       - ps_server_main_1b
275       - disk.device.allocation
276       feature_ps_server_main_1b:
277       - ps_server_main_1b
278       - feature
279       disk.device.usage_ps_server_main_1b:
280       - ps_server_main_1b
281       - disk.device.usage
282       memory_ps_server_main_1b:
283       - ps_server_main_1b
284       - memory
285       disk.root.size_ps_server_main_1b:
286       - ps_server_main_1b
287       - disk.root.size
288       network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_1b_port:
289       - ps_server_main_1b_ps_server_main_1b_port
290       - network.incoming.bytes.rate
291       disk.allocation_ps_server_main_1b:
292       - ps_server_main_1b
293       - disk.allocation
294     requirements:
295       dependency_ps_server_main_1b:
296       - ps_server_main_1b
297       - dependency
298       link_ps_server_main_1b_ps_server_main_1b_port:
299       - ps_server_main_1b_ps_server_main_1b_port
300       - link
301       dependency_ps_server_main_1b_ps_server_main_1b_port:
302       - ps_server_main_1b_ps_server_main_1b_port
303       - dependency
304       local_storage_ps_server_main_1b:
305       - ps_server_main_1b
306       - local_storage