get portgroup information from vcenter api vcenter api get portgroup information vcenter api view distributed switch pyvmomi get vlan id from portgroup https://everythingshouldbevirtual.com/virtualization/python-vsphere-host-networking-info/ pyvmomi get object by id https://github.com/vmware/pyvmomi https://github.com/vmware/pyvmomi-community-samples/blob/master/samples/get_portgroup.py https://github.com/vmware/pyvmomi-community-samples/blob/master/samples/list_vlan_in_portgroups.py The answer: https://github.com/vmware/pyvmomi-community-samples/blob/master/samples/getvnicinfo.py
Category: virtualisation
Recently I was tasked with removing a few attached storage profiles from a number of VDC’s in vCloud Director. The task would have been a long and arduous manual task. Fortunately vCloud Director has a REST API (A flippen good one). The reason I say it is good is that it makes proper used of […]
I’ve been looking at what is available to help manage a virtual environment, that favours open source. It is important to know the difference between a VM, VPS and Container. VM – Full VIrtual Machine, has it’s own kernel. VPS – VPSs always run on the same OS kernel as the host system Container – […]