networktocode / pyntc

Python library focused on tasks related to device level and OS management.
https://pyntc.readthedocs.io/en/latest/
Other
170 stars 52 forks source link

N5Ks can be slow the native timeout should be configurable. #232

Closed jeffkala closed 2 years ago

jeffkala commented 2 years ago

https://github.com/networktocode/pyntc/blob/b46b94a202c1dc5bf30c97dcaa69af8fe77bde60/pyntc/devices/nxos_device.py#L365

Constantly hitting the requests module read timeout which is 300 on N5K installs. These installs go through the validation of both the system and kickstart image. Regularity takes longer than 10 minutes to just finish the "verification" steps. This should be configurable to avoid timeout issues.