Pyntc

Latest version: v2.0.0

Safety actively analyzes 629855 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.20.1

Fixed

- Tox pipeline black linting issue.

0.18.0

Added
- IOSXEWLCDevice device Driver.
Fixed
- IOS `rollback()` method derives filesystem name using `_get_file_system()` method to discover it from system.

0.17.0

Added
- ASADevice supports connecting to HA Peer
- ASADevice `connected_interface`, `ip_address`, `ipv4_addresses`, `ipv6_addresses`, `ip_protocol`, `peer_device`, `peer_ip_address`, `peer_ipv4_addresses`, `peer_ipv6_addresses`, properties
- ASADevice `enable_scp`, `reboot_standby` methods
- IOSDevice now supports setting `fast_cli` on Netmiko driver
Changed
- All Drivers `reboot` no longer accepts `confirm` argument
- AIREOSDevice ``transfer_image_to_ap`` attempts to check that install image matches expected value multiple times.
- ASADevice `file_copy` now supports transferring files to active and standby devices
- EOSDevice `config` method accepts a list of commands
- EOSDevice `show` method accepts a list of commands
- JUNOSDevice `config` method accepts a list of commands
- JUNOSDevice `show` method accepts a list of commands
Fixed
- Account for additional output for verify if OS Image is booted
- Handle Upgrades by disabling `fast_cli` during reboot process

0.16.0

Added
- ASADevice `is_active`, `peer_redundancy_state`, `redundancy_mode`, `redundancy_state` methods
Changed
- AIREOSDevice `convert_filename_to_version` function now supports IRCM images

0.15.0

Added
- IOSDevice `os_install` method added support for using install mode
Changed
- AIREOSDevice `config` method accepts a list of commands
- AIREOSDevice `config` method supports sending kwargs to netmiko
- AIREOSDevice `show` method accepts a list of commands
- AIREOSDevice `show` method supports sending kwargs to netmiko
- AIREOSDevice `file_copy` increased delay_factor default to 10
- IOSDevice `config` method accepts a list of commands
- IOSDevice `config` method supports sending kwargs to netmiko
- All devices `facts` property contents were converted to individual properties
Deprecated
- AIREOSDevice `show_list` and `config_list` methods
- IOSDevice `config_list` method
- All Platforms `facts` property
- CommandListError class will migrate to just use CommandError
Fixed
- IOSDevice `file_copy` method now reconnectes to device after transfer is complete to avoid sending commands across a closed SSH channel
- IOSDevice `peer_redundancy_state`, `redundancy_mode`, and `redundancy_state` all strip left spaces for regex match.

0.14.0

Added
- AIREOSDevice `show` method now supports sending any additional args that Netmiko supports using kwargs.
- AIREOSDevice `is_active` method was added to check if device is the active device.
- EOSDevice now supports specifying the connection port.
- IOSDevice `show` method now supports sending any additional args that Netmiko supports using kwargs.
- IOSDevice `is_active` method was added to check if device is currently the active in a HA setup.
- IOSDevice `redundancy_mode`, `redundancy_state`, and `peer_redundancy_properties` are now available.
Changed
- AIREOSDevice sending commands with expected prompt is now done via Netmiko's `send_command` method.
- AIREOSDevice now waits for peer to form after upgrade before failing due to peer redundancy issues.
- AIREOSDevice `file_copy` method offers more granular failures to help identify where failures happen.
- AIREOSDevice `peer_redundancy_state` method now returns None if the unit does not support redundancy.
- AIREOSDevice `redundancy_state` method now returns a string of the state or None if it is not supported.
- AIREOSDevice `is_active` method should be used for functionality previously supported by `redundancy_state`.
- AIREOSDevice `open` method now allows the default behavior of checking that device is active to be turned off using `confirm_active` arg.
- AIREOSDevice `show` method no longer supports passing `expect` arg, as that is implied by passing `expect_string`.
- ASADevice sending commands with expected prompt is now done via Netmiko's `send_command` method.
- ASADevice `show` method no longer supports passing `expect` arg, as that is implied by passing `expect_string`.
- IOSDevice fetching the default file system now tries 5 times before raising an exception.
- IOSDevice sending commands with expected prompt is now done via Netmiko's `send_command` method.
- IOSDevice waiting for device to reboot now waits until "show version" command is successful (delayed startup).
- IOSDevice `file_copy` method will attempt md5 validation if copy completes even though network device closes the socket.
- IOSDevice `open` method now defaults to checking that device is active; use the `confirm_active` arg to change this.
- IOSDevice `show` method no longer supports passing `expect` arg, as that is implied by passing `expect_string`.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.