Releases: networktocode/pyntc
Releases · networktocode/pyntc
v0.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_standbymethods - IOSDevice now supports setting
fast_clion Netmiko driver
Changed
- All Drivers
rebootno longer acceptsconfirmargument - AIREOSDevice
transfer_image_to_apattempts to check that install image matches expected value multiple times. - ASADevice
file_copynow supports transferring files to active and standby devices - EOSDevice
configmethod accepts a list of commands - EOSDevice
showmethod accepts a list of commands - JUNOSDevice
configmethod accepts a list of commands - JUNOSDevice
showmethod accepts a list of commands
Fixed
- Account for additional output for verify if OS Image is booted
- Handle Upgrades by disabling
fast_cliduring reboot process
Release 0.16.0
Added
- ASADevice
is_active,peer_redundancy_state,redundancy_mode,redundancy_statemethods
Changed
- AIREOSDevice
convert_filename_to_versionfunction now supports IRCM images
Release 0.15.0
Added
- IOSDevice
os_installmethod added support for using install mode
Changed
- AIREOSDevice
configmethod accepts a list of commands - AIREOSDevice
configmethod supports sending kwargs to netmiko - AIREOSDevice
showmethod accepts a list of commands - AIREOSDevice
showmethod supports sending kwargs to netmiko - AIREOSDevice
file_copyincreased delay_factor default to 10 - IOSDevice
configmethod accepts a list of commands - IOSDevice
configmethod supports sending kwargs to netmiko - All devices
factsproperty contents were converted to individual properties
Deprecated
- AIREOSDevice
show_listandconfig_listmethods - IOSDevice
config_listmethod - All Platforms
factsproperty - CommandListError class will migrate to just use CommandError
Fixed
- IOSDevice
file_copymethod now reconnectes to device after transfer is complete to avoid sending commands across a closed SSH channel - IOSDevice
peer_redundancy_state,redundancy_mode, andredundancy_stateall strip left spaces for regex match.
Release 0.14.0
Added
- AIREOSDevice
showmethod now supports sending any additional args that Netmiko supports using kwargs. - AIREOSDevice
is_activemethod was added to check if device is the active device. - EOSDevice now supports specifying the connection port.
- IOSDevice
showmethod now supports sending any additional args that Netmiko supports using kwargs. - IOSDevice
is_activemethod was added to check if device is currently the active in a HA setup. - IOSDevice
redundancy_mode,redundancy_state, andpeer_redundancy_propertiesare now available.
Changed
- AIREOSDevice sending commands with expected prompt is now done via Netmiko's
send_commandmethod. - AIREOSDevice now waits for peer to form after upgrade before failing due to peer redundancy issues.
- AIREOSDevice
file_copymethod offers more granular failures to help identify where failures happen. - AIREOSDevice
peer_redundancy_statemethod now returns None if the unit does not support redundancy. - AIREOSDevice
redundancy_statemethod now returns a string of the state or None if it is not supported. - AIREOSDevice
is_activemethod should be used for functionality previously supported byredundancy_state. - AIREOSDevice
openmethod now allows the default behavior of checking that device is active to be turned off usingconfirm_activearg. - AIREOSDevice
showmethod no longer supports passingexpectarg, as that is implied by passingexpect_string. - ASADevice sending commands with expected prompt is now done via Netmiko's
send_commandmethod. - ASADevice
showmethod no longer supports passingexpectarg, as that is implied by passingexpect_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_commandmethod. - IOSDevice waiting for device to reboot now waits until "show version" command is successful (delayed startup).
- IOSDevice
file_copymethod will attempt md5 validation if copy completes even though network device closes the socket. - IOSDevice
openmethod now defaults to checking that device is active; use theconfirm_activearg to change this. - IOSDevice
showmethod no longer supports passingexpectarg, as that is implied by passingexpect_string.
WLC Support for enabling/disabling WLANs
Added
- AIREOSDevice methods for disabling and enabling WLANs by ID (
disable_wlans,enable_wlans) - AIREOSDevice properties for getting disabled and enabled WLAN IDs (
disabled_wlans,enabled_wlans) - AIREOSDevice property for getting all WLANs (
wlans)
Changed
- AIREOSDevice
install_osmethod now supports disabling and enabling WLANs before and after install respectively.
EOS Netmiko File Transfer
Merge pull request #148 from networktocode/develop Release 0.0.12
Aireos Driver
Added
- Cisco WLC/AireOS Driver
- Poetry
boot_optionsproperty
Changed
- Super calls migrated to Python 3 syntax
- Moved templates package inside of utils package
- Moved converters package inside of utils package
- Moved constants to modules that used them instead of having separate modules
Deprecated
- The
get_boot_optionsmethod; replaced byboot_optionsproperty
Removed
- Support for Python 2
strip_unicodefunction since support is not for Python 3
Fixed
- All Unittests
- IOS
enablemethod failure condition when disabled
Security
Add install method
Updates can be read in new CHANGLOG.md file