]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/templates/default/interfaces.erb
Tune bonding on odin
[chef.git] / cookbooks / networking / templates / default / interfaces.erb
index 7ffd456deceabb306291c13b100851e29c00a416..d0d4dd7c8099628398177aac41ad01e2c25b0f62 100644 (file)
@@ -50,6 +50,9 @@ iface <%= interface[:interface] %> <%= interface[:family] %> static
       bond-miimon <%= interface[:bond][:miimon] || 100 %>
 <% if interface[:bond][:xmithashpolicy] -%>
       bond_xmit_hash_policy <%= interface[:bond][:xmithashpolicy] %>
+<% end -%>
+<% if interface[:bond][:lacprate] -%>
+      bond-lacp-rate <%= interface[:bond][:lacprate] %>
 <% end -%>
       bond-downdelay <%= interface[:bond][:downdelay] || 200 %>
       bond-updelay <%= interface[:bond][:updelay] || 200 %>