Skip to content

Commit afaa7bf

Browse files
authored
Release 0.14.0
2 parents f09caf2 + 7fe4fc3 commit afaa7bf

36 files changed

+1838
-440
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Default owner(s) of all files in this repository
2+
* @jmcgill298 @mundruid

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
language: python
3-
3+
if: type IN (pull_request) OR branch IN (main, develop)
44
python:
55
- "3.6"
66
- "3.7"

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,31 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/)
1212
### Fixed
1313
### Security
1414

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

1641
## [0.0.13]
1742
### Added

poetry.lock

Lines changed: 131 additions & 117 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyntc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
except ImportError:
1313
from ConfigParser import SafeConfigParser
1414

15-
__version__ = "0.0.13"
15+
__version__ = "0.0.14"
1616

1717
LIB_PATH_ENV_VAR = "PYNTC_CONF"
1818
LIB_PATH_DEFAULT = "~/.ntc.conf"

0 commit comments

Comments
 (0)