def get_disk(parent, host, community):
    disks = (1,3,6,1,2,1,25,2,3,1) # HOST-RESOURCES-MIB
    data = parent.get_snmp_data(host, community, disks, 1)

    # We need to work this out the long was as there are cases where size or used is not supplied
    details = []
    formatted = []

    for i in [t for t in parent._extract(data, int, 1)]:
      details.append([ value for (oid, (data_type, index), value) in data if index == i  and data_type != 1])

    for dev in details:
      if len(dev) != 5:
        continue
      formatted.append((
        tuple(dev[0])[-1],
        str(dev[1]),
        int(dev[2]) * int(dev[3]),
        int(dev[2]) * int(dev[4])
        ))

    return formatted
Deletes the layout data for a specified layout name.
dataset/ETHPy150Open cread/ecks/ecks/plugins/disk.py/get_disk--crossover with--dataset/ETHPy150Open enthought/pyface/pyface/dock/dock_window.py/DockWindow._delete_layout