Releases: networktocode/pyntc
Releases · networktocode/pyntc
v2.3.0 - 2026-04-14
Release Overview
- Added the ability to for remote file copy on Cisco NXOS, Cisco ASA, and Arista EOS operating systems.
v2.3.0 (2026-04-14)
Added
- #365 - Added the remote file copy feature to Arista EOS devices.
- #365 - Added unittests for remote file copy on Arista EOS devices.
- #366 - Added
remote_file_copy,check_file_exists,get_remote_checksum, andverify_filesupport forASADevice(FTP, TFTP, SCP, HTTP, HTTPS). - #367 - Added remote file copy feature to Cisco NXOS devices.
- #367 - Added unittests for remote file copy for Cisco NXOS devices.
Changed
- #368 - Improved EOS remote file copy to validate scheme and query strings before connecting, use
clean_urlto prevent credential leakage, and simplify credential routing. - #368 - Changed copy command builders to include the source file path in the URL and use
flash:as the destination, matching EOS CLI conventions. - #368 - Fixed
_uptime_to_stringto use integer division, preventingValueErroron format specifiers. - #368 - Fixed
check_file_existsandget_remote_checksumto open the SSH connection before use, preventingAttributeErrorwhen called standalone. - #368 - Fixed password-prompt handling in
remote_file_copyto wait for the transfer to complete before proceeding to verification. - #368 - Simplified checksum parsing in
get_remote_checksumto use string splitting instead of regex. - #368 - Changed
verify_fileto return early when file does not exist and use case-insensitive checksum comparison. - #368 - Removed
include_usernameparameter fromremote_file_copyin favor of automatic credential routing based on scheme and username presence.
Removed
Fixed
- #366 - Fixed
ASADevice._get_file_systemto usere.searchinstead ofre.matchso the filesystem label is correctly parsed regardless of leading whitespace indiroutput. - #366 - Fixed
ASADevice._send_commandto anchor the%error pattern to the start of a line (^%) to prevent false-positiveCommandErrorraises during file copy operations. - #366 - Fixed
ASADevice.active_redundancy_statesto include"disabled"so standalone (non-failover) units are correctly treated as active.
Housekeeping
- #368 - Converted EOS remote file copy tests from hypothesis/pytest standalone functions to unittest TestCase with
self.assertRaisesandsubTestfor consistency with the rest of the codebase. - #368 - Removed duplicate test class
TestRemoteFileCopyCommandExecutionand consolidated intoTestRemoteFileCopy. - #368 - Added integration tests for EOS device connectivity and remote file copy across FTP, TFTP, SCP, HTTP, HTTPS, and SFTP protocols.
New Contributors
- @mattmiller87 made their first contribution in #364
- @jtdub made their first contribution in #366
Full Changelog: v2.2.1...v2.3.0
v2.2.1 - 2026-04-08
v2.2.1 (2026-04-08)
Added
- #360 - Added support for Python 3.14.
Fixed
- #354 - Fixed Github release publishing failing.
Contributors
Full Changelog: v2.2.0...v2.2.1
v2.2.0 - 2026-03-07
What's Changed
v2.2 Release Notes
- Added OS upgrade support for Junos devices.
v2.2.0 (2026-03-09)
Added
- #350 - Added OS upgrade support for Junos devices.
New Contributors
Full Changelog: v2.1.0...v2.2.0
v2.1.0 - 2026-03-03
What's Changed
v2.1.0 (2026-03-03)
Added
- #345 - Added the ability to download files from within a Cisco IOS device.
Housekeeping
- #335 - Replaced black, bandit, flake8 and pydocstyle with ruff.
- #335 - Updated tasks.py with newest task list.
- #335 - Updated to using pyinvoke for development environment definition.
- Fixed docs build and code-reference issues.
- Rebaked from the cookie
main.
New Contributors
Full Changelog: v2.0.2...v2.1.0
v2.0.2
What's Changed
- Fix jnpr_device.JunosDevice.save NamedTemporaryFile mode. by @pszulczewski in #318
Full Changelog: v2.0.1...v2.0.2
v2.0.1
[2.0.1] 09-2024
Added
- 311 Extend cisco_ios set_boot_options method.
Fixed
- 312 Fix Arista EOS file copy issues.
New Contributors
- @juanjtomasg made their first contribution in #289
- @alhogan made their first contribution in #312
Full Changelog: v2.0.0...v2.0.1
Release 2.0.0
v1.0.2
Release 1.0.1
What's Changed
- Fix default ports. by @pszulczewski in #300
- Release 1.0.1 by @pszulczewski in #301
New Contributors
- @pszulczewski made their first contribution in #300
Full Changelog: v1.0.0...v1.0.1
v1.0.0
[1.0.0] 04-2023
Added
- 270 Add additional properties to ASA and AIREOS.
- 271 Add default logging for all devices and overall library.
- 280 Add the
wait_for_reloadargument fromrebootmethod throughout library. Defaults to False to keep current code backward compatible, If set to True the reboot method waits for the device to finish the reboot before returning.
Changed
Deprecated
- 269 Remove
show_listandconfig_listmethods asa and ios. Add default functionality toshowandconfigto handle str and list. - 275 Remove python ABC (abstract base classes) as they were not required.
- 275 Remove
show_listandconfig_listmethods for the rest of device drivers. Add default functionality toshowandconfigto handle str and list. - 280 Remove the use of
signalmodules within Cisco drivers. This will allow for reboots to be able to be handled within threads. - 280 Remove the
timerargument fromrebootmethod throughout library. Compatibility matrix on which versions, vendors support it became to much to maintain.
Full Changelog: v0.20.3...v1.0.0