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...