crowbar/crowbar-openstack

View on GitHub
chef/cookbooks/octavia/templates/default/110-worker.conf.erb

Summary

Maintainability
Test Coverage
[controller_worker]
amp_active_retries = 40
amp_active_wait_sec = 10
amp_flavor_id = <%= @node[:octavia][:flavor_id] %>
amp_image_tag = <%= @node[:octavia][:amphora][:image_tag] %>
amp_boot_network_list = <%= @node[:octavia][:net_id] %>
amp_secgroup_list = <%= @node[:octavia][:sec_group_id] %>
client_ca = <%= @node[:octavia][:certs][:cert_path]%><%=@node[:octavia][:certs][:client_ca_cert_path] %>
compute_driver = compute_nova_driver
amphora_driver = amphora_haproxy_rest_driver
network_driver = allowed_address_pairs_driver
loadbalancer_topology = <%= @node[:octavia][:amphora][:loadbalancer_topology] %>
<% keyname = @node[:octavia][:amphora][:ssh_access][:keyname]
   if !keyname.nil? and !keyname.empty? -%>
amp_ssh_key_name = "<%= keyname%>"
<% end %>
<% anti_affinity = @node[:octavia][:amphora][:enable_anti_affinity]
   if !anti_affinity.nil? -%>
enable_anti_affinity = <%= anti_affinity %>
<% end %>