Skip to content

Releases: networktocode/pyntc

v0.17.0

02 Mar 00:05

Choose a tag to compare

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

Release 0.16.0

30 Dec 21:15

Choose a tag to compare

Added

  • ASADevice is_active, peer_redundancy_state, redundancy_mode, redundancy_state methods

Changed

  • AIREOSDevice convert_filename_to_version function now supports IRCM images

Release 0.15.0

18 Dec 19:00

Choose a tag to compare

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.

Release 0.14.0

25 Nov 23:55
afaa7bf

Choose a tag to compare

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.

WLC Support for enabling/disabling WLANs

30 Oct 19:34
f09caf2

Choose a tag to compare

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_os method now supports disabling and enabling WLANs before and after install respectively.

EOS Netmiko File Transfer

28 Sep 16:49
a32a19b

Choose a tag to compare

Merge pull request #148 from networktocode/develop

Release 0.0.12

Aireos Driver

29 Jul 20:44
4e0ea5c

Choose a tag to compare

Added

  • Cisco WLC/AireOS Driver
  • Poetry
  • boot_options property

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_options method; replaced by boot_options property

Removed

  • Support for Python 2
  • strip_unicode function since support is not for Python 3

Fixed

  • All Unittests
  • IOS enable method failure condition when disabled

Security

Add install method

28 Nov 21:16
7240c57

Choose a tag to compare

Updates can be read in new CHANGLOG.md file