pyATS Release Highlights 21.2
pyATS core infrastructure
- Topology
- Testbed validation via CLI via normal testbed loader
- Testbed loader will convert testbed if genie is installed
- Connection alias depends on the plugin
- 'default' alias points to 'cli' by default
- Default connection alias can be changed via device.default_connection_alias
- Reporter
- Fix UnicodeEncodeError when writing XML results file
- Logs
- Add argument "--hostname" to logviewer
- Raise exception when no result file was found
- ConenctionManager
- Fix to close user connection log handlers on destroy()
- Kleenex
- Fixed clean results upload error msg. Previously, it raised exception "Xpresso results upload failed" even if upload succeeded at 3rd retry.
- Enhanced 'clean_image' and 'clean_platform' arguments to support the callable markup
Genie
- 34 new IOSXE, IOS, NXOS, IOSXR and Junos parsers with a grand total of 2822 parsers
- 51 new apis to use on your devices. Grand total of 1224 APIs
Blitz
- Executing loop iterations in parallel
- Saved variables are now can be used in testscript level
- Fully customizable step log messages
- Enhancement on running conditions
pyATS Health Check
- Added decode feature to API get_platform_core for NXOS
- Added APIs to check traceback/core for IOSXR
- Added Health traceback/core examples for both NXOS and IOSXR to pyATS Health Check example repository
Unicon
- Pluginmanager
- Added warning message if plugin class is replaced with another class
- Hostname learning
- Passive hostname learning is enabled by default
- Statemachine
- Fix bug in detect_state method if last match is empty
- Dialogs
- Fix bug in dialog processing related to timeout statement
Unicon Plugins
[Generic]
- Add syslog message handler to connect, execute and configure services
- Added append_error_pattern argument
- Added post credential action
- Updated configure service - refactor config lock implementation
[IOSXE/CAT9K]
- Support rommon() and reload() services
[IOSXE]
- Updated config prompt pattern to include "cloud"
[IOSXE/CSR1000V]
- Use IOSXE config prompt pattern
[Aireos]
- Add ERROR_PATTERN for r'WLAN Identifier is invalid' and r'^Request failed'
- Changed ERROR_PATTERN '^(%s*)?Error' to '^(%s*)?(Error|ERROR)' so it is case insensitive
- Add ERROR_PATTERN for ^[Rr]equest [Ff]ailed and r'^(.*?) already in use'
[Junos]
- Update configure service, allow commit_cmd override
[IOSXR/Moonshine]
- Updated shell prompt pattern
[NXOS/ACI]
- attach_console service for nxos/aci plugin
- Inherit services from NXOS plugin
[NXOS plugin]
- Add dialog to handle commit confirm message
- Use 'commit' as default commit command for configure_dual service
setup.py
- Update version check to allow users to build local versions
Note:
Testbed loader will convert testbed if genie is installed. This coverts the testbed objects to 'Genie' type objects providing enhanced functionality like the 'device.api'.
The connection alias depends on the plugin:
- 'cli' for Unicon
- 'rest' for rest.connector
- 'netconf' for yang.connector
- 'ncdiff' for yang.ncdiff
Package Changelogs
Unicon Changelog | pyATS Changelog | Genie Changelog