The set_vm_ptp_privilege.py script is used to identify SR-IOV enabled adapters in the ESXi host and to enable PTP privileges allowing the VF connected to the Local Master VM to control and adjust the adapter hardware clock.
The script is run from a remote Linux server and will connect with the Local Master VM via the CIM Provider installed on the ESXi host.
The following (minimum version) Python components must be installed on the remote Linux server:
- Python 2.7.5
- Python SDK for VMware: pyvmomi
- pywbem 0.12