Skip to content

Commit

Permalink
Merge pull request rcbops-cookbooks#131 from claco/issue-877
Browse files Browse the repository at this point in the history
Merged automatically by jenkins after successful build test
  • Loading branch information
rcbjenkins committed Mar 14, 2014
2 parents c33096f + 92f4c77 commit 811687e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
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

0 comments on commit 811687e

Please sign in to comment.