August 2020¶
August 25, 2020¶
Modules |
Version |
---|---|
|
v20.8 |
|
v20.8 |
|
v20.8 |
|
v20.8 |
|
v20.8 |
|
v20.8 |
|
v20.8 |
|
v20.8 |
|
v20.8 |
|
v20.8 |
|
v20.8 |
|
v20.8 |
|
v20.8 |
|
v20.8 |
|
v20.8 |
|
v20.8 |
Upgrade Instructions¶
# DevNet Community
bash$ pip install --upgrade pyats
# Cisco Internal Developers
bash$ pip install --upgrade ats
Feature List¶
Feature |
Docs |
Whats New |
---|---|---|
Programmatic Testbed Validation |
The same functionality from the command
pyats validate testbed can be accessed from an importable function within Python.
from pyats.topology.utils import validate_testbed
testbed = {...}
problems = validate_testbed(testbed)
if problems['warnings']:
log.warning('Warnings generated')
for warn in problems['warnings']:
log.warning(warn)
if problems['exceptions']:
log.error('Failed to validate testbed')
for exc in problems['exceptions']:
log.error(exc)
|
|
Processor Reporting |
Processor reporting can now be defined within the
pyats.conf file. This is replacing the
aereport.processors option. Processors that have reporting enabledwill appear with other Test Sections and Steps in the Log Viewer.
[aetest]
processors.report = True
|
Other Changes¶
- Logviewer
Added colorful icons to each section indicating the section type
- Topology
Updated topology schema: Added chassis_type under device, and connections, connections_arguments under connections/defaults to support multiple unicon connections.
Allow credentials to be pickled/depickled.
- Connections
Closed hanging connection log files after connection destroy or disconnect
- Reporter/Utils
Fix writing UIDs as an unhashable type in the results YAML.
- Kleenex
Simplified logging when clean stage fails