Python Network Programming Techniques - Marcel Neidinger

Python Network Programming Techniques

50 real-world recipes to automate infrastructure networks and overcome networking challenges with Python
Buch | Softcover
340 Seiten
2021
Packt Publishing Limited (Verlag)
978-1-83864-663-9 (ISBN)
44,85 inkl. MwSt
Leverage Python 3 to begin your infrastructure automation journey and become well-versed with network automation. With real-world scenarios and hands-on examples, this book will teach you how to use Python to automate simple to complex infrastructures with ease.
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 DescriptionNetwork 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 forThis 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.

Marcel Neidinger started to program at the age of 10 and currently works as an API and programmability lead for the EMEAR Systems Engineering organization at Cisco Systems. Specifically, he works with customers and partners to build custom solutions using programmability and APIs. Besides having a bachelor's degree in computer science, he is also a Cisco Certified DevNet Associate as well as a Cisco Certified DevNet Specialist for enterprise network automation. You can find him on Twitter at squ4rks and on GitHub at squ4rks.

Table of Contents

A Primer on Python 3
Connecting to Network Devices via SSH Using Paramiko
Building Configuration Templates Using Jinja2
Configuring Network Devices Using Netmiko
Model-Driven Programmability with NETCONF and ncclient
Automating Complex Multi-Vendor Networks with NAPALM
Automating Your Network Tests and Deployments with pyATS and Genie
Configuring Devices Using RESTCONF and requests
Consuming Controllers and High-Level Networking APIs with requests
Incorporating Your Python Scripts into an Existing Workflow by Writing Custom Ansible Modules
Automating AWS Cloud Networking Infrastructure Using the AWS Python SDK
Automating Your Network Security Using Python and the Firepower APIs

Erscheinungsdatum
Verlagsort Birmingham
Sprache englisch
Maße 75 x 93 mm
Themenwelt Informatik Netzwerke Sicherheit / Firewall
ISBN-10 1-83864-663-9 / 1838646639
ISBN-13 978-1-83864-663-9 / 9781838646639
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das Lehrbuch für Konzepte, Prinzipien, Mechanismen, Architekturen und …

von Norbert Pohlmann

Buch | Softcover (2022)
Springer Vieweg (Verlag)
34,99
Management der Informationssicherheit und Vorbereitung auf die …

von Michael Brenner; Nils gentschen Felde; Wolfgang Hommel

Buch (2024)
Carl Hanser (Verlag)
69,99