September 2020¶
September 30, 2020¶
Modules |
Versions |
---|---|
|
v20.9.1 |
|
v20.9.1 |
|
v20.9.1 |
|
v20.9.1 |
Upgrade Instructions¶
# DevNet Community
bash$ pip install --upgrade pyats.aetest pyats.kleenex pyats.results pyats.log
# Cisco Internal Developers
bash$ pip install --upgrade ats.aetest ats.kleenex ats.results ats.log
Changes¶
Various fixes for liveview and import paths
September 29, 2020¶
Modules |
Version |
---|---|
|
v20.9 |
|
v20.9 |
|
v20.9 |
|
v20.9 |
|
v20.9 |
|
v20.9 |
|
v20.9 |
|
v20.9 |
|
v20.9 |
|
v20.9 |
|
v20.9 |
|
v20.9 |
|
v20.9 |
|
v20.9 |
|
v20.9 |
|
v20.9 |
Upgrade Instructions¶
# DevNet Community
bash$ pip install --upgrade pyats
# Cisco Internal Developers
bash$ pip install --upgrade ats
Feature List¶
Feature |
Docs |
Whats New |
---|---|---|
Processor Parameters and Result APIs |
Processors now have parameters which can be
passed by adding a correctly named argument to the processor.
Processors support steps by adding a
steps argument. Processors have their own result APIs, which can be accessed
from the
processor argument.from pyats import aetest
def my_processor(section, processor, testbed, steps, param_a):
if not param_a:
processor.failed('param_a is False')
class MyTestcase(aetest.Testcase):
@aetest.processors.post(my_processor)
@aetest.test
def test_method(self):
self.parameters['param_a'] = False
|
Other Changes¶
- Kleenex
Added
-archive_dir
argument in kleenex to generate zip archive file for clean resultsAdded the extended clean yaml to the log archive
Added the cli command ‘pyats clean’ which replaces
kleenex
cli command
- Commands
Changed default behavior of
pyats secret encode
command. - New default is to input password by prompt - plaintext password can be still given via--string
option
- Aetest
Section uid chaining to accurately represent where each test occurs in the hierarchy with
uid.list
- Reporter/Easypy
Generate results file in JSON format instead of YAML format
Plugin summary in results file in addition to regular tests summary