Use sfptpd to synchronize clocks
Check that sfptpd can be used to synchronize clocks across network.
Scenarios: X3-PTP012.
Find out PTP device associated with the IUT interface, check that it can be opened to be sure that PTP is supported.
Compute sum of statistics from 'ethtool -S' output having 'ptp_' prefix.
Disable NTP daemon on IUT and Tester.
Start sfptpd on IUT and Tester. On IUT it is configured to be a slave synchronizing time with master on Tester.
Wait until both adapter clock and system clock are reported to be in-sync by sfptpd on IUT.
Again compute sum of statistics from 'ethtool -S' output having 'ptp_' prefix. Check that after running sfptpd this sum increased.
Yurij Plotnikov Yurij.Plotnikov@arknetworks.am
Parameters:
env |
Testing environment: |
master_cfg |
Configuration file for sfptpd as a PTP master |
slave_cfg |
Configuration file for sfptpd as a PTP slave |