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:05:58 +0000 (09:05 +1000)
commita6930cec6d9503dba18b9d4839d87a1c1a8ddba2
treed818080118b4ab09481fb9b8fcc6aae24194137e
parent2e80d53b73fcba58ed5a72bab66c051691ccf719
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