Merge "Disable PHC sanity check in case of software PTP mode."

This commit is contained in:
Zuul 2019-04-15 20:08:26 +00:00 committed by Gerrit Code Review
commit 00c1e712a3
6 changed files with 7 additions and 42 deletions

View File

@ -1,2 +1,2 @@
SRC_DIR="src"
TIS_PATCH_VER=86
TIS_PATCH_VER=87

View File

@ -1,19 +0,0 @@
[process]
process = phc2sys
service = phc2sys
pidfile = /var/run/phc2sys.pid
style = lsb ; ocf or lsb
severity = minor ; minor, major, critical
restarts = 0 ; restart retries before error assertion
interval = 10 ; number of seconds to wait between restarts
debounce = 10 ; number of seconds that a process needs to remain
; running before degrade is removed and retry count
; is cleared.
; These settings will generate a log only without attempting to restart
; pmond will put the process into an ignore state after failure.
startuptime = 180 ; Seconds to wait after process start before starting the debounce monitor
mode = passive ; Monitoring mode: passive (default) or active
; passive: process death monitoring (default: always)
; active : heartbeat monitoring, i.e. request / response messaging
; ignore : do not monitor or stop monitoring

View File

@ -1,5 +1,6 @@
[Unit]
Description=Synchronize system clock or PTP hardware clock (PHC)
After=ptp4l.service
[Service]
Type=simple

View File

@ -82,10 +82,10 @@ delay_filter moving_median
delay_filter_length 10
egressLatency 0
ingressLatency 0
<%- if @slave_only == true -%>
boundary_clock_jbod 0
<%- else -%>
<%- if @slave_only == false and scope['platform::ptp::mode'].downcase == 'hardware' -%>
boundary_clock_jbod 1
<%- else -%>
boundary_clock_jbod 0
<%- end -%>
#
# Clock description

View File

@ -1,19 +0,0 @@
[process]
process = ptp4l
service = ptp4l
pidfile = /var/run/ptp4l.pid
style = lsb ; ocf or lsb
severity = minor ; minor, major, critical
restarts = 0 ; restart retries before error assertion
interval = 10 ; number of seconds to wait between restarts
debounce = 10 ; number of seconds that a process needs to remain
; running before degrade is removed and retry count
; is cleared.
; These settings will generate a log only without attempting to restart
; pmond will put the process into an ignore state after failure.
startuptime = 180 ; Seconds to wait after process start before starting the debounce monitor
mode = passive ; Monitoring mode: passive (default) or active
; passive: process death monitoring (default: always)
; active : heartbeat monitoring, i.e. request / response messaging
; ignore : do not monitor or stop monitoring

View File

@ -1,5 +1,7 @@
[Unit]
Description=Precision Time Protocol (PTP) service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple