[Linuxptp-users] PTP master slewing to other network time
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Dave C. <dav...@un...> - 2013-08-21 10:47:37
|
Hi, I have a group of devices successfully keeping their system clocks synchronized on a local network using ptp4l. The master is left up to the bmc arbitration and as all the devices are basically the same, the chosen master comes down to the device MAC address. I'd like the master time to be 'roughly' UTC, so want to slew/step whoever the current master is to make this happen. There's already a process on each device that gets the current time via NTP or HTTP and so I'd like to make it so that the PTP master accepts times from this process and slews/steps it's clock appropriately. Devices which are currently slaves would simply ignore/discard the attempts to set their time and stay locked to the master. Is there already a mechanism I can use to do this that I've missed, or should I try adding one to ptp4l or possibly phc2sys? Thanks Dave Craig. |