1 heat_template_version: 2015-04-30
8 description: Name of management network to be created
11 description: Name of mirror network to be created
14 description: Name of mirror network to be created
19 description: Name of the SVM
22 description: Name of the SVM
23 #####General##########
28 description: Flavor of the end VMs
31 description: Name of the end VM LB_image_name
34 description: availability zone
37 description: availability zone
41 description: ip_prefix for the ServiceInstance
42 aap_core_ip_prefix_len:
44 description: ip_prefix_len for the ServiceInstance
47 description: address_mode for the ServiceInstance
50 description: mac for the VirtualMachineInterface
72 description: Unique ID for this VF Module instance
75 description: Name of vOTA instance for ECOMP
76 gwaf_lb2_int_sec_group_id:
78 description: sec group
79 apps_int_sec_group_id:
81 description: sec group
82 int_oam_int_sec_group_id:
84 description: sec group
85 ####Health check#########
88 description: health check
91 description: health check
94 description: health check
97 description: health check
100 description: health check
103 description: health check
104 ###ECMP hashing#########
105 ecmp_hashing_include_fields_hashing_configured:
107 description: health check
108 ecmp_hashing_include_fields_source_ip:
110 description: health check
111 ecmp_hashing_include_fields_destination_port:
113 description: health check
114 ecmp_hashing_include_fields_source_port:
116 description: health check
117 ecmp_hashing_include_fields_destination_ip:
119 description: health check
120 ecmp_hashing_include_fields_ip_protocol:
122 description: health check
126 lb_0_int_oam_int_0_port:
127 type: OS::ContrailV2::VirtualMachineInterface
129 virtual_machine_interface_properties:
131 virtual_machine_interface_properties_service_interface_type: { get_param: int_oam_int_net_id },
133 virtual_network_refs: [{ get_param: int_oam_int_net_id }]
134 security_group_refs: [{ get_param: int_oam_int_sec_group_id}]
136 lb_0_apps_int_1_port:
137 type: OS::ContrailV2::VirtualMachineInterface
139 virtual_machine_interface_properties:
141 virtual_machine_interface_properties_service_interface_type: { get_param: apps_int_net_id },
143 virtual_network_refs: [{ get_param: apps_int_net_id }]
144 security_group_refs: [{ get_param: apps_int_sec_group_id }]
146 lb_0_gwaf_lb2_int_2_port:
147 type: OS::ContrailV2::VirtualMachineInterface
149 virtual_network_refs: [{ get_param: gwaf_lb2_int_net_id }]
150 service_health_check_refs:
151 - get_resource: lb_gwaf_lb2_hc
152 ecmp_hashing_include_fields:
153 ecmp_hashing_include_fields_hashing_configured: { get_param: ecmp_hashing_include_fields_hashing_configured }
154 ecmp_hashing_include_fields_source_ip: { get_param: ecmp_hashing_include_fields_source_ip }
155 ecmp_hashing_include_fields_destination_port: { get_param: ecmp_hashing_include_fields_destination_port }
156 ecmp_hashing_include_fields_destination_ip: { get_param: ecmp_hashing_include_fields_destination_ip }
157 ecmp_hashing_include_fields_source_port: { get_param: ecmp_hashing_include_fields_source_port }
158 ecmp_hashing_include_fields_ip_protocol: { get_param: ecmp_hashing_include_fields_ip_protocol }
159 virtual_machine_interface_allowed_address_pairs:
161 virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
163 virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
165 virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: aap_core_ip_prefix },
166 virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: aap_core_ip_prefix_len },
168 virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac: { get_param: aap_core_mac },
169 virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: aap_core_ha_mode },
172 security_group_refs: [{ get_param: gwaf_lb2_int_sec_group_id }]
174 lb_1_int_oam_int_0_port:
175 type: OS::ContrailV2::VirtualMachineInterface
177 virtual_machine_interface_properties:
179 virtual_machine_interface_properties_service_interface_type: { get_param: int_oam_int_net_id },
181 virtual_network_refs: [{ get_param: int_oam_int_net_id }]
182 security_group_refs: [{ get_param: int_oam_int_sec_group_id}]
184 lb_1_apps_int_1_port:
185 type: OS::ContrailV2::VirtualMachineInterface
187 virtual_machine_interface_properties:
189 virtual_machine_interface_properties_service_interface_type: { get_param: apps_int_net_id },
191 virtual_network_refs: [{ get_param: apps_int_net_id }]
192 security_group_refs: [{ get_param: apps_int_sec_group_id }]
194 lb_1_gwaf_lb2_int_2_port:
195 type: OS::ContrailV2::VirtualMachineInterface
197 virtual_network_refs: [{ get_param: gwaf_lb2_int_net_id }]
198 service_health_check_refs:
199 - get_resource: lb_gwaf_lb2_hc
200 ecmp_hashing_include_fields:
201 ecmp_hashing_include_fields_hashing_configured: { get_param: ecmp_hashing_include_fields_hashing_configured }
202 ecmp_hashing_include_fields_source_ip: { get_param: ecmp_hashing_include_fields_source_ip }
203 ecmp_hashing_include_fields_destination_port: { get_param: ecmp_hashing_include_fields_destination_port }
204 ecmp_hashing_include_fields_destination_ip: { get_param: ecmp_hashing_include_fields_destination_ip }
205 ecmp_hashing_include_fields_source_port: { get_param: ecmp_hashing_include_fields_source_port }
206 ecmp_hashing_include_fields_ip_protocol: { get_param: ecmp_hashing_include_fields_ip_protocol }
207 virtual_machine_interface_allowed_address_pairs:
209 virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
211 virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
213 virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: aap_core_ip_prefix },
214 virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: aap_core_ip_prefix_len },
216 virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac: { get_param: aap_core_mac },
217 virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: aap_core_ha_mode },
220 security_group_refs: [{ get_param: gwaf_lb2_int_sec_group_id }]
222 lb_0_int_oam_int_0_ip:
223 type: OS::ContrailV2::InstanceIp
224 depends_on: [ lb_0_int_oam_int_0_port ]
226 virtual_machine_interface_refs: [{ get_resource: lb_0_int_oam_int_0_port }]
227 virtual_network_refs: [{ get_param: int_oam_int_net_id }]
228 instance_ip_address: { get_param: lb_oam_int_ip_0 }
232 type: OS::ContrailV2::InstanceIp
233 depends_on: [ lb_0_apps_int_1_port ]
235 virtual_machine_interface_refs: [{ get_resource: lb_0_apps_int_1_port }]
236 virtual_network_refs: [{ get_param: apps_int_net_id }]
237 instance_ip_address: { get_param: lb_apps_int_ip_0 }
240 lb_0_gwaf_lb2_int_2_ip:
241 type: OS::ContrailV2::InstanceIp
242 depends_on: [ lb_0_gwaf_lb2_int_2_port ]
244 virtual_machine_interface_refs: [{ get_resource: lb_0_gwaf_lb2_int_2_port }]
245 virtual_network_refs: [{ get_param: gwaf_lb2_int_net_id }]
246 instance_ip_address: { get_param: gwaf_lb2_int_ip_0 }
249 lb_1_int_oam_int_0_ip:
250 type: OS::ContrailV2::InstanceIp
251 depends_on: [ lb_1_int_oam_int_0_port ]
253 virtual_machine_interface_refs: [{ get_resource: lb_1_int_oam_int_0_port }]
254 virtual_network_refs: [{ get_param: int_oam_int_net_id }]
255 instance_ip_address: { get_param: lb_oam_int_ip_1 }
259 type: OS::ContrailV2::InstanceIp
260 depends_on: [ lb_1_apps_int_1_port ]
262 virtual_machine_interface_refs: [{ get_resource: lb_1_apps_int_1_port }]
263 virtual_network_refs: [{ get_param: apps_int_net_id }]
264 instance_ip_address: { get_param: lb_apps_int_ip_1 }
267 lb_1_gwaf_lb2_int_2_ip:
268 type: OS::ContrailV2::InstanceIp
269 depends_on: [ lb_1_gwaf_lb2_int_2_port ]
271 virtual_machine_interface_refs: [{ get_resource: lb_1_gwaf_lb2_int_2_port }]
272 virtual_network_refs: [{ get_param: gwaf_lb2_int_net_id }]
273 instance_ip_address: { get_param: gwaf_lb2_int_ip_1 }
277 type: OS::ContrailV2::ServiceHealthCheck
279 name: gwaf_lb2_hc_PING
280 service_health_check_properties:
281 service_health_check_properties_enabled: { get_param: shc_enabled }
282 service_health_check_properties_monitor_type: { get_param: shc_monitor_type }
283 service_health_check_properties_delay: { get_param: shc_delay }
284 service_health_check_properties_timeout: { get_param: shc_timeout }
285 service_health_check_properties_max_retries: { get_param: shc_max_retries }
286 service_health_check_properties_url_path: { get_param: shc_url_path }
291 type: OS::Nova::Server
292 depends_on: [ lb_0_int_oam_int_0_ip, lb_0_apps_int_1_ip, lb_0_gwaf_lb2_int_2_ip ]
294 name: {get_param: LB2_name_0 }
295 image: { get_param: LB2_image_name }
296 flavor: { get_param: LB2_flavor_name }
297 key_name: { get_param: lb_key_name }
298 availability_zone: { get_param: availability_zone_0 }
300 - port: { get_resource: lb_0_int_oam_int_0_port }
301 - port: { get_resource: lb_0_apps_int_1_port }
302 - port: { get_resource: lb_0_gwaf_lb2_int_2_port }
304 vnf_id: { get_param: vnf_id }
305 vf_module_id: { get_param: vf_module_id }
310 $lb_loopback: { get_param: LB2_image_name }
313 type: OS::Nova::Server
314 depends_on: [ lb_1_int_oam_int_0_ip, lb_1_apps_int_1_ip, lb_1_gwaf_lb2_int_2_ip ]
316 name: {get_param: LB2_name_1 }
317 image: { get_param: LB2_image_name }
318 flavor: { get_param: LB2_flavor_name }
319 availability_zone: { get_param: availability_zone_1 }
320 key_name: { get_param: lb_key_name }
322 - port: { get_resource: lb_1_int_oam_int_0_port }
323 - port: { get_resource: lb_1_apps_int_1_port }
324 - port: { get_resource: lb_1_gwaf_lb2_int_2_port }
326 vnf_id: { get_param: vnf_id }
327 vf_module_id: { get_param: vf_module_id }
332 $lb_loopback: { get_param: LB2_image_name }