@staticmethod
def load_mac(devices=None):
    """Load dictionary using MAC address as key."""
    if not devices:
        return None
    mac_devices = {}
    for device in devices:
        if 'mac-address' in device:
            mac = device['mac-address']
            mac_devices[mac] = device
    return mac_devices
