The example codes are written using the VMware official python library pyvmomi