pyATS | Genie Release Note

v21.9| Website | Contact Us

pyATS Release Highlights

pyATS Changelog | Genie Changelog

pyATS Clean is getting a fall cleaning with brand new features such as:

  • Clean stages have been converted from a function into a class which provides the following benefits:
    • Class inheritance - Prevents duplicated code, duplicated work, and duplicated bugs due to copy and pasting existing code to make a small modification.
    • Tests - With class based stages, each step in the stage is it's own method. This provides the ability to mock up and test small steps in a stage to get complete code coverage. In turn, better unittests mean less bugs
    • Execute clean stages within scripts - Due to the redesign it is possible to execute clean stages within your scripts (Highly asked for)! In the near future we will release an easy-to-use method for calling these stages (similar to device.api).
    • 100% backwards compatible - From a user point of view, the clean yaml file and usage is still the exact same. Nothing changes from a user point of view as we do not want to break anyone.
  • Additional support for:
    • 9200, 9300, 9500, 9800 for IOSXE
    • N3K for NXOS
    • viptela(sd-wan controllers)
  • Now also supporting classic IOS
  • Added pyATS Clean support for SD-WAN Controllers (vManage/vBond/vSmart)
    • iosxe/sdwan (cedge devices)
  • Added pyATS Clean support for IOSXE/SDWAN cEdge devices
  • Soon to come:
    • ​​​​​​​Method to easily execute clean stages within a script​​​​​​​

    • New developer documentation

    • Additional platform support

pyATS Health can now execute each health check in the background of the executing script

  • Allow to execute check periodically during script execution, not only at the beginning or the end of a section/testcase.
  • Result rolled up to update section/testcase result
  • Speed up test execution while still collecting all the required data

API generator

  • Simplify how to write unittest for Genie APIS
  • Automatically create the unittest - takes seconds

New Parsers and APIs

  • ​​​​​​​Added 304 new parsers and 149 new APIs

​​​​​​​

Dependency/Impact

  • ShowL2routeEvpnImetDetail and ShowL2routeEvpnMacIpDetail contain changes to the schema that may not be backwards compatible.

  • ShowL2vpnEvpnMac, ShowL2vpnEvpnMacIp, ShowL2vpnEvpnMacDetail, ShowL2vpnEvpnMacIpDetail, and ShowL2fibPathListId are not backwards compatible due to schema changes.

What's Next?