Network programming can be a challenging task. However, with full-featured and well-documented libraries, Python makes it an enjoyable experience. File size: 5.92 GB
Packt – Mastering Python Networking
What you’ll learn
Brush up on the TCP/IP suite and the Python language
Monitor your network with Simple Network Management Protocol (SNMP), Multi Router Traffic Grapher (MRTG), and Cacti
Use Flask to create REpresentational State Transfer (REST) web service for your network
Build Flask-based web-service APIs with Python
Implement network security using Python libraries
Create network topology graphs with Graphviz
Requirements
Basic familiarity with various networking protocols and the Python language will be useful.
Description
Network programming can be a challenging task. However, with full-featured and well-documented libraries, Python makes it an enjoyable experience.This book is an extensive resource that will help you learn everything about employing Python for network programming. You’ll begin with a detailed revision of the Transmission Control Protocol/Internet Protocol (TCP/IP) suite and the Python language. Once you’ve brushed up on the basics, you’ll understand how to use Python libraries to automate network tasks and employ the Ansible framework to achieve your network goals. Next, the book will guide you in using Python for DevOps by employing open source tools to test, secure, and analyze your network. You’ll then build on your knowledge by understanding how to retrieve network information using a polling mechanism and flow-based monitoring. You will also learn how to build customized network web services. In the last module, you’ll use Python for SDN and compare the performance of tools such as OpenFlow, OpenDaylight, and Network Functions Virtualization (NFV). In the concluding chapters, you’ll apply what you’ve learned to construct a migration plan to advance from a legacy to a scalable SDN-based network. By the end of this book, you’ll have developed the skills you need to confidently design high-performance network server apps using Python.
About the Author
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.
Ben Straub has been building software for 15 years ranging from Device drivers, desktop applications, Git to microservices. He specializes in C/C++, C#/.NET, Python, Ruby, Javascript.
Who this course is for:
This book is for network engineers and programmers who want to use Python for networking.
Course content
Expand all 54 lectures03:19:12
–Review of TCP/IP Protocol Suite and Python
45:45
Course Overview
01:54
Lesson Overview
00:52
An Overview of the Internet
07:21
The OSI Model
01:52
Client-Server Model
01:01
Network Protocol Suites
06:55
Python Language Overview
25:16
Lesson Summary
00:34
Test Your Knowledge
10 questions
–Low-Level Network Device Interactions
25:14
Lesson Overview
01:37
The Challenges of the CLI
01:43
Constructing a Virtual Lab
04:03
Python Pexpect Library
10:39
The Python Paramiko Library
05:34
Looking Ahead
01:25
Lesson Summary
00:13
Test Your Knowledge
4 questions
–APIs and Intent-Driven Networking
22:50
Lesson Overview
00:44
Infrastructure as Code
02:35
The Cisco API and ACI
05:17
The Python API for Juniper Networks
06:19
The Arista Python API
07:36
Lesson Summary
00:19
Test Your Knowledge
6 questions
–The Python Automation Framework – Ansible Basics
19:39
Lesson Overview
00:47
A More Declarative Framework
07:24
Get immediately download Packt – Mastering Python Networking
The Advantages of Ansible
01:15
The Ansible Architecture
04:08
Ansible Networking Modules
05:51
Lesson Summary
00:14
Test Your Knowledge
6 questions
–The Python Automation Framework – Beyond Basics
20:18
Lesson Overview
00:52
Ansible Conditionals
03:14
Ansible Loops
01:57
Templates
03:01
Group and Host Variables
01:03
The Ansible Vault
02:58
The Ansible Include and Roles
03:18
Writing Your Own Custom Module
03:37
Lesson Summary
00:18
Test Your Knowledge
4 questions
–Network Security with Python
17:59
Lesson Overview
01:03
The Lab Setup
01:10
Python Scapy
08:42
Access Lists
02:29
The Syslog Search
01:42
Other Tools
02:30
Lesson Summary
00:23
Test Your Knowledge
6 questions
–Network Monitoring with Python – Part 1
16:48
Lesson Overview
00:47
The Lab Setup
00:09
SNMP
06:09
Python for Data Visualization
04:51
Python for Cacti
04:36
Lesson Summary
00:16
Test Your Knowledge
4 questions
–Network Monitoring with Python – Part 2
30:39
Lesson Overview
00:53
Graphviz
07:24
Flow-Based Monitoring
10:37
Elasticsearch (ELK stack)
11:03
Lesson Summary
00:42
Test Your Knowledge
4 questions