]> 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 2344c1f9d0e3c372082add2dccda507532d7d087..d0d4dd7c8099628398177aac41ad01e2c25b0f62 100644 (file)
@@ -48,6 +48,12 @@ iface <%= interface[:interface] %> <%= interface[:family] %> static
       bond-slaves none
       bond-primary <%= interface[:bond][:slaves].first %>
       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 %>
 <% end -%>