+ autoconf 0
+<% end -%>
+<% if interface[:bond] -%>
+ bond-mode <%= interface[:bond][:mode] || "active-backup" %>
+ 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 %>