#NEWLINE# def ping( destination , source = '' , ttl = 0 , timeout = 0 , size = 0 , count = 0 ) : #NEWLINE# #INDENT# "\n    Executes a ping on the network device and returns a dictionary as a result.\n\n    :param destination: Hostname or IP address of remote host\n    :param source: Source address of echo request\n    :param ttl: IP time-to-live value (IPv6 hop-limit value) (1..255 hops)\n    :param timeout: Maximum wait time after sending final packet (seconds)\n    :param size: Size of request packets (0..65468 bytes)\n    :param count: Number of ping requests to send (1..2000000000 packets)\n\n    CLI Example:\n\n    .. code-block:: bash\n\n        salt '*' net.ping 8.8.8.8\n        salt '*' net.ping 8.8.8.8 ttl=3 size=65468\n        salt '*' net.ping 8.8.8.8 source=127.0.0.1 timeout=1 count=100\n    " #NEWLINE# return __proxy__ [ 'napalm.call' ] ( 'ping' , ** { #NEWLINE# #INDENT# 'destination' : destination , #NEWLINE# 'source' : source , #NEWLINE# 'ttl' : ttl , #NEWLINE# 'timeout' : timeout , #NEWLINE# 'size' : size , #NEWLINE# 'count' : source , #NEWLINE# #UNINDENT# } )