diff --git a/netmiko-3.4.0.tar.gz b/netmiko-3.4.0.tar.gz deleted file mode 100644 index 8a26f9e..0000000 --- a/netmiko-3.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:acadb9dd97864ee848e2032f1f0e301c7b31e7a4153757d98f5c8ba1b9614993 -size 502064 diff --git a/netmiko-4.0.0.tar.gz b/netmiko-4.0.0.tar.gz new file mode 100644 index 0000000..d4b5e4c --- /dev/null +++ b/netmiko-4.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7d58419223b5269a8c205977db19704a378277b68e6e87173c0af4ebd7ca7667 +size 382115 diff --git a/python-netmiko.changes b/python-netmiko.changes index 562b951..03bad15 100644 --- a/python-netmiko.changes +++ b/python-netmiko.changes @@ -1,3 +1,68 @@ +------------------------------------------------------------------- +Wed Mar 30 09:27:17 UTC 2022 - Martin Hauke + +- Update to vedrsion 4.0.0 + 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 + 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 + 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 + * 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 + ------------------------------------------------------------------- Sat Apr 24 15:56:03 UTC 2021 - Martin Hauke diff --git a/python-netmiko.spec b/python-netmiko.spec index b5a123d..5859d3b 100644 --- a/python-netmiko.spec +++ b/python-netmiko.spec @@ -1,7 +1,7 @@ # # spec file for package python-netmiko # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-netmiko -Version: 3.4.0 +Version: 4.0.0 Release: 0 Summary: Multi-vendor library to simplify Paramiko SSH connections to network devices License: MIT @@ -34,7 +34,7 @@ Requires: python-paramiko >= 2.6.0 Requires: python-pyserial Requires: python-scp >= 0.13.2 Requires: python-tenacity -Requires: python-textfsm +Requires: python-textfsm >= 1.1.2 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML} @@ -60,6 +60,9 @@ sed -i -e '/^#!\//, 1d' \ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/netmiko-cfg +%python_clone -a %{buildroot}%{_bindir}/netmiko-grep +%python_clone -a %{buildroot}%{_bindir}/netmiko-show %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -70,9 +73,22 @@ sed -i -e '/^#!\//, 1d' \ # Unfortunately, we can't do that during build as those doesn't appeared # to be unit tests. +%post +%python_install_alternative netmiko-cfg +%python_install_alternative netmiko-grep +%python_install_alternative netmiko-show + +%postun +%python_uninstall_alternative netmiko-cfg +%python_uninstall_alternative netmiko-grep +%python_uninstall_alternative netmiko-show + %files %{python_files} %license LICENSE %doc README.md +%python_alternative %{_bindir}/netmiko-cfg +%python_alternative %{_bindir}/netmiko-grep +%python_alternative %{_bindir}/netmiko-show %{python_sitelib}/* %changelog