Python Network Programming Techniques
Python Network Programming Techniques
Language - English
Updated on Jan, 2023
About the Book
Book description
Become well-versed with network programmability by solving the most commonly encountered problems using Python 3 and open-source packages
Key Features
- Explore different Python packages to automate your infrastructure
- Leverage AWS APIs and the Python library Boto3 to administer your public cloud network efficiently
- Get started with infrastructure automation by enhancing your network programming knowledge
Book Description
Network automation offers a powerful new way of changing your infrastructure network. Gone are the days of manually logging on to different devices to type the same configuration commands over and over again. With this book, you'll find out how you can automate your network infrastructure using Python.
You'll get started on your network automation journey with a hands-on introduction to the network programming basics to complement your infrastructure knowledge. You'll learn how to tackle different aspects of network automation using Python programming and a variety of open source libraries. In the book, you'll learn everything from templating, testing, and deploying your configuration on a device-by-device basis to using high-level REST APIs to manage your cloud-based infrastructure. Finally, you'll see how to automate network security with Cisco’s Firepower APIs.
By the end of this Python network programming book, you'll have not only gained a holistic overview of the different methods to automate the configuration and maintenance of network devices, but also learned how to automate simple to complex networking tasks and overcome common network programming challenges.
What you will learn
- Programmatically connect to network devices using SSH (secure shell) to execute commands
- Create complex configuration templates using Python
- Manage multi-vendor or multi-device environments using network controller APIs or unified interfaces
- Use model-driven programmability to retrieve and change device configurations
- Discover how to automate post modification network infrastructure tests
- Automate your network security using Python and Firepower APIs
Who this book is for
This book is for network engineers who want to make the most of Python to automate their infrastructure. A basic understanding of Python programming and common networking principles is necessary.

eBook Preview
Author Details

Packt Publishing
Founded in 2004 in Birmingham, UK, Packt's mission is to help the world put software to work in new ways, through the delivery of effective learning and information services to IT professionals.
Working towards that vision, we have published over 6,500 books and videos so far, providing IT professionals with the actionable knowledge they need to get the job done - whether that's specific learning on an emerging technology or optimizing key skills in more established tools.
As part of our mission, we have also awarded over $1,000,000 through our Open Source Project Royalty scheme, helping numerous projects become household names along the way.
Our students work
with the Best


































Related eBooks
Annual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now