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

Remove timer option from reboot methods since not all support OS allow for it #279

Closed jeffkala closed 1 year ago

jeffkala commented 1 year ago

To simplify reboot method, we should remove the timer option from the method since it complicates handling long timers, think 1 hour, the program will hang.

Also not all OSs support the reload timer and keeping track of that matrix complicates maintainability of the source code. Removing it from the library can allow for users to implement their own "delay"/"sleep" logic in their applications.

jeffkala commented 1 year ago

closed in #280