bc7ddf35ac4fb127a01cc96f5721a0b6c7e88d0b
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_ps_server_main_1b_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_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_1
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       forwarder_ps_server_main_1b_ps_server_main_1b_port:
197       - ps_server_main_1b_ps_server_main_1b_port
198       - forwarder
199       disk.write.requests.rate_ps_server_main_1b:
200       - ps_server_main_1b
201       - disk.write.requests.rate
202       scalable_ps_server_main_1b:
203       - ps_server_main_1b
204       - scalable
205       network.outgoing.bytes_ps_server_main_1b_ps_server_main_1b_port:
206       - ps_server_main_1b_ps_server_main_1b_port
207       - network.outgoing.bytes
208       network.incoming.packets.rate_ps_server_main_1b_ps_server_main_1b_port:
209       - ps_server_main_1b_ps_server_main_1b_port
210       - network.incoming.packets.rate
211       disk.usage_ps_server_main_1b:
212       - ps_server_main_1b
213       - disk.usage
214       disk.read.bytes_ps_server_main_1b:
215       - ps_server_main_1b
216       - disk.read.bytes
217       disk.ephemeral.size_ps_server_main_1b:
218       - ps_server_main_1b
219       - disk.ephemeral.size
220       endpoint_ps_server_main_1b:
221       - ps_server_main_1b
222       - endpoint
223       os_ps_server_main_1b:
224       - ps_server_main_1b
225       - os
226       disk.write.bytes_ps_server_main_1b:
227       - ps_server_main_1b
228       - disk.write.bytes
229       disk.device.write.bytes_ps_server_main_1b:
230       - ps_server_main_1b
231       - disk.device.write.bytes
232       disk.device.latency_ps_server_main_1b:
233       - ps_server_main_1b
234       - disk.device.latency
235       disk.write.bytes.rate_ps_server_main_1b:
236       - ps_server_main_1b
237       - disk.write.bytes.rate
238       binding_ps_server_main_1b:
239       - ps_server_main_1b
240       - binding
241       network.incoming.packets_ps_server_main_1b_ps_server_main_1b_port:
242       - ps_server_main_1b_ps_server_main_1b_port
243       - network.incoming.packets
244       disk.device.read.bytes.rate_ps_server_main_1b:
245       - ps_server_main_1b
246       - disk.device.read.bytes.rate
247       network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_1b_port:
248       - ps_server_main_1b_ps_server_main_1b_port
249       - network.outgoing.bytes.rate
250       host_ps_server_main_1b:
251       - ps_server_main_1b
252       - host
253       disk.device.iops_ps_server_main_1b:
254       - ps_server_main_1b
255       - disk.device.iops
256       disk.write.requests_ps_server_main_1b:
257       - ps_server_main_1b
258       - disk.write.requests
259       memory.resident_ps_server_main_1b:
260       - ps_server_main_1b
261       - memory.resident
262       cpu.delta_ps_server_main_1b:
263       - ps_server_main_1b
264       - cpu.delta
265       disk.read.requests_ps_server_main_1b:
266       - ps_server_main_1b
267       - disk.read.requests
268       disk.iops_ps_server_main_1b:
269       - ps_server_main_1b
270       - disk.iops
271       disk.device.allocation_ps_server_main_1b:
272       - ps_server_main_1b
273       - disk.device.allocation
274       feature_ps_server_main_1b:
275       - ps_server_main_1b
276       - feature
277       disk.device.usage_ps_server_main_1b:
278       - ps_server_main_1b
279       - disk.device.usage
280       memory_ps_server_main_1b:
281       - ps_server_main_1b
282       - memory
283       disk.root.size_ps_server_main_1b:
284       - ps_server_main_1b
285       - disk.root.size
286       network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_1b_port:
287       - ps_server_main_1b_ps_server_main_1b_port
288       - network.incoming.bytes.rate
289       disk.allocation_ps_server_main_1b:
290       - ps_server_main_1b
291       - disk.allocation
292     requirements:
293       dependency_ps_server_main_1b:
294       - ps_server_main_1b
295       - dependency
296       link_ps_server_main_1b_ps_server_main_1b_port:
297       - ps_server_main_1b_ps_server_main_1b_port
298       - link
299       dependency_ps_server_main_1b_ps_server_main_1b_port:
300       - ps_server_main_1b_ps_server_main_1b_port
301       - dependency
302       local_storage_ps_server_main_1b:
303       - ps_server_main_1b
304       - local_storage