CumulusNetworks / ifupdown2

GNU General Public License v2.0
157 stars 72 forks source link

bond-ad-select bonding option not available? #222

Open hagaram opened 2 years ago

hagaram commented 2 years ago

Hello,

I've tried to setup my bonding interface with below option included:

bond-ad-select count

or

bond-ad_select count

Neither of them seems to work, neither did I find this kind of reference in source code of ifupdown2.

It is a valid option, see:

cat /sys/class/net/bond0/bonding/ad_select
stable 0

where count would be:

count 2

Was this bond option omitted by mistake, or is it intended behaviour?

julienfortin commented 2 years ago

Hi @hagaram

This bond option is not supported yet. You can configure this via a pre-up/up/post-up iproute2 command.

If you want to see this option natively supported by ifupdown2 you could submit a pull-request. It should be fairly easy to add (the netlink backend should already have support for this via IFLA_BOND_AD_SELECT).

Cheers