def METHOD_NAME(self, bond):
    r = []
    try:
        f = open(bond, 'r')
        buff = f.read()
        f.close()
    except:
        return r
    n_slave = 0
    lag = os.path.basename(bond)
    inst = lag
    for line in buff.split('\n'):
        if line.startswith('Slave Interface:'):
            n_slave += 1
            slave = line.split()[-1]
            inst = '.'.join((lag, slave))
        elif line.startswith('MII Status:'):
            val = line.split()[-1]
            if val == "up":
                val = "0"
            else:
                val = "1"
            r.append({
                      "instance": inst+'.mii_status',
                      "value": val,
                      "path": '',
                     })
        elif line.startswith('Link Failure Count:'):
            val = int(line.split()[-1])
            uptime = self.uptime()
            prev_uptime, prev_val = self.get_cache(bond, slave, uptime)
            if uptime - prev_uptime > 3600:
                # don't mask alerts by refreshing the cache too soon
                self.write_cache(bond, slave, val, uptime)
            # Link Failure Count per hour
            val = 3600. * (val - prev_val) / (uptime - prev_uptime)
            r.append({
                      "instance": inst+'.link_failure_per_hour',
                      "value": "%.2f"%val,
                      "path": '',
                     })
    r.append({
              "instance": lag+'.paths',
              "value": str(n_slave),
              "path": '',
             })
    return r