[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-no-computeServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: nested-no-compute
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     cmaui_names:
12       hidden: false
13       immutable: false
14       type: list
15       description: CMAUI1, CMAUI2 server names
16       entry_schema:
17         type: string
18     p1:
19       hidden: false
20       immutable: false
21       type: string
22       description: UID of OAM network
23     p2:
24       hidden: false
25       immutable: false
26       type: string
27       description: UID of OAM network
28     cmaui_image:
29       hidden: false
30       immutable: false
31       type: string
32       description: Image for CMAUI server
33     cmaui_flavor:
34       hidden: false
35       immutable: false
36       type: string
37       description: Flavor for CMAUI server
38     packet_internal_network_name:
39       hidden: false
40       immutable: false
41       type: string
42     packet_external_network_name:
43       hidden: false
44       immutable: false
45       type: string
46     security_group_name:
47       hidden: false
48       immutable: false
49       type: list
50       description: CMAUI1, CMAUI2 server names
51       entry_schema:
52         type: string
53     availability_zone_0:
54       label: availabilityzone name
55       hidden: false
56       immutable: false
57       type: string
58       description: availabilityzone name
59     cmaui_oam_ips:
60       hidden: false
61       immutable: false
62       type: string
63     net:
64       hidden: false
65       immutable: false
66       type: string
67   node_templates:
68     cmaui_port_2:
69       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
70       properties:
71         replacement_policy: AUTO
72         ip_requirements:
73         - ip_version: 4
74           ip_count_required:
75             is_required: true
76           floating_ip_count_required:
77             is_required: false
78         fixed_ips:
79         - ip_address:
80             get_input:
81             - cmaui_oam_ips
82             - 0
83         mac_requirements:
84           mac_count_required:
85             is_required: false
86         network: packet_external_network
87       requirements:
88       - link:
89           capability: tosca.capabilities.network.Linkable
90           node: packet_external_network
91           relationship: tosca.relationships.network.LinksTo
92     packet_external_network:
93       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
94       properties:
95         network_name:
96           get_input: packet_external_network_name
97     packet_internal_network:
98       type: org.openecomp.resource.vl.nodes.heat.network.neutron.Net
99       properties:
100         network_name:
101           get_input: packet_internal_network_name
102     cmaui_port_1:
103       type: org.openecomp.resource.cp.nodes.heat.network.neutron.Port
104       properties:
105         replacement_policy: AUTO
106         ip_requirements:
107         - ip_version: 4
108           ip_count_required:
109             is_required: true
110           floating_ip_count_required:
111             is_required: false
112         fixed_ips:
113         - ip_address:
114             get_input:
115             - cmaui_oam_ips
116             - 0
117         mac_requirements:
118           mac_count_required:
119             is_required: false
120         network: packet_internal_network
121       requirements:
122       - link:
123           capability: tosca.capabilities.network.Linkable
124           node: packet_internal_network
125           relationship: tosca.relationships.network.LinksTo
126   groups:
127     nested-no-compute_group:
128       type: org.openecomp.groups.heat.HeatStack
129       properties:
130         heat_file: ../Artifacts/nested-no-compute.yml
131         description: nested1
132       members:
133       - cmaui_port_2
134       - packet_external_network
135       - packet_internal_network
136       - cmaui_port_1
137   outputs:
138     no_compute_attr_1:
139       description: no_compute_attr_1
140       value: packet_external_network
141   substitution_mappings:
142     node_type: org.openecomp.resource.abstract.nodes.heat.nested-no-compute
143     capabilities:
144       network.incoming.packets_cmaui_port_2:
145       - cmaui_port_2
146       - network.incoming.packets
147       network.incoming.packets_cmaui_port_1:
148       - cmaui_port_1
149       - network.incoming.packets
150       network.incoming.packets.rate_cmaui_port_1:
151       - cmaui_port_1
152       - network.incoming.packets.rate
153       network.incoming.packets.rate_cmaui_port_2:
154       - cmaui_port_2
155       - network.incoming.packets.rate
156       feature_cmaui_port_1:
157       - cmaui_port_1
158       - feature
159       feature_cmaui_port_2:
160       - cmaui_port_2
161       - feature
162       end_point_packet_internal_network:
163       - packet_internal_network
164       - end_point
165       link_packet_internal_network:
166       - packet_internal_network
167       - link
168       feature_packet_internal_network:
169       - packet_internal_network
170       - feature
171       end_point_packet_external_network:
172       - packet_external_network
173       - end_point
174       attachment_cmaui_port_2:
175       - cmaui_port_2
176       - attachment
177       network.outgoing.bytes_cmaui_port_2:
178       - cmaui_port_2
179       - network.outgoing.bytes
180       network.outgoing.packets.rate_cmaui_port_1:
181       - cmaui_port_1
182       - network.outgoing.packets.rate
183       network.outgoing.packets.rate_cmaui_port_2:
184       - cmaui_port_2
185       - network.outgoing.packets.rate
186       network.outgoing.bytes_cmaui_port_1:
187       - cmaui_port_1
188       - network.outgoing.bytes
189       attachment_cmaui_port_1:
190       - cmaui_port_1
191       - attachment
192       binding_cmaui_port_1:
193       - cmaui_port_1
194       - binding
195       binding_cmaui_port_2:
196       - cmaui_port_2
197       - binding
198       network.incoming.bytes.rate_cmaui_port_1:
199       - cmaui_port_1
200       - network.incoming.bytes.rate
201       network.incoming.bytes.rate_cmaui_port_2:
202       - cmaui_port_2
203       - network.incoming.bytes.rate
204       attachment_packet_internal_network:
205       - packet_internal_network
206       - attachment
207       network.outpoing.packets_cmaui_port_1:
208       - cmaui_port_1
209       - network.outpoing.packets
210       network.outpoing.packets_cmaui_port_2:
211       - cmaui_port_2
212       - network.outpoing.packets
213       network.outgoing.bytes.rate_cmaui_port_2:
214       - cmaui_port_2
215       - network.outgoing.bytes.rate
216       network.outgoing.bytes.rate_cmaui_port_1:
217       - cmaui_port_1
218       - network.outgoing.bytes.rate
219       attachment_packet_external_network:
220       - packet_external_network
221       - attachment
222       network.incoming.bytes_cmaui_port_2:
223       - cmaui_port_2
224       - network.incoming.bytes
225       link_packet_external_network:
226       - packet_external_network
227       - link
228       feature_packet_external_network:
229       - packet_external_network
230       - feature
231       network.incoming.bytes_cmaui_port_1:
232       - cmaui_port_1
233       - network.incoming.bytes
234     requirements:
235       binding_cmaui_port_1:
236       - cmaui_port_1
237       - binding
238       binding_cmaui_port_2:
239       - cmaui_port_2
240       - binding
241       dependency_packet_internal_network:
242       - packet_internal_network
243       - dependency
244       dependency_cmaui_port_1:
245       - cmaui_port_1
246       - dependency
247       dependency_cmaui_port_2:
248       - cmaui_port_2
249       - dependency
250       dependency_packet_external_network:
251       - packet_external_network
252       - dependency