/Python-Networking-Cookbook

Python Network Programming Techniques, published by Packt

Primary LanguagePythonMIT LicenseMIT

Python Network Programming Techniques

Python Network Programming Techniques

This is the code repository for Python Network Programming Techniques, published by Packt.

Practical recipes for secure network infrastructure, global application delivery, and accessible connectivity in Azure

What is this book about?

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.

This book covers the following exciting features:

  • Get to grips with building Azure networking services
  • Understand how to create and work on hybrid connections
  • Configure and manage Azure networking services
  • Explore ways to design high availability network solutions in Azure
  • Discover how to monitor and troubleshoot Azure network resources
  • Work with different methods to connect local networks to Azure virtual networks

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

import requests
from requests.auth import HTTPBasicAuth
auth = HTTPBasicAuth("root", "test")

Following is what you need for this book: This cookbook is for cloud architects, cloud solution providers, and anyone who deals with networking on Azure. A basic understanding of Azure will help you to make the most of this book.

With the following software and hardware list you can run all code files present in the book (Chapter 1-12).

Software and Hardware List

Chapter Software required OS required
1-12 Python3 Windows, Mac OS X, and Linux (Any)
1-12 Ansible Windows, Mac OS X, and Linux (Any)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Code in Action

Click on following link to see the Code in Action:

Youtube link

Related products

Errata

  • Page 40 (Step 7): shell.send(cmd + "\n") should be channel.send(cmd + "\n")
  • Page 40 (Step 7): out = shell.recv(1024) should be out = channel.recv(1024)

Get to Know the Author

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.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781838646639