Problem:
I’ve set-up discovery and was happy to learn that a feature called “auto-bonding” made the cut. I enabled the discovery_auto_bond in the global settings. For what I understand in the brief description, it should be bonded, as soon as is detected that multiple interfaces or on the same (lldp-enabled) switch (although for redundancy, this would probably make more sense to be on different switches?).
I tested in 2 scenarios (I have 3 NICs):
2 NICs on single switch, 3rd NIC as provisioning interface
2 NICs on single switch, one of these is used as provisioning interface
Looking at was has been discovered, it seems as if it has been detected to be on the same switch:
Correction, I’ve reviewed the code, but I could not test this as I don’t have any switches with LLDP. If you have an idea how to set this up with libvirt, that would be great.
Hey @lzap, I’ll see if I can make some easy to recreate test-environment using some virtual solution.
Meanwhile I’ve also reviewed the code, I think it makes sense but seems to make an assumption that this is also the primary interface. Anyway, even working the assumption (so making the bonded interface my primary interface) didn’t resolve the issue so must be something more to it.
But, first things first, will try and make a controlled environment. (or send a huawei switch as a belated christmas gift? :p)