

def ping():
    "\n    To check the connection with the device\n\n    Usage:\n\n    .. code-block:: bash\n\n        salt 'device_name' junos.ping\n\n    "
    conn = __proxy__['junos.conn']()
    ret = dict()
    ret['message'] = conn.probe()
    if ret['message']:
        ret['out'] = True
    else:
        conn['out'] = False
    return ret

dataset/ETHPy150Open saltstack/salt/salt/modules/junos.py ping/VarMisuse@57/130 `ret`->`conn`