bonding mode 4 monitoring:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 12 Apr 2011 21:51:36 +0000 (07:51 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 12 Apr 2011 23:06:08 +0000 (09:06 +1000)
commit8411e70e021f5ac90731059a02bec2a29ffc43b2
treefc0e0126ead142c6c6b5a08585a4a1a6fa990133
parent4dcbd355fe95adf0f0380bcd447effc6862b7d93
bonding mode 4 monitoring:
we can not just check if MII Status is up for bonding mode 4, since the kernel will always report the bond device as UP
even if all cables are disconneccted.

For mode 4, ignore the status of the bond device and instead chek if at least one slave interface is up
when determining if the device is good or bad
config/events.d/10.interface