-
Bug
-
Resolution: Done
-
Minor
-
None
-
4.20.0
-
Quality / Stability / Reliability
-
False
-
-
None
-
Important
-
No
-
None
-
None
-
CNF RAN Sprint 276
-
1
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
For T-BC Holdover the Cloud Event Proxy help segment for Clock Class needs to be updated to reflect addition of T-BC Clock Class 135 & 165.
Version-Release number of selected component (if applicable):
ptp-operator.v4.20.0-202508140915
How reproducible:
100%
Steps to Reproduce:
1.Contact the cloud event proxy API; oc -n openshift-ptp exec ds/linuxptp-daemon -c cloud-event-proxy -- curl -s localhost:9091/metrics | grep clock_class
Actual results:
# HELP openshift_ptp_clock_class 6 = Locked, 7 = PRC unlocked in-spec, 52/187 = PRC unlocked out-of-spec, 248 = Default, 255 = Slave Only Clock # TYPE openshift_ptp_clock_class gauge openshift_ptp_clock_class{node="helix65.lab.eng.rdu2.redhat.com",process="ptp4l"} 135
Expected results:
# HELP openshift_ptp_clock_class 6 = Locked, 7 = PRC unlocked in-spec, 52/187 = PRC unlocked out-of-spec, 135 = T-BC holdover in-spec, 165 = T-BC holdover out-of-spec, 248 = Default, 255 = Slave Only Clock # TYPE openshift_ptp_clock_class gauge openshift_ptp_clock_class{node="helix65.lab.eng.rdu2.redhat.com",process="ptp4l"} 135
Additional info: