This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

published

DevNet Workshop (DEVWKS-2601)- pyATS Genie Ops and Parsers


Table of Contents



pyATS - Python Automated Test Systems is a Python3 based test automation infrastructure.
It is developed as the next-generation Cisco mainstream automation infrastructure, is compatible to existing tooling &
infrastructure, and is officially endorsed by Cisco executive team.

The Lab

The files within this Github repository should be cloned to the local machine.

The objective of this lab is to:

  • Become familiar with connecting to a testbed
  • Leverage the Genie Ops libraries for retrieving operational data
  • Explore the models and parsers leveraged by Genie Ops
  • To become familiar with the Genie Parsergen library
  • To start the journey on creating your own libraries

The Testbed

So as to provide the best experience in this lab the Genie Unicon Playback feature is being used. Playback allows for the interaction with a device without the device actually existing. If you wish to run the lab against a real or virtual device, then please modify the Topology file.

Pre-requisites

Users of this lab should have some familiarity with Python and basic concepts of
object-oriented programming.

To start please proceed to Step1

Authors & Maintainers

Smart people responsible for the creation and maintenance of this project:

Credits

The code snippets and lab could not have been created without the excellent support and guidance from the Cisco ASG Genie Development team,
2018 Pioneer Award Winners.
In particular Siming Yuan, Jean-Benoit Aubin and Karim Mohamed. Could not have done without
support of Kevin Corbin either, and lastly, but by no means least, Hank Preston for the
Box Building and Vagrant plagiarism.

Further information on pyATS can be found on DevNet

License

This project is licensed to you under the terms of the Cisco Sample
Code License
.

View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.