nav icon indicating copy to clipboard operation
nav copied to clipboard

Timeout values should be configurable in NAPALM profiles

Open lunkwill42 opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Users report problems with completing PortAdmin configuration changes on Juniper switch stacks. Apparently, committing the configuration on Juniper switch stacks takes longer the more switches are in the stack, and PortAdmin is reporting timeout errors.

The NAPALM (and/or PyEZ) library seems to use a default of a 60 second timeout, but nowhere in NAV is this configurable. It seems this can be to short even for switch stacks of only four switches.

Describe the solution you'd like

An explicit timeout value should be configurable in NAPALM management profiles. This will enable users to both increase the timeout if they are having issues with slow responses, but will also enable them to differentiate between NAPALM profiles for "fast" and "slow" devices, if they want.

Describe alternatives you've considered

The timeout could be a global option in portadmin.conf, but the user would not be able to differentiate between different classes of devices, they would need shell access and restart the web server after modifications were made.

lunkwill42 avatar Apr 08 '22 05:04 lunkwill42