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