def get_device_by_name(ns, device_name):
    return ns.LMI_IPNetworkConnection.first_instance({ 'ElementName': device_name })
If this login system uses an external login URL, this function
dataset/ETHPy150Open openlmi/openlmi-scripts/commands/networking/lmi/scripts/networking/__init__.py/get_device_by_name--crossover with--dataset/ETHPy150Open mitsuhiko/solace/solace/auth.py/AuthSystemBase.before_login