[PTP] No longer consider clockClass 7 and 135 as locked
PTP-notification was treating clockClass values 7 and 135 as indicators
of a locked status, which is incorrect as per ITU-T G.8275.1. This was
resulting in ptp-notification delivering locked status to clients when
it should instead be transitioning to holdover/freerun.
Removed clockClass 7 and 135 from the list of valid locked clockClasses.
PTP-notification is now able to properly transition states when these
classes are observed.
This cherry-pick has been ported to r/stx6.0 which required altering the
file paths from the original commit to fit the structure on this branch.
Test plan:
PASS: Build and deploy image
PASS: Verify correct state transitions when clockClass 6, 7, 135 are
observed
Reviewed: https:/ /review. opendev. org/c/starlingx /ptp-notificati on-armada- app/+/862995 /opendev. org/starlingx/ ptp-notificatio n-armada- app/commit/ b526c992f5e8e4e 2317311ddc2ee17 7c3019085a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: r/stx.6.0
commit b526c992f5e8e4e 2317311ddc2ee17 7c3019085a
Author: Cole Walker <email address hidden>
Date: Fri Oct 28 15:29:36 2022 -0400
[PTP] No longer consider clockClass 7 and 135 as locked
PTP- notification was treating clockClass values 7 and 135 as indicators
of a locked status, which is incorrect as per ITU-T G.8275.1. This was
resulting in ptp-notification delivering locked status to clients when
it should instead be transitioning to holdover/freerun.
Removed clockClass 7 and 135 from the list of valid locked clockClasses. notification is now able to properly transition states when these
PTP-
classes are observed.
This cherry-pick has been ported to r/stx6.0 which required altering the
file paths from the original commit to fit the structure on this branch.
Test plan:
PASS: Build and deploy image
PASS: Verify correct state transitions when clockClass 6, 7, 135 are
observed
Partial-Bug: 1995014
Signed-off-by: Cole Walker <email address hidden> 5f09e19a0d11f2c 71e077c2587 f02e1f9b62bf3a0 0a87141a57)
Change-Id: If68df991c3d655
(cherry picked from commit b50b361d9fd3d02