In this lesson, we will cover:

  • What is pyATS Genie?
  • How to use pyATS Genie to parse our device output.

The scripts and code for this lesson can be found within the Netmiko repo under the directory: examples/parsing/genie.

Genie Overview

Cisco's PyATS/Genie is a framework and set of libraries released by Cisco for performing Networking Test Automation. PyATS is the core, and Genie being the SDK used to perform the necessary tasks via CLI or Python modules.

image2-3

Part of what Genie provides is a parsing engine and an extensive collection (1200+) of open-source parsers, found here: https://pubhub.devnetcloud.com/media/genie-feature-browser/docs/#/parsers. These parsers include various vendors in addition to Cisco, such as Juniper and F5. However, to date, Netmiko only provides support for the Cisco-based parsers.

Members Only Content
Join today and get access to:
  • Full deep-dive course library (inc. Batfish, pyATS, Netmiko)
  • Code repositories inc. full course code, scripts and examples
  • 24x7 Multi-vendor labs (Arista, Cisco, Juniper)
  • Private online community
  • Monthly online meetups

100% Satisfaction Guaranteed!
Cancel your membership at any time.


Join Today
Close You've successfully subscribed to Packet Coders.
Close Success! Your account is fully activated, you now have access to all content.
Close Welcome back! You've successfully signed in.
Close Nearly there! To activate your account, please click the link in the email we just sent you.