Skip to content

Releases: ktbyers/netmiko

Netmiko 4.7.0 Release

Choose a tag to compare

@ktbyers ktbyers released this 12 May 18:42
1e28a76

New Platforms

What's Changed

  • Fixes 'enable' call issue when device prompt is a substring of literal 'password' string in #3708
  • Fix missing flags in re.search call in enable() in #3709
  • Aruba OS: Add file transfer support in #3691
  • Minor updates to Aruba OS file transfer in #3711
  • Ocnos commit description map to 'comment' argument in #3714
  • Remove superfluous executable bits in #3722
  • Fix typing hints for timeouts: change from int to float in #3720
  • Add py.typed and fix include/MANIFEST.in issues in #3723
  • Mikrotik space fix issue in #3739
  • Use proper type hints for session_log argument of BaseConnection constructor in #3727
  • Minor perle fixes in #3740
  • Fix Check Point Gaia double command echo issue in #3742
  • Improve Check Point Gaia in #3748
  • Fix Garderos GRS alt_prompt in #3733
  • GH Actions: updating Python and MacOS runner versions in #3755
  • Fix error in enable_secret_handler() in #3759
  • nokia_isam improvements in #3754
  • Add cleanup method for graceful cleanup for Gaia in #3772
  • Add save config method for Gaia in #3773
  • Add additional search pattern for AOS-CX (e.g. CX 6300M) in #3774
  • Adva driver fixes in #3595
  • IOS-XR add 'replace' option to commit method in #3668
  • Improve Paramiko Cleanup in #3675
  • Improve error pattern in #3811
  • Update a10 driver in #3812
  • Mikrotik check file exists in #3813
  • Mikrotik login in #3814
  • Cisco s500 driver mapped to s300 class in #3815
  • Hide empty cli results in #3816
  • Fix Adva F2/F3 session_preparation enter behavior in #3789
  • Add fsas_sir as alias for fujitsu_sir device_type in #3809
  • Raise ValueError on trailing backslash in InLineTransfer TCL string in #3817
  • Add dell_sonic to FILE_TRANSFER_MAP in ssh_dispatcher in #3821
  • Fix check_serial_port to use exact match instead of regex grep in #3822
  • Remove deprecated License trove classifier from pyproject.toml in #3823
  • Fix broken image URLs in README for PyPI rendering in #3824
  • Fix Furukawa FITELnet driver bug in #3825
  • Remove strip_command() override from FurukawaFitelnet driver in #3827
  • Include matched error in ConfigInvalidException for cmd_verify=False in #3828
  • Fix Huawei telnet password using "\r" instead of TELNET_RETURN in #3829
  • Fix Juniper commit() expect_string false positive on '>' in #3830
  • Add save_config to DellSonicSSH using 'write memory' in #3831
  • Fix save_config for DellDNOS6 — use short command form with confirmation in #3832
  • Implement enable mode for Cisco FTD via diagnostic CLI in #3834
  • Use NoEnable mixin for CiscoXrBase in #3836
  • Config mode fix in A10 driver in #3840
  • Fix remote space function in ZPE Nodegrid driver in #3842
  • Fix session_log flush so data is written immediately on write() in #3841
  • Add unit tests for SessionLog in #3843
  • Fix typing import issue on PY3.13 in #3846
  • Fix exit_enable_mode issue with not verifying command echo in #3847
  • Update poetry lock file to pin Paramiko version <5 (paramiko5 caused significant breakage) in #3852
  • Replace pylama with ruff check in #3783
  • Eliminate Python 'black' and convert over to 'ruff format' in #3785
  • Update core dependencies in #3782
  • Remove setup.cfg in #3784
  • Refactor _build_ssh_client to use _get_ssh_client_instance (also fixes SSH-agent not working for certain drivers) in #3794

New Contributors

Full Changelog: v4.6.0...v4.7.0

Netmiko 4.6.0 Release

Choose a tag to compare

@ktbyers ktbyers released this 26 Jun 19:39

New Drivers / Platforms

New Drivers / Platforms (Telnet only)

Added SCP Support

Updates / Bugfixes

New Contributors

Full Changelog: v4.5.0...v4.6.0

Netmiko 4.5.0 Release

Choose a tag to compare

@ktbyers ktbyers released this 09 Dec 22:33

New Drivers

  • Vertiv MPH PDUs Driver (#3460)
  • Garderos GRS Driver (#3429)
  • Cisco APIC Driver (Linux) (#3461)
  • Alaxala AX2600s and AX3600s Driver (#3462)

Other Major Changes

  • Fixes to support PY3.13
  • Retire PY3.8 Support
  • Add raise_parsing_error parameter to send_command and send_command_timing
  • Improve Netmiko cli-tools output formatting behavior
  • Adding encryption support to Netmiko cli-tools (#3505)
  • Update Netmiko cli_tools to make them more modular and use concurrent features

Other Improvements and bug fixes

  • Nokia SRL prompt stripping (#3531)
  • Lower Cisco ios priority to eliminate conflicts with ios-xe (#3538)
  • Handle MikroTik press enter to continue issue (#3458)
  • Add Query Device to ANSI Escape Codes for MikroTik (#3457)
  • Fix Mikrotik graceful exit command (#3468)
  • Adding support for pysnmp version6 (#3473)
  • Linux SSH fix for 'Invalid output from MD5 command' (#3486)
  • Add support for md-cli only mode in nokia_sros (#3496)
  • Do not explicitly require secondary dependencies (#3515)
  • Zyxel fix for next line character in output (#3524)
  • Fortinet _preferred_kex settings fix (#3530)
  • Sophos fix to allow to allow user to better navigate the interactive menu prompt
  • Add bracketed paste mode to ANSI escape codes
  • Add 'split-task' to possible vdom configs for Fortinet (#3464)
  • Add Bulk encryption utility for .netmiko.yml file
  • Documentation and test improvements

Netmiko 4.4.0 Release

Choose a tag to compare

@ktbyers ktbyers released this 08 Jul 22:22

New Drivers

  • Aruba AOS-CX

Other Major Changes

  • Add Python 3.13 support
  • Vendor telnetlib internally to Netmiko (PY3.13 dropped inclusion of telnetlib)

Other Improvements

  • Add save_config for Huawei VRPv8
  • Expand SSH autodetect support
  • Improvements for Sophos driver
  • Clean up log filter after disconnect
  • Improve IOS-XR exit_config_mode() behavior

Netmiko 4.3.0 Release

Choose a tag to compare

@ktbyers ktbyers released this 17 Nov 18:40

Security

  • Netmiko's session_log has certain scenarios where it was failing to hide the default no_log items ("secret" and "password"). This bug has generally been fixed though there are likely edge scenarios where this could still happen. Given the nature of the session_log it should always be viewed as a security sensitive file.

Python

  • Drop PY3.7 support

Documentation

  • Add CONTRIBUTING.md document

Bug Fixes and Improvements

  • Improve Ciena SAOS logic in set_base_prompt
  • Improve Nokia SROS disable paging behavior
  • Remove Arris and Casa from SSH autodetect
  • Add support for Genie and Linux
  • Improve TP-Link session_preparation behavior
  • Improve MikoTik terminal size definition
  • Improve Arista SSH autodetection
  • Fix SNMP autodetection when hostname is used (instead of IPv4/IPv6 address)
  • Improve SCP behavior for remote_file_size when subdirectories are used
  • Implement TelnetFallback entry point
  • Improve Extreme SLX-OS autodetect
  • Improve Fortinet driver _get_output_mode_v6 behavior
  • Improve HP comware and HP procurve behavior in session_preparation
  • Add Allied Telesis in SNMP and SSH autodetect
  • Update hp_comware.py handle RBM in prompt
  • Update vyos_ssh.py to enter and exit config mode on save
  • Handle Huawei secure configuration message
  • Add support for a SessionLog object in dunder-init(). This allows a custom no_log definition.
  • CI-CD fixes for various things breaking
  • Improve ers driver cntl-y behavior
  • Adtran driver enable global_cmd_verify by default
  • Adtran driver improve enable() behavior
  • Add Telnet Proxy support for SOCKS Proxy

New Drivers or Expanded Driver Support

  • Add support for Fiberstore FSOS
  • Add support for Maipu
  • Add Digi TransPort Router Support

Contributions By

@melewitz
@mpecarina
@drousseau
@carbonarok
@kacem-expereo
@shrank
@dystland
@cla-azzarello
@msimkins
@msozer-dn
@jiujing
@az-pz
@rnuyttens
@yucai100
@alizee2020
@ovikosta
@tbotnz
@k-ribot
@dannywade
@shivaraj-arch
@Gatorjosh14
@jeffkala
@ktbyers

Netmiko 4.2.0 Release

Choose a tag to compare

@ktbyers ktbyers released this 05 May 16:39

Bug Fixes and Improvements

  • Expanded and improved SSH autodetect support.
  • Various bug fixes
  • Improve Huawei driver
  • MikroTik driver improvements
  • Fortinet driver improvements
  • IOS-XR driver improvements
  • Add simpler solution for Paramiko disabled_algorithms issue.
  • Add IPv6 support for SNMP autodetect.
  • Convert over to use Poetry (eliminate setup.py)
  • Improve send_config_set() and read_timeout behavior
  • Improve behavior of normalize_linefeeds() method. Add argument to disable this behavior.
  • Add check_state argument to enable() method that allows for disabling the initial check_enable_mode() call.

New Drivers or Expanded Driver Support

  • Add support for Arris CER
  • Add support for Casa CMTS
  • Add support for Adva AOS FSP 150 F2 and F3
  • Add support for Hillstone StoneOS
  • Add support for Teldata CIT
  • Add support for Cisco S200
  • Add support for Ericsson MINI-LINK 66XX & 63XX
  • Add support for SCP on Ubiquiti EdgeRouter

Netmiko 4.1.2 Release

Choose a tag to compare

@ktbyers ktbyers released this 09 Aug 21:52
2a97b4a

New Driver

Bugs and Improvements

New Contributors

Netmiko 4.1.1 Release

Choose a tag to compare

@ktbyers ktbyers released this 28 Jun 22:37

New Drivers

  • Add Nokia SRLinux Support
  • Add Mikrotik File Transfer Support

Performance Improvements

  • Performance Improvements for Linux Driver
  • Improve Performance Graphs

Bug Fixes / Improvements

  • Better Error Messages for Incompatible Python Versions
  • Improve Huawei Driver
  • Improve Huawei VRPv8 Driver
  • Improve HPE ProCurve Driver
  • Improving Junos context stripping patterns
  • Improve MikroTik Driver
  • Fix for Extreme ERS login issues
  • Minor update to threading calls in Netmiko Tools
  • Increase save_config default timeout for Cisco-based platforms

Netmiko 4.1.0 Release

Choose a tag to compare

@ktbyers ktbyers released this 27 Apr 19:24
5bbbb73

Performance Improvements

  • Improve performance in Junos config_mode() and check_config_mode() methods.
  • Improve performance on disconnect() method.
  • Improve slow NX-OS disconnect()
  • Improve slow Junos disconnect()

Bug Fixes and other Improvements

  • Update VyOS save_config()
  • Fix read_timeout being excessively long in case where check_config() fails
  • Fix Huawei regular expression issue
  • Fix Huawei login issue
  • Improve Juniper enter_cli_mode()
  • Fix issue with Nokia SROS MD-CLI having square bracket data being removed
  • Fix issue with 'write memory' on ubiquity edge switches
  • Fix extreme exos read-only account issue
  • Add Cisco WLC _send_command_w_yes() method
  • Fix Cisco IOS, IOS-XE, and IOS-XR abbreviating prompt in config mode
  • Fix Aruba controller paging issue
  • Fix fortigate autodetect
  • Fixing HP Procurve session_preparation issue on repeated connection

Python Version Support

  • Remove PY3.6 Support
  • Add PY3.10 Support

Netmiko 4.0.0 Release

Choose a tag to compare

@ktbyers ktbyers released this 23 Mar 18:14
4261711

Backwards incompatible and other major changes

  • Convert send_command to use read_timeout.
  • Convert send_command_timing to use read_timeout and last_read
  • Add type hints and mypy support
  • Relocate exceptions module to netmiko.exceptions (was ssh_exceptions)
  • Add read_timeout argument to send_config_set
  • Convert netmiko-tools to be an entry point and directly a part of Netmiko library
  • Creating a new internal Channel class
  • Restructure read methods
  • Implement NoEnable and NoConfig inheritance classes to standardize no-config and no-enable behavior

Related Articles

Major new features

  • Add send_multiline() method
  • Add send_multiline_timing() method
  • Create new Netmiko factory function named ConnLogOnly
  • Create new Netmiko factory function named ConnUnify

Related Articles

New Drivers

  • Cisco Viptela Driver
  • Dell SONiC Driver
  • Cisco S300 Telnet Driver
  • Allied Telesis AlliedWare Plus Driver
  • Zyxel Driver
  • Extreme Tierra OS Driver
  • Extreme EXOS Secure Copy Support

Minor Enhancements

  • Centralize standard no_auth code into SSHClient_noauth
  • Remove vendored Textfsm library code
  • Add a shim for cisco_xe to use cisco_ios in ntc-templates
  • WLC add method send_command_w_yes to handle show command that still prompts for pagination
  • Platforms added to SSH autodetect
  • Expand ANSI escape code stripping
  • Expand SNMP autodetect support

Bug Fixes

  • Fix read ahead issue with read methods
  • Fix ntc-templates directory structure issue
  • Aruba OS fix for hostname changes
  • Fix flexvnf enter cli and prompt issue
  • Fix path issue for pip installed ntc-templates when using PY3.9
  • Mikrotik driver improvements and fixes
  • Fixing IOS-XR confirm prompting issue during commit
  • Fix the pan-os acknowledgment banner
  • Fix Juniper ScreenOS accept issue
  • Add support for Username: for telnet login on ProCurve
  • Change ArubaOS command to disable paging
  • utf-8 encoding for session_log
  • Add bypass_commands support to send_config_set to disable cmd_verify
  • Fix disconnect() call for Dlink DS driver
  • Prevent secret from being leaked to debug log
  • Fix send_command() read issue where data spanned the deque
  • Improve set_base_prompt behavior
  • Increase the default conn_timeout to 10 seconds improve Paramiko behavior on slow connections

Performance Improvements

  • Fix IOS-XR performance issues
  • Implement Netmiko performance improvements for a large set of drivers (about half the drivers)
  • Fixing Linux very slow disconnect issue