Enable VM PTP Privileges

Enhanced PTP User Guide (UG1602)

Document ID
UG1602
Release Date
2023-04-07
Revision
1.1 English

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
Note: The Local Master VM must be in a ‘power ON’ state.
Note: It is only necessary to run the Python script to the Local Master Clock VM.