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

Update for netmiko 4.x #308

Closed pszulczewski closed 10 months ago

pszulczewski commented 11 months ago

Contains:

calc_old_timeout(
                max_loops=None,
                delay_factor=3,
                loop_delay=0.2,
                old_timeout=100,
            )
300.0

calc_old_timeout(
                max_loops=None,
                delay_factor=20,
                loop_delay=0.2,
                old_timeout=100,
            )
2000.0

calc_old_timeout(
                max_loops=500,
                delay_factor=30,
                loop_delay=0.2,
                old_timeout=3600,
            )
3000.0

fast_cli is not used anymore with read_timeout, so respective properties have been removed. Method signatures have changed, delay_factor has been replaced with read_timeout, this is a braking change.

pszulczewski commented 10 months ago

This PR has been tested for software upgrade against physical devices.

Tested methods: