Merge "Disable PHC sanity check in case of software PTP mode."
This commit is contained in:
commit
bb45d4eb3a
@ -1,2 +1,2 @@
|
|||||||
SRC_DIR="src"
|
SRC_DIR="src"
|
||||||
TIS_PATCH_VER=86
|
TIS_PATCH_VER=87
|
||||||
|
@ -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
|
|
@ -1,5 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Synchronize system clock or PTP hardware clock (PHC)
|
Description=Synchronize system clock or PTP hardware clock (PHC)
|
||||||
|
After=ptp4l.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
@ -82,10 +82,10 @@ delay_filter moving_median
|
|||||||
delay_filter_length 10
|
delay_filter_length 10
|
||||||
egressLatency 0
|
egressLatency 0
|
||||||
ingressLatency 0
|
ingressLatency 0
|
||||||
<%- if @slave_only == true -%>
|
<%- if @slave_only == false and scope['platform::ptp::mode'].downcase == 'hardware' -%>
|
||||||
boundary_clock_jbod 0
|
|
||||||
<%- else -%>
|
|
||||||
boundary_clock_jbod 1
|
boundary_clock_jbod 1
|
||||||
|
<%- else -%>
|
||||||
|
boundary_clock_jbod 0
|
||||||
<%- end -%>
|
<%- end -%>
|
||||||
#
|
#
|
||||||
# Clock description
|
# Clock description
|
||||||
|
@ -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
|
|
@ -1,5 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Precision Time Protocol (PTP) service
|
Description=Precision Time Protocol (PTP) service
|
||||||
|
After=network-online.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
Loading…
x
Reference in New Issue
Block a user