February 2021¶
February 23, 2021¶
Modules |
Version |
---|---|
|
v21.2 |
|
v21.2 |
|
v21.2 |
|
v21.2 |
|
v21.2 |
|
v21.2 |
|
v21.2 |
|
v21.2 |
|
v21.2 |
|
v21.2 |
|
v21.2 |
|
v21.2 |
|
v21.2 |
|
v21.2 |
|
v21.2 |
|
v21.2 |
Upgrade Instructions¶
# DevNet Community
bash$ pip install --upgrade pyats
# Cisco Internal Developers
bash$ pip install --upgrade ats
Feature List¶
Feature |
Docs |
Whats New |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Automatic Genie Testbed Conversion |
When loading a testbed file using pyATS, if Genie libraries are
installed, the testbed will automatically be converted to support
Genie APIs.
$ pyats shell --testbed-file testbed.yaml
Welcome to pyATS Interactive Shell
==================================
Python 3.8.7 (v3.8.7:6503f05dd5, Dec 21 2020, 12:45:15)
[Clang 6.0 (clang-600.0.57)]
>>> from pyats.topology.loader import load
>>> testbed = load('testbed.yaml')
-------------------------------------------------------------------------------
In [1]: type(testbed)
Out[1]: genie.libs.conf.testbed.Testbed
In [2]: dev=testbed.devices.R1
In [3]: type(dev)
Out[3]: genie.libs.conf.device.iosxe.device.Device
|
|||||||||||||
Default Connection Aliases |
Connection aliases now depend on plugin used. The ‘default’ alias
points to ‘cli’ by default. This can be changed via
device.default_connection_alias
|
Other Changes¶
- Kleenex
Enhanced ‘clean_image’ and ‘clean_platform’ arguments to support the callable markup
Fixed clean results upload error msg - previously, it raised exception “Xpresso results upload failed” even if upload succeeded at 3rd retry
- ConnectionManager
Fix to close user connection log handlers on destroy()
- Log
Add argument “–hostname” to logviewer
Raise exception when no result file is found
- Reporter
Fix UnicodeEncodeError when writing XML results file
- Topology
Testbed validation via CLI via normal testbed loader