mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
check if the bond mac address is correctly inherited from it's first slave. There's a case where that might not be happening: $ ip link show swp1 | grep ether link/ether 08:00:27:04:d8:01 brd ff:ff:ff:ff:ff:ff $ ip link show swp2 | grep ether link/ether 08:00:27:04:d8:02 brd ff:ff:ff:ff:ff:ff $ ip link add dev bond0 type bond $ ip link set dev swp1 master bond0 $ ip link set dev swp2 master bond0 $ ip link show bond0 | grep ether link/ether 08:00:27:04:d8:01 brd ff:ff:ff:ff:ff:ff $ ip link add dev bond1 type bond $ ip link set dev swp1 master bond1 $ ip link show swp1 | grep ether link/ether 08:00:27:04:d8:01 brd ff:ff:ff:ff:ff:ff $ ip link show swp2 | grep ether link/ether 08:00:27:04:d8:01 brd ff:ff:ff:ff:ff:ff $ ip link show bond0 | grep ether link/ether 08:00:27:04:d8:01 brd ff:ff:ff:ff:ff:ff $ ip link show bond1 | grep ether link/ether 08:00:27:04:d8:01 brd ff:ff:ff:ff:ff:ff $ ifupdown2 will automatically correct and fix this unexpected behavior Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
DO NOT EDIT NLMANAGER SOURCES. This is a mirror copy of python-nlmanager sources. It was extracted and directly included here to support some usecases where user don't have python-nlmanager already installed on their system. So we decided to have local copy and build with it. It is the mainter responsability to keep an updated version of nlmanager.