def get_devices(self):
        try:
            return [IPDevice(iface) for iface in netifaces.interfaces()]
        except (__HOLE__, MemoryError):
            LOG.error(_LE("Failed to get network interfaces."))
            return []
dataset/ETHPy150Open openstack/neutron/neutron/agent/windows/ip_lib.py/IPWrapper.get_devices