Book Image

Python Network Programming

By : Abhishek Ratan, Eric Chou, Pradeeban Kathiravelu, Dr. M. O. Faruque Sarker
Book Image

Python Network Programming

By: Abhishek Ratan, Eric Chou, Pradeeban Kathiravelu, Dr. M. O. Faruque Sarker

Overview of this book

This Learning Path highlights major aspects of Python network programming such as writing simple networking clients, creating and deploying SDN and NFV systems, and extending your network with Mininet. You’ll also learn how to automate legacy and the latest network devices. As you progress through the chapters, you’ll use Python for DevOps and open source tools to test, secure, and analyze your network. Toward the end, you'll develop client-side applications, such as web API clients, email clients, SSH, and FTP, using socket programming. By the end of this Learning Path, you will have learned how to analyze a network's security vulnerabilities using advanced network packet capture and analysis techniques. This Learning Path includes content from the following Packt products: • Practical Network Automation by Abhishek Ratan • Mastering Python Networking by Eric Chou • Python Network Programming Cookbook, Second Edition by Pradeeban Kathiravelu, Dr. M. O. Faruque Sarker
Table of Contents (30 chapters)
Title Page
Copyright
About Packt
Contributors
Preface
Index

Configuring Red PNDA


PNDA is an open source platform for network data analytics. It is horizontally scalable and complex to deploy on a single computer. To be able to test smaller scale applications in the developer computers, a smaller downsized version of PNDA known as Red PNDA (https://github.com/pndaproject/red-pnda) is also available. In this recipe, we will configure Red PNDA, the minimal version of PNDA in a laptop.

Getting ready

You need to have a minimum of 4GB memory, 2 VCPUs, and 8GB hard disk to install Red PNDA. It requires up to an hour to configure and install, this also depends on how fast your internet connection is.

How to do it...

You may configure Red PNDA by following the succeeding commands. First clone the project code base:

$ git clone https://github.com/pndaproject/red-pnda.git$ cd red-pnda

Build it as a super user.

$ sudo su$ bash scripts/install-dependencies.sh wlo1

In the preceding command, replace wlo1 with one of your active network interfaces. You may find it by using...