Categories
pyvmomi virtualisation

How get Vlan from Portgroup Information from the Vcenter API?

How do you get portgroup information from the vcenter api? It is more of an NSXv construct and it is difficult to get the portgroup information from the vcenter api – even though you need it to create and attach logical switches and distributed switches. You can use pyvmomi to get the vlan id from […]