[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 / oneLevel / nestedNoCompute / out / nested1ServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: nested1
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     nested1_group:
128       type: org.openecomp.groups.heat.HeatStack
129       properties:
130         heat_file: ../Artifacts/nested1.yml
131         description: nested1
132       members:
133       - cmaui_port_2
134       - packet_external_network
135       - packet_internal_network
136       - cmaui_port_1
137   substitution_mappings:
138     node_type: org.openecomp.resource.abstract.nodes.heat.nested1
139     capabilities:
140       network.incoming.packets_cmaui_port_2:
141       - cmaui_port_2
142       - network.incoming.packets
143       network.incoming.packets_cmaui_port_1:
144       - cmaui_port_1
145       - network.incoming.packets
146       network.incoming.packets.rate_cmaui_port_1:
147       - cmaui_port_1
148       - network.incoming.packets.rate
149       network.incoming.packets.rate_cmaui_port_2:
150       - cmaui_port_2
151       - network.incoming.packets.rate
152       feature_cmaui_port_1:
153       - cmaui_port_1
154       - feature
155       feature_cmaui_port_2:
156       - cmaui_port_2
157       - feature
158       end_point_packet_internal_network:
159       - packet_internal_network
160       - end_point
161       link_packet_internal_network:
162       - packet_internal_network
163       - link
164       feature_packet_internal_network:
165       - packet_internal_network
166       - feature
167       end_point_packet_external_network:
168       - packet_external_network
169       - end_point
170       attachment_cmaui_port_2:
171       - cmaui_port_2
172       - attachment
173       network.outgoing.bytes_cmaui_port_2:
174       - cmaui_port_2
175       - network.outgoing.bytes
176       network.outgoing.packets.rate_cmaui_port_1:
177       - cmaui_port_1
178       - network.outgoing.packets.rate
179       network.outgoing.packets.rate_cmaui_port_2:
180       - cmaui_port_2
181       - network.outgoing.packets.rate
182       network.outgoing.bytes_cmaui_port_1:
183       - cmaui_port_1
184       - network.outgoing.bytes
185       attachment_cmaui_port_1:
186       - cmaui_port_1
187       - attachment
188       binding_cmaui_port_1:
189       - cmaui_port_1
190       - binding
191       binding_cmaui_port_2:
192       - cmaui_port_2
193       - binding
194       network.incoming.bytes.rate_cmaui_port_1:
195       - cmaui_port_1
196       - network.incoming.bytes.rate
197       network.incoming.bytes.rate_cmaui_port_2:
198       - cmaui_port_2
199       - network.incoming.bytes.rate
200       attachment_packet_internal_network:
201       - packet_internal_network
202       - attachment
203       network.outpoing.packets_cmaui_port_1:
204       - cmaui_port_1
205       - network.outpoing.packets
206       network.outpoing.packets_cmaui_port_2:
207       - cmaui_port_2
208       - network.outpoing.packets
209       network.outgoing.bytes.rate_cmaui_port_2:
210       - cmaui_port_2
211       - network.outgoing.bytes.rate
212       network.outgoing.bytes.rate_cmaui_port_1:
213       - cmaui_port_1
214       - network.outgoing.bytes.rate
215       attachment_packet_external_network:
216       - packet_external_network
217       - attachment
218       network.incoming.bytes_cmaui_port_2:
219       - cmaui_port_2
220       - network.incoming.bytes
221       link_packet_external_network:
222       - packet_external_network
223       - link
224       feature_packet_external_network:
225       - packet_external_network
226       - feature
227       network.incoming.bytes_cmaui_port_1:
228       - cmaui_port_1
229       - network.incoming.bytes
230     requirements:
231       binding_cmaui_port_1:
232       - cmaui_port_1
233       - binding
234       binding_cmaui_port_2:
235       - cmaui_port_2
236       - binding
237       dependency_packet_internal_network:
238       - packet_internal_network
239       - dependency
240       dependency_cmaui_port_1:
241       - cmaui_port_1
242       - dependency
243       dependency_cmaui_port_2:
244       - cmaui_port_2
245       - dependency
246       dependency_packet_external_network:
247       - packet_external_network
248       - dependency