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