Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable send_arp_for_ha in l3_agent.ini #131

Merged
merged 1 commit into from
Mar 14, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Nova Networking
* `nova["network"]["dhcp_domain"]` - Domain to use for building hostnames
* `nova["network"]["force_dhcp_release"]` - Send DHCP release on instance termination?
* `nova["network"]["send_arp_for_ha"]` - Send gratuitous ARPs for HA setup?
* `nova["network"]["send_arp_for_ha_count"]` - Number of gratuitous ARPs to send. defaults to 3
* `nova["network"]["auto_assign_floating_ip"]` - Auto-assigning floating ip to VM?
* `nova["network"]["floating_pool_name"]` - if creating a floating ip pool, what to name it
* `nova["network"]["multi_host"]` - Use multi-host mode?
Expand All @@ -88,6 +89,7 @@ Neutron Networking
* `neutron["linuxnet_interface_driver"]` - used in nova.conf. the linux net interface driver, by default nova.network.linux_net.LinuxOVSInterfaceDriver
* `neutron["firewall_driver"]` - used in nova.conf. the firewall driver to use, by default nova.virt.libvirt.firewall.IptablesFirewallDriver
* `neutron["agent_down_time"]` - Seconds elapsed until an agent is considered down
* `neutron["send_arp_for_ha"]` - Number of gratuitous ARPs to send. defaults to 3. 0 disables arps completely.
* `neutron["services"]["api"]["scheme"]` - scheme for service (http/https)
* `neutron["services"]["api"]["network"]` - `osops_networks` network name which service operates on
* `neutron["services"]["api"]["port"]` - port service binds to
Expand Down
2 changes: 2 additions & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
default["nova"]["network"]["dhcp_domain"] = "novalocal"
default["nova"]["network"]["force_dhcp_release"] = true
default["nova"]["network"]["send_arp_for_ha"] = true
default['nova']["network"]["send_arp_for_ha_count"] = 3
default["nova"]["network"]["auto_assign_floating_ip"] = false
default["nova"]["network"]["floating_pool_name"] = "nova"
default["nova"]["network"]["multi_host"] = true
Expand Down Expand Up @@ -76,6 +77,7 @@
"nova.network.linux_net.LinuxOVSInterfaceDriver"
default["neutron"]["firewall_driver"] =
"nova.virt.firewall.NoopFirewallDriver"
default['neutron']["send_arp_for_ha"] = 3

# Set the notification Driver
# Options are no_op, rpc, log, rabbit
Expand Down
3 changes: 2 additions & 1 deletion recipes/neutron-l3-agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
variables(
"neutron_external_bridge" => node["neutron"][plugin]["external_bridge"],
"nova_metadata_ip" => metadata_ip,
"neutron_plugin" => node["neutron"]["plugin"]
"neutron_plugin" => node["neutron"]["plugin"],
"send_arp_for_ha" => node["neutron"]["send_arp_for_ha"]
)
notifies :restart, "service[neutron-l3-agent]", :delayed
notifies :enable, "service[neutron-l3-agent]", :delayed
Expand Down
2 changes: 2 additions & 0 deletions templates/default/l3_agent.ini.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ external_network_bridge = <%= @neutron_external_bridge %>
metadata_ip = <%= @nova_metadata_ip %>
metadata_port = 8775

send_arp_for_ha = <%= @send_arp_for_ha %>

<% if @neutron_plugin == "ovs" %>
# OVS
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
Expand Down