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/003_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.


Part of what Genie provides is a parsing engine and an extensive collection (1200+) of open-source parsers, found here: 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.

Ready to Master Network Automation? Start Your Journey Today!
Our membership provides:
  • 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
  • Live monthly tech sessions
  • Access to tech session library

Join Now ➜
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.