Reader small image

You're reading from  Mastering Python Networking - Fourth Edition

Product typeBook
Published inJan 2023
Reading LevelIntermediate
PublisherPackt
ISBN-139781803234618
Edition4th Edition
Languages
Concepts
Right arrow
Author (1)
Eric Chou
Eric Chou
author image
Eric Chou

Eric Chou is a seasoned technologist with over 20 years of experience. He has worked on some of the largest networks in the industry while working at Amazon, Azure, and other Fortune 500 companies. Eric is passionate about network automation, Python, DevOps, and helping companies build better security postures. In addition to being the author of Mastering Python Networking (Packt), he is the author or co-author of other top-selling books and highly-rated online classes. Eric is the primary inventor or co-inventor for three U.S. patents in IP telephony and networking. He shares his deep interest in technology through his books, classes, blog, and contributes to some of the popular Python open source projects.
Read more about Eric Chou

Right arrow

pyATS and Genie

pyATS (https://developer.cisco.com/pyats/) is an end-to-end testing ecosystem originally developed by Cisco and made available to the public in late 2017. The pyATS library was formerly known as Genie; they will often be referred to in the same context. Because of its roots, the framework is very focused on network testing.

pyATS, and the pyATS library (also known as Genie), was the winner of the 2018 Cisco Pioneer Award. We should all applaud Cisco for making the framework open source and available to the public. Good job, Cisco DevNet!

The framework is available on PyPI:

$ pip install pyats

To get started, we can look at some of the example scripts on the GitHub repository, https://github.com/CiscoDevNet/pyats-sample-scripts. The tests start with creating a testbed file in YAML format. We will create a simple chapter16_pyats_testbed_1.yml testbed file for our lax-edge-r1-edg-r1 device. The file should look similar to the Ansible inventory file that...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering Python Networking - Fourth Edition
Published in: Jan 2023Publisher: PacktISBN-13: 9781803234618

Author (1)

author image
Eric Chou

Eric Chou is a seasoned technologist with over 20 years of experience. He has worked on some of the largest networks in the industry while working at Amazon, Azure, and other Fortune 500 companies. Eric is passionate about network automation, Python, DevOps, and helping companies build better security postures. In addition to being the author of Mastering Python Networking (Packt), he is the author or co-author of other top-selling books and highly-rated online classes. Eric is the primary inventor or co-inventor for three U.S. patents in IP telephony and networking. He shares his deep interest in technology through his books, classes, blog, and contributes to some of the popular Python open source projects.
Read more about Eric Chou