e1965246f70165ddfe888e82b59cb2b4eedc42b8
[sdc.git] /
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 topology_template:
8   inputs:
9     template_PortTuple_LB1:
10       hidden: false
11       immutable: false
12       annotations:
13         source:
14           type: org.openecomp.annotations.Source
15           properties:
16             vf_module_label:
17             - hot_template
18             source_type: HEAT
19             param_name: template_PortTuple_LB1
20       type: string
21       description: dummy
22     lb_st_interface_type_oam:
23       hidden: false
24       immutable: false
25       annotations:
26         source:
27           type: org.openecomp.annotations.Source
28           properties:
29             vf_module_label:
30             - hot_template
31             source_type: HEAT
32             param_name: lb_st_interface_type_oam
33       type: string
34       description: dummy
35     oam_sec_group_name:
36       hidden: false
37       immutable: false
38       annotations:
39         source:
40           type: org.openecomp.annotations.Source
41           properties:
42             vf_module_label:
43             - hot_template
44             source_type: HEAT
45             param_name: oam_sec_group_name
46       type: string
47       description: dummy
48     nems_traffic_name:
49       hidden: false
50       immutable: false
51       annotations:
52         source:
53           type: org.openecomp.annotations.Source
54           properties:
55             vf_module_label:
56             - hot_template
57             source_type: HEAT
58             param_name: nems_traffic_name
59       type: string
60       description: dummy
61     network_ipam_refs_data_ipam_subnets_addr_from_start_true:
62       hidden: false
63       immutable: false
64       annotations:
65         source:
66           type: org.openecomp.annotations.Source
67           properties:
68             vf_module_label:
69             - hot_template
70             source_type: HEAT
71             param_name: network_ipam_refs_data_ipam_subnets_addr_from_start_true
72       type: string
73       description: dummy
74     network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len_2:
75       hidden: false
76       immutable: false
77       annotations:
78         source:
79           type: org.openecomp.annotations.Source
80           properties:
81             vf_module_label:
82             - hot_template
83             source_type: HEAT
84             param_name: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len_2
85       type: string
86       description: dummy
87     jsa_net_name:
88       hidden: false
89       immutable: false
90       annotations:
91         source:
92           type: org.openecomp.annotations.Source
93           properties:
94             vf_module_label:
95             - hot_template
96             source_type: HEAT
97             param_name: jsa_net_name
98       type: string
99       description: dummy
100     network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_2:
101       hidden: false
102       immutable: false
103       annotations:
104         source:
105           type: org.openecomp.annotations.Source
106           properties:
107             vf_module_label:
108             - hot_template
109             source_type: HEAT
110             param_name: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_2
111       type: string
112       description: dummy
113   node_templates:
114     jsa_net3:
115       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
116       properties:
117         network_ipam_refs_data:
118         - network_ipam_refs_data_ipam_subnets:
119           - network_ipam_refs_data_ipam_subnets_subnet:
120               network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
121                 get_input: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len_2
122               network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
123                 get_input: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_2
124             network_ipam_refs_data_ipam_subnets_addr_from_start:
125               get_input: network_ipam_refs_data_ipam_subnets_addr_from_start_true
126         network_name: aaa
127     template_VMInt_OAM_lb_5:
128       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
129       properties:
130         security_group_refs:
131         - get_input: oam_sec_group_name
132         virtual_network_refs: [
133           ]
134         virtual_machine_interface_properties:
135           service_interface_type:
136             get_input: lb_st_interface_type_oam
137         port_tuple_refs:
138         - get_input: template_PortTuple_LB1
139     jsa_net2:
140       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
141       properties:
142         network_ipam_refs_data:
143         - network_ipam_refs_data_ipam_subnets:
144           - network_ipam_refs_data_ipam_subnets_subnet:
145               network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
146                 get_input: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len_2
147               network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
148                 get_input: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_2
149             network_ipam_refs_data_ipam_subnets_addr_from_start:
150               get_input: network_ipam_refs_data_ipam_subnets_addr_from_start_true
151         network_name: aaa
152     template_VMInt_OAM_lb_6:
153       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
154       properties:
155         security_group_refs:
156         - get_input: oam_sec_group_name
157         virtual_network_refs:
158           get_attribute:
159           - jsa_net3
160           - fq_name
161         virtual_machine_interface_properties:
162           service_interface_type:
163             get_input: lb_st_interface_type_oam
164         port_tuple_refs:
165         - get_input: template_PortTuple_LB1
166     template_VMInt_OAM_lb_7:
167       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
168       properties:
169         security_group_refs:
170         - get_input: oam_sec_group_name
171         virtual_machine_interface_properties:
172           service_interface_type:
173             get_input: lb_st_interface_type_oam
174         port_tuple_refs:
175         - get_input: template_PortTuple_LB1
176     jsa_net5:
177       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
178       properties:
179         network_ipam_refs_data:
180         - network_ipam_refs_data_ipam_subnets:
181           - network_ipam_refs_data_ipam_subnets_subnet:
182               network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
183                 get_input: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len_2
184               network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
185                 get_input: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_2
186             network_ipam_refs_data_ipam_subnets_addr_from_start:
187               get_input: network_ipam_refs_data_ipam_subnets_addr_from_start_true
188         network_name: aaa
189     jsa_net4:
190       type: org.openecomp.resource.vl.nodes.heat.network.contrail.VirtualNetwork
191       properties:
192         network_name:
193           get_input: nems_traffic_name
194     template_VMInt_OAM_lb_1:
195       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
196       properties:
197         security_group_refs:
198         - get_input: oam_sec_group_name
199         virtual_network_refs:
200         - jsa_net1
201         - jsa_net5
202         virtual_machine_interface_properties:
203           service_interface_type:
204             get_input: lb_st_interface_type_oam
205         port_tuple_refs:
206         - get_input: template_PortTuple_LB1
207       requirements:
208       - link:
209           capability: tosca.capabilities.network.Linkable
210           node: jsa_net1
211           relationship: tosca.relationships.network.LinksTo
212     template_VMInt_OAM_lb_2:
213       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
214       properties:
215         security_group_refs:
216         - get_input: oam_sec_group_name
217         virtual_network_refs:
218         - list_join:
219           - ':'
220           - get_attribute:
221             - jsa_net2
222             - fq_name
223         - list_join:
224           - ':'
225           - get_attribute:
226             - jsa_net5
227             - fq_name
228         virtual_machine_interface_properties:
229           service_interface_type:
230             get_input: lb_st_interface_type_oam
231         port_tuple_refs:
232         - get_input: template_PortTuple_LB1
233       requirements:
234       - link:
235           capability: tosca.capabilities.network.Linkable
236           node: jsa_net2
237           relationship: tosca.relationships.network.LinksTo
238     jsa_net1:
239       type: org.openecomp.resource.vl.nodes.heat.network.contrailV2.VirtualNetwork
240       properties:
241         network_ipam_refs_data:
242         - network_ipam_refs_data_ipam_subnets:
243           - network_ipam_refs_data_ipam_subnets_subnet:
244               network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len:
245                 get_input: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_len_2
246               network_ipam_refs_data_ipam_subnets_subnet_ip_prefix:
247                 get_input: network_ipam_refs_data_ipam_subnets_subnet_ip_prefix_2
248             network_ipam_refs_data_ipam_subnets_addr_from_start:
249               get_input: network_ipam_refs_data_ipam_subnets_addr_from_start_true
250         network_name: aaa
251     template_VMInt_OAM_lb_3:
252       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
253       properties:
254         security_group_refs:
255         - get_input: oam_sec_group_name
256         virtual_network_refs:
257         - get_attribute:
258           - jsa_net3
259           - fq_name
260         - get_attribute:
261           - jsa_net5
262           - fq_name
263         virtual_machine_interface_properties:
264           service_interface_type:
265             get_input: lb_st_interface_type_oam
266         port_tuple_refs:
267         - get_input: template_PortTuple_LB1
268       requirements:
269       - link:
270           capability: tosca.capabilities.network.Linkable
271           node: jsa_net3
272           relationship: tosca.relationships.network.LinksTo
273     template_VMInt_OAM_lb_4:
274       type: org.openecomp.resource.cp.nodes.heat.contrailV2.VirtualMachineInterface
275       properties:
276         security_group_refs:
277         - get_input: oam_sec_group_name
278         virtual_network_refs:
279         - get_attribute:
280           - jsa_net4
281           - fq_name
282         virtual_machine_interface_properties:
283           service_interface_type:
284             get_input: lb_st_interface_type_oam
285         port_tuple_refs:
286         - get_input: template_PortTuple_LB1
287   groups:
288     hot_template_group:
289       type: org.openecomp.groups.heat.HeatStack
290       properties:
291         heat_file: ../Artifacts/hot_template.yml
292         description: cmaui server template for vMMSC
293       members:
294       - jsa_net3
295       - template_VMInt_OAM_lb_5
296       - jsa_net2
297       - template_VMInt_OAM_lb_6
298       - template_VMInt_OAM_lb_7
299       - jsa_net5
300       - jsa_net4
301       - template_VMInt_OAM_lb_1
302       - template_VMInt_OAM_lb_2
303       - jsa_net1
304       - template_VMInt_OAM_lb_3
305       - template_VMInt_OAM_lb_4