[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / nestedOtherScenarios / multiLevel / allPatternsDependsOnConnectivity / out / Nested_ps_server_main_1b_1ServiceTemplate.yaml
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.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_b_port_network_role_tag:
15       type: string
16       required: true
17     port_ps_server_main_b_port_network_role:
18       type: string
19       required: true
20     compute_ps_server_main_1b_availability_zone:
21       type: list
22       required: true
23       entry_schema:
24         type: string
25     port_ps_server_main_b_port_exCP_naming:
26       type: org.openecomp.datatypes.Naming
27       required: true
28     index_value:
29       type: integer
30       description: Index value of this substitution service template runtime instance
31       required: false
32       default: 0
33       constraints:
34       - greater_or_equal: 0
35     port_ps_server_main_b_port_replacement_policy:
36       type: list
37       required: true
38       entry_schema:
39         type: string
40     port_ps_server_main_b_port_ip_requirements:
41       type: list
42       required: true
43       entry_schema:
44         type: org.openecomp.datatypes.network.IpRequirements
45     vm_flavor_name:
46       type: string
47       required: true
48     port_ps_server_main_b_port_network:
49       type: list
50       required: true
51       entry_schema:
52         type: string
53     port_ps_server_main_b_port_order:
54       type: integer
55       required: true
56     port_ps_server_main_b_port_mac_requirements:
57       type: org.openecomp.datatypes.network.MacRequirements
58       required: true
59     port_ps_server_main_b_port_fixed_ips:
60       type: list
61       required: true
62       entry_schema:
63         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
64     vm_image_name:
65       type: string
66       required: true
67     port_ps_server_main_b_port_vlan_requirements:
68       type: list
69       required: true
70       entry_schema:
71         type: org.openecomp.datatypes.network.VlanRequirements
72     compute_ps_server_main_1b_name:
73       type: list
74       required: true
75       entry_schema:
76         type: string
77     port_ps_server_main_b_port_subnetpoolid:
78       type: string
79       required: true
80   node_templates:
81     ps_server_main_1b_ps_server_main_b_port:
82       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
83       properties:
84         exCP_naming:
85           get_input: port_ps_server_main_b_port_exCP_naming
86         replacement_policy:
87           get_input:
88           - port_ps_server_main_b_port_replacement_policy
89           - index_value
90         vlan_requirements:
91           get_input: port_ps_server_main_b_port_vlan_requirements
92         ip_requirements:
93           get_input: port_ps_server_main_b_port_ip_requirements
94         network_role_tag:
95           get_input: port_ps_server_main_b_port_network_role_tag
96         mac_requirements:
97           get_input: port_ps_server_main_b_port_mac_requirements
98         order:
99           get_input: port_ps_server_main_b_port_order
100         network_role:
101           get_input: port_ps_server_main_b_port_network_role
102         subnetpoolid:
103           get_input: port_ps_server_main_b_port_subnetpoolid
104         fixed_ips:
105           get_input: port_ps_server_main_b_port_fixed_ips
106         network:
107           get_input:
108           - port_ps_server_main_b_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.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       disk.device.write.requests_ps_server_main_1b:
134       - ps_server_main_1b
135       - disk.device.write.requests
136       disk.device.capacity_ps_server_main_1b:
137       - ps_server_main_1b
138       - disk.device.capacity
139       disk.capacity_ps_server_main_1b:
140       - ps_server_main_1b
141       - disk.capacity
142       network.incoming.packets.rate_ps_server_main_1b_ps_server_main_b_port:
143       - ps_server_main_1b_ps_server_main_b_port
144       - network.incoming.packets.rate
145       disk.device.read.bytes_ps_server_main_1b:
146       - ps_server_main_1b
147       - disk.device.read.bytes
148       vcpus_ps_server_main_1b:
149       - ps_server_main_1b
150       - vcpus
151       network.incoming.bytes_ps_server_main_1b_ps_server_main_b_port:
152       - ps_server_main_1b_ps_server_main_b_port
153       - network.incoming.bytes
154       cpu_util_ps_server_main_1b:
155       - ps_server_main_1b
156       - cpu_util
157       disk.device.write.bytes.rate_ps_server_main_1b:
158       - ps_server_main_1b
159       - disk.device.write.bytes.rate
160       disk.device.read.requests.rate_ps_server_main_1b:
161       - ps_server_main_1b
162       - disk.device.read.requests.rate
163       disk.device.write.requests.rate_ps_server_main_1b:
164       - ps_server_main_1b
165       - disk.device.write.requests.rate
166       cpu_ps_server_main_1b:
167       - ps_server_main_1b
168       - cpu
169       instance_ps_server_main_1b:
170       - ps_server_main_1b
171       - instance
172       disk.read.bytes.rate_ps_server_main_1b:
173       - ps_server_main_1b
174       - disk.read.bytes.rate
175       disk.latency_ps_server_main_1b:
176       - ps_server_main_1b
177       - disk.latency
178       disk.device.read.requests_ps_server_main_1b:
179       - ps_server_main_1b
180       - disk.device.read.requests
181       memory.usage_ps_server_main_1b:
182       - ps_server_main_1b
183       - memory.usage
184       disk.write.requests.rate_ps_server_main_1b:
185       - ps_server_main_1b
186       - disk.write.requests.rate
187       scalable_ps_server_main_1b:
188       - ps_server_main_1b
189       - scalable
190       disk.usage_ps_server_main_1b:
191       - ps_server_main_1b
192       - disk.usage
193       disk.read.bytes_ps_server_main_1b:
194       - ps_server_main_1b
195       - disk.read.bytes
196       disk.ephemeral.size_ps_server_main_1b:
197       - ps_server_main_1b
198       - disk.ephemeral.size
199       endpoint_ps_server_main_1b:
200       - ps_server_main_1b
201       - endpoint
202       os_ps_server_main_1b:
203       - ps_server_main_1b
204       - os
205       disk.write.bytes_ps_server_main_1b:
206       - ps_server_main_1b
207       - disk.write.bytes
208       network.incoming.packets_ps_server_main_1b_ps_server_main_b_port:
209       - ps_server_main_1b_ps_server_main_b_port
210       - network.incoming.packets
211       feature_ps_server_main_1b_ps_server_main_b_port:
212       - ps_server_main_1b_ps_server_main_b_port
213       - feature
214       disk.device.write.bytes_ps_server_main_1b:
215       - ps_server_main_1b
216       - disk.device.write.bytes
217       disk.device.latency_ps_server_main_1b:
218       - ps_server_main_1b
219       - disk.device.latency
220       disk.write.bytes.rate_ps_server_main_1b:
221       - ps_server_main_1b
222       - disk.write.bytes.rate
223       network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_b_port:
224       - ps_server_main_1b_ps_server_main_b_port
225       - network.outgoing.bytes.rate
226       network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_b_port:
227       - ps_server_main_1b_ps_server_main_b_port
228       - network.incoming.bytes.rate
229       binding_ps_server_main_1b:
230       - ps_server_main_1b
231       - binding
232       disk.device.read.bytes.rate_ps_server_main_1b:
233       - ps_server_main_1b
234       - disk.device.read.bytes.rate
235       attachment_ps_server_main_1b_ps_server_main_b_port:
236       - ps_server_main_1b_ps_server_main_b_port
237       - attachment
238       host_ps_server_main_1b:
239       - ps_server_main_1b
240       - host
241       network.outpoing.packets_ps_server_main_1b_ps_server_main_b_port:
242       - ps_server_main_1b_ps_server_main_b_port
243       - network.outpoing.packets
244       disk.device.iops_ps_server_main_1b:
245       - ps_server_main_1b
246       - disk.device.iops
247       binding_ps_server_main_1b_ps_server_main_b_port:
248       - ps_server_main_1b_ps_server_main_b_port
249       - binding
250       disk.write.requests_ps_server_main_1b:
251       - ps_server_main_1b
252       - disk.write.requests
253       memory.resident_ps_server_main_1b:
254       - ps_server_main_1b
255       - memory.resident
256       cpu.delta_ps_server_main_1b:
257       - ps_server_main_1b
258       - cpu.delta
259       disk.read.requests_ps_server_main_1b:
260       - ps_server_main_1b
261       - disk.read.requests
262       disk.iops_ps_server_main_1b:
263       - ps_server_main_1b
264       - disk.iops
265       disk.device.allocation_ps_server_main_1b:
266       - ps_server_main_1b
267       - disk.device.allocation
268       feature_ps_server_main_1b:
269       - ps_server_main_1b
270       - feature
271       disk.device.usage_ps_server_main_1b:
272       - ps_server_main_1b
273       - disk.device.usage
274       network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_b_port:
275       - ps_server_main_1b_ps_server_main_b_port
276       - network.outgoing.packets.rate
277       network.outgoing.bytes_ps_server_main_1b_ps_server_main_b_port:
278       - ps_server_main_1b_ps_server_main_b_port
279       - network.outgoing.bytes
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       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       dependency_ps_server_main_1b_ps_server_main_b_port:
294       - ps_server_main_1b_ps_server_main_b_port
295       - dependency
296       local_storage_ps_server_main_1b:
297       - ps_server_main_1b
298       - local_storage
299       link_ps_server_main_1b_ps_server_main_b_port:
300       - ps_server_main_1b_ps_server_main_b_port
301       - link