Open madhurabhogate opened 5 years ago
I digged in a little bit more.
In case of Juniper- (scenario -----> output)
In case of Arista: Host unreachable : it gives success and says packet loss == probes sent. We could have it throw an error as Juniper does.
Unknown host : the cli output on arista box is arista#ping foo ping: unknown host foo
The eos.py checky for "connect: " string https://github.com/napalm-automation/napalm/blob/develop/napalm/eos/eos.py#L1862
but there is no such string + nor there is "PING" in the string and hence returns an {}.
So two fixes for Arista --
I was trying to use the
ping
function. Incase of Juniper, I do get the error output as -