January 2019
Beginner to intermediate
776 pages
19h 58m
English
PyNSXv is a Python project to configure and control NSX based Software-Defined Data Centers. First configure nsx.ini to point to the correct values for the parameters:
[nsxv]
nsx_manager = <nsx_manager_IP>
nsx_username = admin
nsx_password = <nsx_manager_password>
[vcenter]
vcenter = <VC_IP_or_Hostname>
vcenter_user = administrator@domain.local
vcenter_passwd = <vc_password>
[defaults]
transport_zone = <transport_zone_name>
datacenter_name = <vcenter datacenter name>
edge_datastore = <datastore name to deploy edges in>
edge_cluster = <vcenter cluster for edge gateways>
Then pynsxv can offer a global view of the data center network to configure and control it as shown by the following output:
$ pynsxv lswitch list +---------------------+----------------+ ...
Read now
Unlock full access