You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately I do not see any way of altering the read timeout. It is set to the default value of 10 seconds. This is fine for many commands, but in particular, show log on procurve can take a long time to generate all of the output.
After delving into both napalm-procurve and napalm sources, I have determined (and tested) that this can be solved by adding a single line. Inside of procurve.py, there is a dict of possible Netmiko arguments that can be provided. Unfortunately, anything not inside this list is simply ignored. So we can either nix the whole "parameter must be defined in this possible argument map" or we can add this to the code:
Unfortunately I do not see any way of altering the read timeout. It is set to the default value of 10 seconds. This is fine for many commands, but in particular,
show log
on procurve can take a long time to generate all of the output.After delving into both napalm-procurve and napalm sources, I have determined (and tested) that this can be solved by adding a single line. Inside of
procurve.py
, there is a dict of possible Netmiko arguments that can be provided. Unfortunately, anything not inside this list is simply ignored. So we can either nix the whole "parameter must be defined in this possible argument map" or we can add this to the code:We simply need to add the following entry into the dict:
Then it can be passed as an optional argument:
The text was updated successfully, but these errors were encountered: