Closed zachmoody closed 7 years ago
Could you open a PR on the main napalm
repo and link it here to document this optional_arg, please?
Thanks!
I'm very surprised that ncclient does not set a keepalive by default. We should probably replicate this for all devices having SSH-based connection.
Would you agree having a default value for the keepalive
, as for timeout
, say 30 seconds or so?
Sounds sane to me.
I had a look at OpenSSH's stance on keepalives and they're disabled by default as well. Maybe parity with that was what Paramiko, ncclient, etc. were going for. Made a couple more commits to set a default value. Will have a PR raised on napalm-base to get this in all applicable drivers shortly.
Thanks @zachmoody
PR for doc change is https://github.com/napalm-automation/napalm/pull/372
This will be delayed a bit due to other bugfixes to be addresses in the next release. I hope to have the time for them this week or early next week.