[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 / twoNestedLevelsWithAllPatternsAndConnectivities / out / Nested_pd_server_1b_1ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Nested_pd_server_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_1b:
11     derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
12 topology_template:
13   inputs:
14     compute_pd_server_1b_name:
15       type: list
16       required: true
17       entry_schema:
18         type: string
19     port_pd_server_b_port_exCP_naming:
20       type: org.openecomp.datatypes.Naming
21       required: true
22     index_value:
23       type: integer
24       description: Index value of this substitution service template runtime instance
25       required: false
26       default: 0
27       constraints:
28       - greater_or_equal: 0
29     vm_flavor_name:
30       type: string
31       required: true
32     port_pd_server_b_port_mac_requirements:
33       type: org.openecomp.datatypes.network.MacRequirements
34       required: true
35     port_pd_server_b_port_fixed_ips:
36       type: list
37       required: true
38       entry_schema:
39         type: org.openecomp.datatypes.heat.neutron.port.FixedIps
40     port_pd_server_b_port_subnetpoolid:
41       type: string
42       required: true
43     vm_image_name:
44       type: string
45       required: true
46     port_pd_server_b_port_ip_requirements:
47       type: list
48       required: true
49       entry_schema:
50         type: org.openecomp.datatypes.network.IpRequirements
51     port_pd_server_b_port_network:
52       type: list
53       required: true
54       entry_schema:
55         type: string
56     port_pd_server_b_port_network_role_tag:
57       type: string
58       required: true
59     port_pd_server_b_port_network_role:
60       type: string
61       required: true
62     port_pd_server_b_port_replacement_policy:
63       type: list
64       required: true
65       entry_schema:
66         type: string
67     compute_pd_server_1b_availability_zone:
68       type: list
69       required: true
70       entry_schema:
71         type: string
72     port_pd_server_b_port_order:
73       type: integer
74       required: true
75     port_pd_server_b_port_vlan_requirements:
76       type: list
77       required: true
78       entry_schema:
79         type: org.openecomp.datatypes.network.VlanRequirements
80   node_templates:
81     pd_server_1b:
82       type: org.openecomp.resource.vfc.nodes.heat.pd_server_1b
83       properties:
84         availability_zone:
85           get_input:
86           - compute_pd_server_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_1b_name
95           - index_value
96     pd_server_1b_pd_server_b_port:
97       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
98       properties:
99         exCP_naming:
100           get_input: port_pd_server_b_port_exCP_naming
101         replacement_policy:
102           get_input:
103           - port_pd_server_b_port_replacement_policy
104           - index_value
105         vlan_requirements:
106           get_input: port_pd_server_b_port_vlan_requirements
107         ip_requirements:
108           get_input: port_pd_server_b_port_ip_requirements
109         network_role_tag:
110           get_input: port_pd_server_b_port_network_role_tag
111         mac_requirements:
112           get_input: port_pd_server_b_port_mac_requirements
113         order:
114           get_input: port_pd_server_b_port_order
115         network_role:
116           get_input: port_pd_server_b_port_network_role
117         subnetpoolid:
118           get_input: port_pd_server_b_port_subnetpoolid
119         fixed_ips:
120           get_input: port_pd_server_b_port_fixed_ips
121         network:
122           get_input:
123           - port_pd_server_b_port_network
124           - index_value
125       requirements:
126       - binding:
127           capability: tosca.capabilities.network.Bindable
128           node: pd_server_1b
129           relationship: tosca.relationships.network.BindsTo
130   outputs:
131     pd_server_1b_accessIPv4:
132       type: string
133       value:
134         get_attribute:
135         - pd_server_1b
136         - accessIPv4
137   substitution_mappings:
138     node_type: org.openecomp.resource.abstract.nodes.pd_server_1b_1
139     capabilities:
140       disk.device.read.bytes_pd_server_1b:
141       - pd_server_1b
142       - disk.device.read.bytes
143       host_pd_server_1b:
144       - pd_server_1b
145       - host
146       disk.read.bytes.rate_pd_server_1b:
147       - pd_server_1b
148       - disk.read.bytes.rate
149       feature_pd_server_1b_pd_server_b_port:
150       - pd_server_1b_pd_server_b_port
151       - feature
152       disk.allocation_pd_server_1b:
153       - pd_server_1b
154       - disk.allocation
155       network.incoming.bytes_pd_server_1b_pd_server_b_port:
156       - pd_server_1b_pd_server_b_port
157       - network.incoming.bytes
158       network.outgoing.bytes.rate_pd_server_1b_pd_server_b_port:
159       - pd_server_1b_pd_server_b_port
160       - network.outgoing.bytes.rate
161       binding_pd_server_1b_pd_server_b_port:
162       - pd_server_1b_pd_server_b_port
163       - binding
164       cpu.delta_pd_server_1b:
165       - pd_server_1b
166       - cpu.delta
167       disk.device.read.requests_pd_server_1b:
168       - pd_server_1b
169       - disk.device.read.requests
170       feature_pd_server_1b:
171       - pd_server_1b
172       - feature
173       disk.device.iops_pd_server_1b:
174       - pd_server_1b
175       - disk.device.iops
176       cpu_pd_server_1b:
177       - pd_server_1b
178       - cpu
179       disk.write.bytes.rate_pd_server_1b:
180       - pd_server_1b
181       - disk.write.bytes.rate
182       disk.device.read.requests.rate_pd_server_1b:
183       - pd_server_1b
184       - disk.device.read.requests.rate
185       endpoint_pd_server_1b:
186       - pd_server_1b
187       - endpoint
188       disk.device.allocation_pd_server_1b:
189       - pd_server_1b
190       - disk.device.allocation
191       memory.usage_pd_server_1b:
192       - pd_server_1b
193       - memory.usage
194       attachment_pd_server_1b_pd_server_b_port:
195       - pd_server_1b_pd_server_b_port
196       - attachment
197       memory_pd_server_1b:
198       - pd_server_1b
199       - memory
200       disk.device.read.bytes.rate_pd_server_1b:
201       - pd_server_1b
202       - disk.device.read.bytes.rate
203       disk.device.latency_pd_server_1b:
204       - pd_server_1b
205       - disk.device.latency
206       disk.read.bytes_pd_server_1b:
207       - pd_server_1b
208       - disk.read.bytes
209       disk.device.usage_pd_server_1b:
210       - pd_server_1b
211       - disk.device.usage
212       disk.device.write.requests_pd_server_1b:
213       - pd_server_1b
214       - disk.device.write.requests
215       network.incoming.bytes.rate_pd_server_1b_pd_server_b_port:
216       - pd_server_1b_pd_server_b_port
217       - network.incoming.bytes.rate
218       disk.latency_pd_server_1b:
219       - pd_server_1b
220       - disk.latency
221       disk.ephemeral.size_pd_server_1b:
222       - pd_server_1b
223       - disk.ephemeral.size
224       scalable_pd_server_1b:
225       - pd_server_1b
226       - scalable
227       disk.write.requests_pd_server_1b:
228       - pd_server_1b
229       - disk.write.requests
230       disk.device.write.bytes.rate_pd_server_1b:
231       - pd_server_1b
232       - disk.device.write.bytes.rate
233       disk.root.size_pd_server_1b:
234       - pd_server_1b
235       - disk.root.size
236       disk.iops_pd_server_1b:
237       - pd_server_1b
238       - disk.iops
239       network.incoming.packets.rate_pd_server_1b_pd_server_b_port:
240       - pd_server_1b_pd_server_b_port
241       - network.incoming.packets.rate
242       disk.write.bytes_pd_server_1b:
243       - pd_server_1b
244       - disk.write.bytes
245       disk.device.write.bytes_pd_server_1b:
246       - pd_server_1b
247       - disk.device.write.bytes
248       os_pd_server_1b:
249       - pd_server_1b
250       - os
251       vcpus_pd_server_1b:
252       - pd_server_1b
253       - vcpus
254       instance_pd_server_1b:
255       - pd_server_1b
256       - instance
257       binding_pd_server_1b:
258       - pd_server_1b
259       - binding
260       cpu_util_pd_server_1b:
261       - pd_server_1b
262       - cpu_util
263       memory.resident_pd_server_1b:
264       - pd_server_1b
265       - memory.resident
266       network.incoming.packets_pd_server_1b_pd_server_b_port:
267       - pd_server_1b_pd_server_b_port
268       - network.incoming.packets
269       network.outgoing.packets.rate_pd_server_1b_pd_server_b_port:
270       - pd_server_1b_pd_server_b_port
271       - network.outgoing.packets.rate
272       disk.device.write.requests.rate_pd_server_1b:
273       - pd_server_1b
274       - disk.device.write.requests.rate
275       disk.device.capacity_pd_server_1b:
276       - pd_server_1b
277       - disk.device.capacity
278       disk.read.requests_pd_server_1b:
279       - pd_server_1b
280       - disk.read.requests
281       network.outpoing.packets_pd_server_1b_pd_server_b_port:
282       - pd_server_1b_pd_server_b_port
283       - network.outpoing.packets
284       disk.capacity_pd_server_1b:
285       - pd_server_1b
286       - disk.capacity
287       disk.usage_pd_server_1b:
288       - pd_server_1b
289       - disk.usage
290       network.outgoing.bytes_pd_server_1b_pd_server_b_port:
291       - pd_server_1b_pd_server_b_port
292       - network.outgoing.bytes
293       disk.write.requests.rate_pd_server_1b:
294       - pd_server_1b
295       - disk.write.requests.rate
296     requirements:
297       dependency_pd_server_1b:
298       - pd_server_1b
299       - dependency
300       local_storage_pd_server_1b:
301       - pd_server_1b
302       - local_storage
303       link_pd_server_1b_pd_server_b_port:
304       - pd_server_1b_pd_server_b_port
305       - link
306       dependency_pd_server_1b_pd_server_b_port:
307       - pd_server_1b_pd_server_b_port
308       - dependency