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)
commitd97e42183edcffc884c2923b23fe3896fe93dd64
treecda4b72cd2b176f7457b209d1b9e4bd78b12e5b1
parent2f1395ce03cea0bc7fb7ce8512df0ff82d09b2ef
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

(This used to be ctdb commit a6930cec6d9503dba18b9d4839d87a1c1a8ddba2)
ctdb/config/events.d/10.interface