Releases: ktbyers/netmiko
Releases · ktbyers/netmiko
Release list
Netmiko 4.7.0 Release
New Platforms
- Optilink GOLT in #3583
- Cisco Access Points in #3584
- IPInfusion OcNOS (commit model) in #3596
- Aviat WTM in #3602
- Nokia ISAM in #3725
- Perle IOLAN Console in #3738
- Smartoptics DWDM in #3760
- APC AOS in #3768
- OpenGear in #3769
- Cisco WLC IOS in #3777
- Calix EXA in #3781
- Hioso OLT in #3799
- Huawei ONT in #3800
- Raisecom ROS in #3802
- IIJ Seilos in #3804
- Avara in #3805
- Lancom LCOSsx5 in #3806
- Fujitsu SIR in #3807
- Hirschmann HIOS in #3808
- Furukawa FITELnet in #3810
- ZPE Nodegrid in #3835
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
- @FestplattenSchnitzel made their first contribution in #3691
- @pklimai made their first contribution in #3596
- @isomogyi made their first contribution in #3727
- @bewing made their first contribution in #3740
- @mpfz0r made their first contribution in #3733
- @cdtomkins made their first contribution in #3774
- @balmasea made their first contribution in #3760
- @SeiyaFunaokaJP made their first contribution in #3825
- @jamestiotio made their first contribution in #3842
Full Changelog: v4.6.0...v4.7.0
Netmiko 4.6.0 Release
New Drivers / Platforms
- Add driver for Bintec/Funkwerk BOSS by @mnhauke in #3576
- Ciena Waveserver Driver by @Noppes in #3599
- Corelight Linux by @Noppes in #3600
- Infirena Packet driver added by @Noppes in #3601
- Ekinops ek360 by @Noppes in #3617
- Support for NEC Univerge IX Routers by @inaba-vdom-0 in #3408
- Ciena SAOS10 Driver by @Noppes in #3625
- Edgecore SONiC Driver added by @Noppes in #3618
- Silver Peak VXOA Driver added by @Noppes in #3642
- Added fiberstore_networkos driver by @Noppes in #3649
- Added fiberstore_fsosv2 driver by @Noppes in #3654
- cumulus_vx driver added by @Noppes in #3643
- Lancom LCOS SX4 driver. by @Nivispluma in #3657
- Added telcosystems_binos driver by @Noppes in #3662
- Asterfusion AsterNOS driver by @Wangyuqi in #3660
New Drivers / Platforms (Telnet only)
- genexis_solt33_telnet support by @bsdemon in #3556
- Optilink eolt telnet support by @bsdemon in #3557
- Telnet support for cisco_nxos devices by @Noppes in #3614
Added SCP Support
- Dell SCP Sonic by @aravindmani-1 in #3579
Updates / Bugfixes
- Updating the poetry version backend by @evilmonkey19 in #3550
- Fix to support cisco apic paging by @yone2ks in #3521
- Update Palo Alto Log Collector Compatibility by @opachano in #3535
- Fix pluribus paging issue #3566 by @ktbyers in #3572
- Improve H3C/Comware check_config_mode by @ktbyers in #3573
- Reimplement Huawei SmartAX autodetect by @ktbyers in #3574
- Aruba CX SSH autodetect by @ktbyers in #3575
- Telnet timeout by @ktbyers in #3577
- Huawei buffer clear by @ktbyers in #3578
- Nokia SR Linux: Modify check_config_mode regex by @sebastien-guay in #3240
- Add ANSI escape code to strip (graphics mode) on Linux by @max-dw-i in #3582
- Palo Alto Fix commit options policy_and_objects by @ncharaf in #3242
- Screenos 'Accept' fix #3567 by @ktbyers in #3591
- Fix screenos accept by @ktbyers in #3592
- Screenos 'accept' fix (attempt #3) by @ktbyers in #3593
- Netpicker and Slurp'it Logos and Sponsors by @ktbyers in #3603
- Fixing image links for sponsors by @ktbyers in #3604
- Remove char between images by @ktbyers in #3605
- Fixing behavior issues on IOS-XR commit by @ktbyers in #3610
- A10 nolicense issue and check_config_mode by @ktbyers in #3611
- Extend config example for platforms that support
commitby @chrisinmtown in #3624 - Linux SCP updates to support environment variables for prompts by @ktbyers in #3630
- Support for cntl-y handler in Extreme VSP by @ktbyers in #3631
- H3c autodetect by @ktbyers in #3632
- Fix pypi broken links by @ktbyers in #3633
- Fix Arista term width exception issue by @ktbyers in #3634
- Improve telnet_login behavior in cisco_base_connection.py by @ktbyers in #3635
- Fixing MRV LX config mode issue by @ktbyers in #3637
- Improve Palo Alto find_prompt behavior by @ktbyers in #3638
- Do not double logout on disconnect if logged in as root on Linux by @ktbyers in #3639
- Bugfix Mikrotik version > 6.48 = 'export' command incomplete #3405 by @Tonygratta in #3467
- add support for force10 'login banner acknowledge enable' by @lkowolowski in #3647
- Remove unnecessary carriage return by @ktbyers in #3648
- Minor update to add to sentence structure by @itdependsnetworks in #3652
- Added Fiberstore fsosv2; remove duplicate 'fs_os' driver. by @ktbyers in #3655
- Handle ruijie password change message by @ktbyers in #3656
- FastIron: Fix missing non-greedy, fix no enable pwd, improve base_connection by @ktbyers in #3658
- Fixing base_connection.py pattern to be a non-capture group by @ktbyers in #3659
- NEC IX: Make exit_config_mode behavior more standard by @ktbyers in #3623
- Fix set_base_prompt behavior in NEC-IX by @ktbyers in #3667
- Patterns for DellOS10, OS9, Extreme and PowerConnect terminal improvement by @adrianlasota in #3678
- small logic change by @evilmonkey19 in #3687
- Huawei SmartAX infoswitch off fix by @ktbyers in #3686
- Adding support for graceful and faster closing on Huawei SmartAX. by @evilmonkey19 in #3685
- Speeding up Enable and Config in
huawei smartaxby @evilmonkey19 in #3688 - Fix space available scp by @ktbyers in #3698
- Adding MMI mode for
Huawei SmartAXby @evilmonkey19 in #3695 - Update docs for release by @ktbyers in #3699
New Contributors
- @evilmonkey19 made their first contribution in #3550
- @yone2ks made their first contribution in #3521
- @opachano made their first contribution in #3535
- @ncharaf made their first contribution in #3242
- @Noppes made their first contribution in #3599
- @PaperbagLife made their first contribution in #3607
- @inaba-vdom-0 made their first contribution in #3408
- @chrisinmtown made their first contribution in #3624
- @lkowolowski made their first contribution in #3647
- @itdependsnetworks made their first contribution in #3652
Full Changelog: v4.5.0...v4.6.0
Netmiko 4.5.0 Release
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_errorparameter tosend_commandandsend_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
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
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
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
New Driver
- Audiocode Driver by @Gatorjosh14 in #2869
Bugs and Improvements
- Improve disconnect behavior by @ktbyers in #2846
- Improve encoding behavior by @ktbyers in #2847
- Fix textfsm dependency issue by pinning to 1.1.2 by @ktbyers in #2850
- Proposed Cisco WLC fix for session_preparation() problems by @ktbyers in #2822
- Added Versa FlexVNF platform to SSH autodetect by @dn-gh in #2851
- Nokia global_cmd_verify default fix by @laimaretto in #2856
- Fix issue with redispatch not working due to no data by @ktbyers in #2867
- Fix generator bug in send_config_set by @ktbyers in #2890
- Fix to accommodate single character prompts in set_base_prompt by @ktbyers in #2891
- Adding check that key_file exists if use_keys is True by @ktbyers in #2892
- Minor session_log test updates by @ktbyers in #2894
New Contributors
Netmiko 4.1.1 Release
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
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
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