This is the code repository for Mastering Python Networking - Second Edition, published by Packt.
Your one-stop solution to using Python for network automation, DevOps, and Test-Driven Development
Being able to automate and increase network change velocity has become critical to many businesses. Networks in your infrastructure is at the foundation of how your application can be deployed, maintained, and ultimately service your customer. Python is the ideal language for network engineer to start tapping into tools that were previously only available to systems engineers and application developers. It will help you build on your existing network knowledge to expand into the world of programmability.
This book covers the following exciting features:
- Implement automation techniques by integrating Python with Cisco, Juniper, and Arista eAPI
- Integrate Ansible 2.5 using Python to control Cisco, Juniper, and Arista networks
- Understand how you can use Python to secure to entire network
- Leverage the existing frameworks to construct high level API ourselves to interact with in-house application developers
- Connect your network in a hybrid mode with Direct Connect, and monitor the network with CloudWatch and Flowlog
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter01.
The code will look like the following:
# This is a comment
print("hello world")
Following is what you need for this book: Mastering Python Networking is for network engineers and programmers who want to use Python for networking. Basic familiarity with Python programming and networking-related concepts such as Transmission Control Protocol/Internet Protocol (TCP/IP) will be useful.
With the following software and hardware list you can run all code files present in the book (Chapter 1-13).
Chapter | Software required | OS required |
---|---|---|
1-13 | Ubuntu 16.04 or other Linux Distribution, Python 3.5+ | Linux |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
-
Network Analysis using Wireshark 2 Cookbook - Second Edition [Packt] [Amazon]
-
Python Network Programming Cookbook - Second Edition [Packt] [Amazon]
Eric Chou is a seasoned technologist with over 18 years of industry experience. He has worked on and helped managed some of the largest networks in the industry while working at Amazon AWS, Microsoft Azure, and other companies. Eric is passionate about network automation, Python, and helping companies build better security postures. Eric is the author of several books and online classes on networking with Python and network security. He is the proud inventor of two patents in IP telephony. Eric shares his deep interest in technology through his books, classes, and his blog, and contributes to some of the popular Python open source projects.
Click here if you have any feedback or suggestions.