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 VMware NSX for vSphere 6.3.2


NSX is a network virtualization and security platform offered by VMware in its effort towards creating a Software-Defined Data Center. You may download tarballs of NSX controller and NSX for vSphere 6.3.2 hypervisor at https://my.vmware.com/group/vmware/details?downloadGroup=NSXV_632_OSS&productId=417. With the server virtualization offered by vSphere and the network virtualization offered by NSX, VMware virtualizes an entire data center. The NSX controller functions as a control point for the logical switches and overlay transport tunnels. In this recipe, we will learn to use pynsxv (https://github.com/vmware/pynsxv), a Python-based library and CLI tool, to control NSX for vSphere.

Getting ready

First install pynsxv using pip:

$ sudo pip install pynsxv

You may confirm that the installation was successful by executing the following commands:

$ pynsxv -husage: pynsxv [-h] [-i INI] [-v] [-d] {lswitch,dlr,esg,dhcp,lb,dfw,usage} ...PyNSXv Command Line...