Skip to content

Commit

Permalink
Merge pull request #138 from claco/issue-933
Browse files Browse the repository at this point in the history
Merged automatically by jenkins after successful build test
  • Loading branch information
rcbjenkins committed May 24, 2014
2 parents 5e5140b + 5712592 commit 73eb051
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/neutron-l3-agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
"neutron_external_bridge" => node["neutron"][plugin]["external_bridge"],
"nova_metadata_ip" => metadata_ip,
"neutron_plugin" => node["neutron"]["plugin"],
"l3_router_id" => (node["neutron"]["l3"]["router_id"] rescue nil),
"l3_gateway_net_id" => (node["neutron"]["l3"]["gateway_external_net_id"] rescue nil),
"send_arp_for_ha" => node["neutron"]["send_arp_for_ha"]
)
notifies :restart, "service[neutron-l3-agent]", :delayed
Expand Down
4 changes: 4 additions & 0 deletions templates/default/l3_agent.ini.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[DEFAULT]
external_network_bridge = <%= @neutron_external_bridge %>

# Once networks are created please update the environment variables neutron[l3][router_id], neutron[l3][gateway_external_net_id]
router_id = <%= @l3_router_id %>
gateway_external_network_id = <%= @l3_gateway_net_id %>

metadata_ip = <%= @nova_metadata_ip %>
metadata_port = 8775

Expand Down

0 comments on commit 73eb051

Please sign in to comment.