related-networks property support as input
[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.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     port_ps_server_main_1b_port_related_networks:
55       type: list
56       required: true
57       entry_schema:
58         type: org.openecomp.datatypes.network.RelatedNetworksAssignments
59     vm_image_name:
60       type: string
61       required: true
62     port_ps_server_main_1b_port_vlan_requirements:
63       type: list
64       required: true
65       entry_schema:
66         type: org.openecomp.datatypes.network.VlanRequirements
67     compute_ps_server_main_1b_name:
68       type: list
69       required: true
70       entry_schema:
71         type: string
72     port_ps_server_main_1b_port_replacement_policy:
73       type: list
74       required: true
75       entry_schema:
76         type: string
77     port_ps_server_main_1b_port_mac_requirements:
78       type: org.openecomp.datatypes.network.MacRequirements
79       required: true
80     port_ps_server_main_1b_port_network:
81       type: list
82       required: true
83       entry_schema:
84         type: string
85   node_templates:
86     ps_server_main_1b_ps_server_main_1b_port:
87       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
88       properties:
89         replacement_policy:
90           get_input:
91           - port_ps_server_main_1b_port_replacement_policy
92           - index_value
93         mac_requirements:
94           get_input: port_ps_server_main_1b_port_mac_requirements
95         order:
96           get_input: port_ps_server_main_1b_port_order
97         exCP_naming:
98           get_input: port_ps_server_main_1b_port_exCP_naming
99         vlan_requirements:
100           get_input: port_ps_server_main_1b_port_vlan_requirements
101         subinterface_indicator: false
102         ip_requirements:
103           get_input: port_ps_server_main_1b_port_ip_requirements
104         related_networks:
105           get_input: port_ps_server_main_1b_port_related_networks
106         network_role_tag:
107           get_input: port_ps_server_main_1b_port_network_role_tag
108         network_role:
109           get_input: port_ps_server_main_1b_port_network_role
110         fixed_ips:
111           get_input:
112           - port_ps_server_main_1b_port_fixed_ips
113           - index_value
114         subnetpoolid:
115           get_input: port_ps_server_main_1b_port_subnetpoolid
116         network:
117           get_input:
118           - port_ps_server_main_1b_port_network
119           - index_value
120       requirements:
121       - binding:
122           capability: tosca.capabilities.network.Bindable
123           node: ps_server_main_1b
124           relationship: tosca.relationships.network.BindsTo
125     ps_server_main_1b:
126       type: org.openecomp.resource.vfc.compute.nodes.heat.ps_server_main_1b
127       properties:
128         availability_zone:
129           get_input:
130           - compute_ps_server_main_1b_availability_zone
131           - index_value
132         flavor:
133           get_input: vm_flavor_name
134         image:
135           get_input: vm_image_name
136         name:
137           get_input:
138           - compute_ps_server_main_1b_name
139           - index_value
140   substitution_mappings:
141     node_type: org.openecomp.resource.abstract.nodes.ps_server_main_1b_1
142     capabilities:
143       network.incoming.bytes_ps_server_main_1b_ps_server_main_1b_port:
144       - ps_server_main_1b_ps_server_main_1b_port
145       - network.incoming.bytes
146       disk.device.write.requests_ps_server_main_1b:
147       - ps_server_main_1b
148       - disk.device.write.requests
149       disk.device.capacity_ps_server_main_1b:
150       - ps_server_main_1b
151       - disk.device.capacity
152       disk.capacity_ps_server_main_1b:
153       - ps_server_main_1b
154       - disk.capacity
155       attachment_ps_server_main_1b_ps_server_main_1b_port:
156       - ps_server_main_1b_ps_server_main_1b_port
157       - attachment
158       disk.device.read.bytes_ps_server_main_1b:
159       - ps_server_main_1b
160       - disk.device.read.bytes
161       vcpus_ps_server_main_1b:
162       - ps_server_main_1b
163       - vcpus
164       network.outgoing.packets.rate_ps_server_main_1b_ps_server_main_1b_port:
165       - ps_server_main_1b_ps_server_main_1b_port
166       - network.outgoing.packets.rate
167       cpu_util_ps_server_main_1b:
168       - ps_server_main_1b
169       - cpu_util
170       binding_ps_server_main_1b_ps_server_main_1b_port:
171       - ps_server_main_1b_ps_server_main_1b_port
172       - binding
173       disk.device.write.bytes.rate_ps_server_main_1b:
174       - ps_server_main_1b
175       - disk.device.write.bytes.rate
176       disk.device.read.requests.rate_ps_server_main_1b:
177       - ps_server_main_1b
178       - disk.device.read.requests.rate
179       disk.device.write.requests.rate_ps_server_main_1b:
180       - ps_server_main_1b
181       - disk.device.write.requests.rate
182       cpu_ps_server_main_1b:
183       - ps_server_main_1b
184       - cpu
185       instance_ps_server_main_1b:
186       - ps_server_main_1b
187       - instance
188       network.outpoing.packets_ps_server_main_1b_ps_server_main_1b_port:
189       - ps_server_main_1b_ps_server_main_1b_port
190       - network.outpoing.packets
191       disk.read.bytes.rate_ps_server_main_1b:
192       - ps_server_main_1b
193       - disk.read.bytes.rate
194       disk.latency_ps_server_main_1b:
195       - ps_server_main_1b
196       - disk.latency
197       feature_ps_server_main_1b_ps_server_main_1b_port:
198       - ps_server_main_1b_ps_server_main_1b_port
199       - feature
200       disk.device.read.requests_ps_server_main_1b:
201       - ps_server_main_1b
202       - disk.device.read.requests
203       memory.usage_ps_server_main_1b:
204       - ps_server_main_1b
205       - memory.usage
206       forwarder_ps_server_main_1b_ps_server_main_1b_port:
207       - ps_server_main_1b_ps_server_main_1b_port
208       - forwarder
209       disk.write.requests.rate_ps_server_main_1b:
210       - ps_server_main_1b
211       - disk.write.requests.rate
212       scalable_ps_server_main_1b:
213       - ps_server_main_1b
214       - scalable
215       network.outgoing.bytes_ps_server_main_1b_ps_server_main_1b_port:
216       - ps_server_main_1b_ps_server_main_1b_port
217       - network.outgoing.bytes
218       network.incoming.packets.rate_ps_server_main_1b_ps_server_main_1b_port:
219       - ps_server_main_1b_ps_server_main_1b_port
220       - network.incoming.packets.rate
221       disk.usage_ps_server_main_1b:
222       - ps_server_main_1b
223       - disk.usage
224       disk.read.bytes_ps_server_main_1b:
225       - ps_server_main_1b
226       - disk.read.bytes
227       disk.ephemeral.size_ps_server_main_1b:
228       - ps_server_main_1b
229       - disk.ephemeral.size
230       endpoint_ps_server_main_1b:
231       - ps_server_main_1b
232       - endpoint
233       os_ps_server_main_1b:
234       - ps_server_main_1b
235       - os
236       disk.write.bytes_ps_server_main_1b:
237       - ps_server_main_1b
238       - disk.write.bytes
239       disk.device.write.bytes_ps_server_main_1b:
240       - ps_server_main_1b
241       - disk.device.write.bytes
242       disk.device.latency_ps_server_main_1b:
243       - ps_server_main_1b
244       - disk.device.latency
245       disk.write.bytes.rate_ps_server_main_1b:
246       - ps_server_main_1b
247       - disk.write.bytes.rate
248       binding_ps_server_main_1b:
249       - ps_server_main_1b
250       - binding
251       network.incoming.packets_ps_server_main_1b_ps_server_main_1b_port:
252       - ps_server_main_1b_ps_server_main_1b_port
253       - network.incoming.packets
254       disk.device.read.bytes.rate_ps_server_main_1b:
255       - ps_server_main_1b
256       - disk.device.read.bytes.rate
257       network.outgoing.bytes.rate_ps_server_main_1b_ps_server_main_1b_port:
258       - ps_server_main_1b_ps_server_main_1b_port
259       - network.outgoing.bytes.rate
260       host_ps_server_main_1b:
261       - ps_server_main_1b
262       - host
263       disk.device.iops_ps_server_main_1b:
264       - ps_server_main_1b
265       - disk.device.iops
266       disk.write.requests_ps_server_main_1b:
267       - ps_server_main_1b
268       - disk.write.requests
269       memory.resident_ps_server_main_1b:
270       - ps_server_main_1b
271       - memory.resident
272       cpu.delta_ps_server_main_1b:
273       - ps_server_main_1b
274       - cpu.delta
275       disk.read.requests_ps_server_main_1b:
276       - ps_server_main_1b
277       - disk.read.requests
278       disk.iops_ps_server_main_1b:
279       - ps_server_main_1b
280       - disk.iops
281       disk.device.allocation_ps_server_main_1b:
282       - ps_server_main_1b
283       - disk.device.allocation
284       feature_ps_server_main_1b:
285       - ps_server_main_1b
286       - feature
287       disk.device.usage_ps_server_main_1b:
288       - ps_server_main_1b
289       - disk.device.usage
290       memory_ps_server_main_1b:
291       - ps_server_main_1b
292       - memory
293       disk.root.size_ps_server_main_1b:
294       - ps_server_main_1b
295       - disk.root.size
296       network.incoming.bytes.rate_ps_server_main_1b_ps_server_main_1b_port:
297       - ps_server_main_1b_ps_server_main_1b_port
298       - network.incoming.bytes.rate
299       disk.allocation_ps_server_main_1b:
300       - ps_server_main_1b
301       - disk.allocation
302     requirements:
303       dependency_ps_server_main_1b:
304       - ps_server_main_1b
305       - dependency
306       link_ps_server_main_1b_ps_server_main_1b_port:
307       - ps_server_main_1b_ps_server_main_1b_port
308       - link
309       dependency_ps_server_main_1b_ps_server_main_1b_port:
310       - ps_server_main_1b_ps_server_main_1b_port
311       - dependency
312       local_storage_ps_server_main_1b:
313       - ps_server_main_1b
314       - local_storage