[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_pd_server_main_1b_1ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_pd_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.pd_server_main_1b:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     port_pd_server_main_b_port_exCP_naming:
15       type: org.openecomp.datatypes.Naming
16       required: true
17     index_value:
18       type: integer
19       description: Index value of this substitution service template runtime instance
20       required: false
21       default: 0
22       constraints:
23       - greater_or_equal: 0
24     port_pd_server_main_b_port_order:
25       type: integer
26       required: true
27     compute_pd_server_main_1b_availability_zone:
28       type: list
29       required: true
30       entry_schema:
31         type: string
32     port_pd_server_main_b_port_replacement_policy:
33       type: list
34       required: true
35       entry_schema:
36         type: string
37     port_pd_server_main_b_port_subnetpoolid:
38       type: string
39       required: true
40     port_pd_server_main_b_port_network_role_tag:
41       type: string
42       required: true
43     vm_flavor_name:
44       type: string
45       required: true
46     port_pd_server_main_b_port_fixed_ips:
47       type: list
48       required: true
49       entry_schema:
50         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
51     port_pd_server_main_b_port_vlan_requirements:
52       type: list
53       required: true
54       entry_schema:
55         type: org.openecomp.datatypes.network.VlanRequirements
56     port_pd_server_main_b_port_network_role:
57       type: string
58       required: true
59     port_pd_server_main_b_port_ip_requirements:
60       type: list
61       required: true
62       entry_schema:
63         type: org.openecomp.datatypes.network.IpRequirements
64     vm_image_name:
65       type: string
66       required: true
67     port_pd_server_main_b_port_mac_requirements:
68       type: org.openecomp.datatypes.network.MacRequirements
69       required: true
70     compute_pd_server_main_1b_name:
71       type: list
72       required: true
73       entry_schema:
74         type: string
75     port_pd_server_main_b_port_network:
76       type: list
77       required: true
78       entry_schema:
79         type: string
80   node_templates:
81     pd_server_main_1b:
82       type: org.openecomp.resource.vfc.nodes.heat.pd_server_main_1b
83       properties:
84         availability_zone:
85           get_input:
86           - compute_pd_server_main_1b_availability_zone
87           - index_value
88         flavor:
89           get_input: vm_flavor_name
90         image:
91           get_input: vm_image_name
92         name:
93           get_input:
94           - compute_pd_server_main_1b_name
95           - index_value
96     pd_server_main_1b_pd_server_main_b_port:
97       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
98       properties:
99         exCP_naming:
100           get_input: port_pd_server_main_b_port_exCP_naming
101         replacement_policy:
102           get_input:
103           - port_pd_server_main_b_port_replacement_policy
104           - index_value
105         vlan_requirements:
106           get_input: port_pd_server_main_b_port_vlan_requirements
107         ip_requirements:
108           get_input: port_pd_server_main_b_port_ip_requirements
109         network_role_tag:
110           get_input: port_pd_server_main_b_port_network_role_tag
111         mac_requirements:
112           get_input: port_pd_server_main_b_port_mac_requirements
113         order:
114           get_input: port_pd_server_main_b_port_order
115         network_role:
116           get_input: port_pd_server_main_b_port_network_role
117         subnetpoolid:
118           get_input: port_pd_server_main_b_port_subnetpoolid
119         fixed_ips:
120           get_input: port_pd_server_main_b_port_fixed_ips
121         network:
122           get_input:
123           - port_pd_server_main_b_port_network
124           - index_value
125       requirements:
126       - binding:
127           capability: tosca.capabilities.network.Bindable
128           node: pd_server_main_1b
129           relationship: tosca.relationships.network.BindsTo
130   substitution_mappings:
131     node_type: org.openecomp.resource.abstract.nodes.pd_server_main_1b_1
132     capabilities:
133       disk.write.bytes_pd_server_main_1b:
134       - pd_server_main_1b
135       - disk.write.bytes
136       disk.device.capacity_pd_server_main_1b:
137       - pd_server_main_1b
138       - disk.device.capacity
139       disk.device.write.requests_pd_server_main_1b:
140       - pd_server_main_1b
141       - disk.device.write.requests
142       disk.capacity_pd_server_main_1b:
143       - pd_server_main_1b
144       - disk.capacity
145       feature_pd_server_main_1b:
146       - pd_server_main_1b
147       - feature
148       disk.usage_pd_server_main_1b:
149       - pd_server_main_1b
150       - disk.usage
151       disk.read.bytes_pd_server_main_1b:
152       - pd_server_main_1b
153       - disk.read.bytes
154       scalable_pd_server_main_1b:
155       - pd_server_main_1b
156       - scalable
157       network.incoming.packets.rate_pd_server_main_1b_pd_server_main_b_port:
158       - pd_server_main_1b_pd_server_main_b_port
159       - network.incoming.packets.rate
160       endpoint_pd_server_main_1b:
161       - pd_server_main_1b
162       - endpoint
163       attachment_pd_server_main_1b_pd_server_main_b_port:
164       - pd_server_main_1b_pd_server_main_b_port
165       - attachment
166       instance_pd_server_main_1b:
167       - pd_server_main_1b
168       - instance
169       host_pd_server_main_1b:
170       - pd_server_main_1b
171       - host
172       network.outpoing.packets_pd_server_main_1b_pd_server_main_b_port:
173       - pd_server_main_1b_pd_server_main_b_port
174       - network.outpoing.packets
175       cpu.delta_pd_server_main_1b:
176       - pd_server_main_1b
177       - cpu.delta
178       binding_pd_server_main_1b_pd_server_main_b_port:
179       - pd_server_main_1b_pd_server_main_b_port
180       - binding
181       disk.device.read.bytes_pd_server_main_1b:
182       - pd_server_main_1b
183       - disk.device.read.bytes
184       disk.device.read.bytes.rate_pd_server_main_1b:
185       - pd_server_main_1b
186       - disk.device.read.bytes.rate
187       network.outgoing.bytes_pd_server_main_1b_pd_server_main_b_port:
188       - pd_server_main_1b_pd_server_main_b_port
189       - network.outgoing.bytes
190       disk.device.iops_pd_server_main_1b:
191       - pd_server_main_1b
192       - disk.device.iops
193       disk.device.write.requests.rate_pd_server_main_1b:
194       - pd_server_main_1b
195       - disk.device.write.requests.rate
196       network.outgoing.packets.rate_pd_server_main_1b_pd_server_main_b_port:
197       - pd_server_main_1b_pd_server_main_b_port
198       - network.outgoing.packets.rate
199       disk.device.write.bytes_pd_server_main_1b:
200       - pd_server_main_1b
201       - disk.device.write.bytes
202       disk.device.latency_pd_server_main_1b:
203       - pd_server_main_1b
204       - disk.device.latency
205       feature_pd_server_main_1b_pd_server_main_b_port:
206       - pd_server_main_1b_pd_server_main_b_port
207       - feature
208       binding_pd_server_main_1b:
209       - pd_server_main_1b
210       - binding
211       disk.write.bytes.rate_pd_server_main_1b:
212       - pd_server_main_1b
213       - disk.write.bytes.rate
214       disk.ephemeral.size_pd_server_main_1b:
215       - pd_server_main_1b
216       - disk.ephemeral.size
217       disk.read.requests_pd_server_main_1b:
218       - pd_server_main_1b
219       - disk.read.requests
220       disk.allocation_pd_server_main_1b:
221       - pd_server_main_1b
222       - disk.allocation
223       disk.device.usage_pd_server_main_1b:
224       - pd_server_main_1b
225       - disk.device.usage
226       network.incoming.bytes.rate_pd_server_main_1b_pd_server_main_b_port:
227       - pd_server_main_1b_pd_server_main_b_port
228       - network.incoming.bytes.rate
229       disk.write.requests.rate_pd_server_main_1b:
230       - pd_server_main_1b
231       - disk.write.requests.rate
232       network.incoming.bytes_pd_server_main_1b_pd_server_main_b_port:
233       - pd_server_main_1b_pd_server_main_b_port
234       - network.incoming.bytes
235       network.outgoing.bytes.rate_pd_server_main_1b_pd_server_main_b_port:
236       - pd_server_main_1b_pd_server_main_b_port
237       - network.outgoing.bytes.rate
238       os_pd_server_main_1b:
239       - pd_server_main_1b
240       - os
241       memory_pd_server_main_1b:
242       - pd_server_main_1b
243       - memory
244       disk.root.size_pd_server_main_1b:
245       - pd_server_main_1b
246       - disk.root.size
247       memory.usage_pd_server_main_1b:
248       - pd_server_main_1b
249       - memory.usage
250       memory.resident_pd_server_main_1b:
251       - pd_server_main_1b
252       - memory.resident
253       disk.latency_pd_server_main_1b:
254       - pd_server_main_1b
255       - disk.latency
256       disk.read.bytes.rate_pd_server_main_1b:
257       - pd_server_main_1b
258       - disk.read.bytes.rate
259       disk.device.read.requests_pd_server_main_1b:
260       - pd_server_main_1b
261       - disk.device.read.requests
262       disk.device.allocation_pd_server_main_1b:
263       - pd_server_main_1b
264       - disk.device.allocation
265       network.incoming.packets_pd_server_main_1b_pd_server_main_b_port:
266       - pd_server_main_1b_pd_server_main_b_port
267       - network.incoming.packets
268       disk.iops_pd_server_main_1b:
269       - pd_server_main_1b
270       - disk.iops
271       vcpus_pd_server_main_1b:
272       - pd_server_main_1b
273       - vcpus
274       disk.write.requests_pd_server_main_1b:
275       - pd_server_main_1b
276       - disk.write.requests
277       cpu_util_pd_server_main_1b:
278       - pd_server_main_1b
279       - cpu_util
280       cpu_pd_server_main_1b:
281       - pd_server_main_1b
282       - cpu
283       disk.device.write.bytes.rate_pd_server_main_1b:
284       - pd_server_main_1b
285       - disk.device.write.bytes.rate
286       disk.device.read.requests.rate_pd_server_main_1b:
287       - pd_server_main_1b
288       - disk.device.read.requests.rate
289     requirements:
290       link_pd_server_main_1b_pd_server_main_b_port:
291       - pd_server_main_1b_pd_server_main_b_port
292       - link
293       dependency_pd_server_main_1b_pd_server_main_b_port:
294       - pd_server_main_1b_pd_server_main_b_port
295       - dependency
296       dependency_pd_server_main_1b:
297       - pd_server_main_1b
298       - dependency
299       local_storage_pd_server_main_1b:
300       - pd_server_main_1b
301       - local_storage