example42/puppet-network

render bonding_opts from bond options under rhel

benibr opened this issue · 1 comments

Expected Behavior

Options as xmit_hash_policy should be compiled to a bonding_opts string in the red hat interfaces template like it is done with eg. miimon

Actual Behavior

only mode and miimon are used, all other parameters are ignored. Instead the whole BONDING_OPTS line has to be defined as string

Steps to Reproduce the Problem

  1. configure bond interface and use $xmit_hash_policy or $lacp_rate
  2. run on RHEL distro

I submitted a patch which works for me. Anyone any suggestions?