[sdc] docker file fix for cassandra
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / securityrulestoportconnection / securityrulestoportconnectiongetresource / inputfiles / FEAdd_On_Module_vLBTemplate.yaml
1 heat_template_version: 2014-10-16
2
3 parameters:
4   domain_name:
5     type: string
6   vlb_image_name:
7     type: string
8   manager_name_0:
9     type: string
10   manager_oam_direct_ip_0:
11     type: string
12   ntp_timezone:
13     type: string
14   oam_private_net_name:
15     type: string
16   packet_internal_network:
17     type: string
18   packet_mirror_network:
19     type: string
20   region_name:
21     type: string
22   rpmrepository_ip_0:
23     type: string
24   security_group:
25     type: string
26   tenant_name:
27     type: string
28   availability_zone_0:
29     type: string
30   vLB_cluster_name:
31     type: string
32   vLB_flavor_name:
33     type: string
34   vLB_index:
35     type: number
36   vLB_names:
37     type: comma_delimited_list
38   vLB_node_count:
39     type: number
40   vLB_type:
41     type: string
42   vLB_version_name:
43     type: string
44   vLB_volume_name_0:
45     type: string
46   vLB_volume_name_1:
47     type: string
48   vLB_volume_name_2:
49     type: string
50   vLB_volume_size_0:
51     type: number
52   vLB_volume_size_1:
53     type: number
54   vLB_volume_size_2:
55     type: number
56   vLB_volume_type_0:
57     type: string
58   vLB_volume_type_1:
59     type: string
60   vLB_volume_type_2:
61     type: string
62   vProbe_cluster_name:
63     type: string
64   vf_module_id:
65     type: string
66   vf_module_name:
67     type: string
68   vnf_id:
69     type: string
70 resources:
71   oam_private_net_network_port:
72     properties:
73       network:
74         get_param: oam_private_net_name
75       security_groups:
76       - get_param: security_group
77     type: OS::Neutron::Port
78   packet_internal_network_port:
79     properties:
80       network:
81         get_param: packet_internal_network
82       security_groups:
83       - get_param: security_group
84     type: OS::Neutron::Port
85   packet_mirror_network_port:
86     properties:
87       network:
88         get_param: packet_mirror_network
89       security_groups:
90       - get_param: security_group
91     type: OS::Neutron::Port
92   vLBInstance:
93     properties:
94       availability_zone:
95         get_param: availability_zone_0
96       config_drive: true
97       flavor:
98         get_param: vLB_flavor_name
99       image:
100         get_param: vlb_image_name
101       metadata:
102         DPDK: DPDK_IP
103         cluster_name:
104           get_param: vLB_cluster_name
105         machine_name:
106           get_param:
107           - vLB_names
108           - get_param: vLB_index
109         machine_type: vLB
110         manager_oam_direct_ip_0:
111           get_param: manager_oam_direct_ip_0
112         mount_colon__slash_config:
113           get_resource: vLB_volume_2
114         mount_colon__slash_data:
115           get_resource: vLB_volume_0
116         mount_colon__slash_log:
117           get_resource: vLB_volume_1
118         ntp_timezone:
119           get_param: ntp_timezone
120         oam_private_network_cidr:
121           get_attr:
122           - oam_private_net_network_port
123           - subnets
124           - 0
125           - cidr
126         oam_private_network_ip_0:
127           get_attr:
128           - oam_private_net_network_port
129           - fixed_ip_0s
130           - 0
131           - ip_address
132         packet_internal_network_cidr:
133           get_attr:
134           - packet_internal_network_port
135           - subnets
136           - 0
137           - cidr
138         packet_internal_network_ip_0:
139           get_attr:
140           - packet_internal_network_port
141           - fixed_ip_0s
142           - 0
143           - ip_address
144         packet_mirror_network_cidr:
145           get_attr:
146           - packet_mirror_network_port
147           - subnets
148           - 0
149           - cidr
150         packet_mirror_network_ip_0:
151           get_attr:
152           - packet_mirror_network_port
153           - fixed_ip_0s
154           - 0
155           - ip_address
156         region:
157           get_param: region_name
158         repo_ip_0:
159           get_param: rpmrepository_ip_0
160         tenant:
161           get_param: tenant_name
162         vLBAgentInstance:
163           get_param: vLB_index
164         vLBAgent_id:
165           get_attr:
166           - vLB_id
167           - value
168         vLBAgent_name:
169           get_param:
170           - vLB_names
171           - get_param: vLB_index
172         vLBAgent_type:
173           get_param: vLB_type
174         vLBAgent_version_name:
175           get_param: vLB_version_name
176         version_number:
177           get_param: vLB_version_name
178         vf_module_id:
179           get_param: vf_module_id
180         vf_module_name:
181           get_param: vf_module_name
182         vnf_id:
183           get_param: vnf_id
184       name:
185         get_param:
186         - vLB_names
187         - get_param: vLB_index
188       networks:
189       - port:
190           get_resource: oam_private_net_network_port
191       - port:
192           get_resource: packet_mirror_network_port
193       - port:
194           get_resource: packet_internal_network_port
195       personality:
196         /root/CheckAvailability/check_availability.py:
197           get_file: check_availability.py
198         /root/RegisterStatus/register_status.py:
199           get_file: register_status.py
200         /root/call_home.py:
201           get_file: call_home.py
202         /root/dependencies.json:
203           get_file: vlbdependencies.json
204         /tmp/wait_for_resources.py:
205           get_file: wait_for_resources.py
206       user_data:
207         str_replace:
208           params:
209             '%domain_name%':
210               get_param: domain_name
211             '%manager_hostname%':
212               get_param: manager_name_0
213             '%manager_oam_direct_ip_0%':
214               get_param: manager_oam_direct_ip_0
215             '%rpm_repo_ip_0%':
216               get_param: rpmrepository_ip_0
217             '%vLBInstance%':
218               get_param: vLB_index
219             '%vLB_cluster_name%':
220               get_param: vLB_cluster_name
221             '%vLB_config%':
222               get_resource: vLB_volume_2
223             '%vLB_data%':
224               get_resource: vLB_volume_0
225             '%vLB_id_number%':
226               get_attr:
227               - vLB_id
228               - value
229             '%vLB_log%':
230               get_resource: vLB_volume_1
231             '%vLB_node_count%':
232               get_param: vLB_node_count
233             '%vLB_version_name%':
234               get_param: vLB_version_name
235             '%vProbe_cluster_name%':
236               get_param: vProbe_cluster_name
237           template:
238             get_file: FEAdd_On_Module_vLBCloudConfig
239       user_data_format: RAW
240     type: OS::Nova::Server
241   vLB_id:
242     properties:
243       length: 4
244       sequence: digits
245     type: OS::Heat::RandomString
246   vLB_volume_0:
247     properties:
248       size:
249         get_param: vLB_volume_size_0
250       volume_type:
251         get_param: vLB_volume_type_0
252     type: OS::Cinder::Volume
253   vLB_volume_0_att:
254     properties:
255       instance_uuid:
256         get_resource: vLBInstance
257       volume_id:
258         get_resource: vLB_volume_0
259     type: OS::Cinder::VolumeAttachment
260   vLB_volume_1:
261     properties:
262       size:
263         get_param: vLB_volume_size_1
264       volume_type:
265         get_param: vLB_volume_type_1
266     type: OS::Cinder::Volume
267   vLB_volume_1_att:
268     properties:
269       instance_uuid:
270         get_resource: vLBInstance
271       volume_id:
272         get_resource: vLB_volume_1
273     type: OS::Cinder::VolumeAttachment
274   vLB_volume_2:
275     properties:
276       size:
277         get_param: vLB_volume_size_2
278       volume_type:
279         get_param: vLB_volume_type_2
280     type: OS::Cinder::Volume
281   vLB_volume_2_att:
282     properties:
283       instance_uuid:
284         get_resource: vLBInstance
285       volume_id:
286         get_resource: vLB_volume_2
287     type: OS::Cinder::VolumeAttachment