X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/39577199725fbe5d373021117f19c6a858e9c8ae..cf894718de9117eb4189e78f27e966c3a9b8dc93:/cookbooks/networking/templates/default/interfaces.erb diff --git a/cookbooks/networking/templates/default/interfaces.erb b/cookbooks/networking/templates/default/interfaces.erb index 2344c1f9d..d0d4dd7c8 100644 --- a/cookbooks/networking/templates/default/interfaces.erb +++ b/cookbooks/networking/templates/default/interfaces.erb @@ -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 -%>