A new time traceable flag was added to pmc agent to store the current time traceable status. This flag replaces the utc_offset_traceable flag in the HA clock selection algorithm and status command. Test plan: HA clock selection algorithm PASS: Verify the clock source which time isn't traceable is discarded by the algorithm if ha_gm_timeTraceable is enabled. PASS: Verify the clock source which time is traceable isn't discarded by the algorithm if ha_gm_timeTraceable is enabled. Regression: status command PASS: Verify the response of status command shows the correct GM time traceable. The 'valid sources' command is used to get a list of interfaces which the clock is matching the requirements. The response contains a space separated list of interfaces, or "None" when not a single clock is matching all the requirements. Test plan: valid sources command PASS: Verify that a space separated list of interface is returned when one or more clocks match the requirements. PASS: Verify that the string "None" is returned when not a single clock match the requirements. Now the GM time traceable check is enabled by default as it is an important check for both T-GM and T-BC scenarios. The GM time traceable check is controlled in configuration by using the ha_gm_timeTraceable setting, and it can be disabled using the value 0 (ha_gm_timeTraceable 0). Test plan: default value PASS Verify the check is performed by default. PASS Verify the user can disable the check by configuration. Bonus: Fixed the behavior when none clock is matching the requirements and the active clock source is disabled using the 'disable source <interface>' command. The interface is must be disabled and a new clock source is selected. Test plan: none clock is matching the requirements PASS: Verify that the active source can be disabled and a new one is selected. PASS: Verify that an attempt to disable the last active interface fails and an appopriated message is given as response. PASS: Verify that the interface with higher priority is selected after re-enabling it. PASS: Verify the active clock source doesn't change if another interface is disabled. PASS: Verify the active clock source doesn't change if another interface is re-enabled. Story: 2010723 Task: 48702 Change-Id: I64193575a995e520d36460c0ebb8dd452fa8c2b8 Signed-off-by: Andre Mauricio Zelak <andre.zelak@windriver.com>
54 lines
2.9 KiB
Plaintext
54 lines
2.9 KiB
Plaintext
0001-clock-Reset-state-when-switching-port-with-same-best.patch
|
|
0002-clock-Reset-clock-check-on-best-clock-port-change.patch
|
|
0003-port-Don-t-check-timestamps-from-non-slave-ports.patch
|
|
0004-port-Don-t-renew-raw-transport.patch
|
|
0005-clockcheck-Increase-minimum-interval.patch
|
|
0006-Add-option-to-disable-default-port-selection-in-phc2.patch
|
|
0007-sysoff-Change-sysoff_measure-to-return-errno.patch
|
|
0008-sysoff-Change-log-level-of-ioctl-error-messages.patch
|
|
0009-sysoff-Retry-on-EBUSY-when-probing-supported-ioctls.patch
|
|
0010-phc2sys-Don-t-exit-when-reading-of-PHC-fails-with-EB.patch
|
|
0011-phc2sys-extract-PMC-functionality-into-a-smaller-str.patch
|
|
0012-phc2sys-make-PMC-functions-non-static.patch
|
|
0013-phc2sys-break-out-pmc-code-into-pmc_common.c.patch
|
|
0014-Introduce-the-PMC-agent-module.patch
|
|
0015-pmc_agent-Rename-pmc_node-to-something-more-descript.patch
|
|
0016-pmc_agent-Hide-the-implementation.patch
|
|
0017-Find-a-better-home-for-the-management-TLV-ID-helper-.patch
|
|
0018-Find-a-better-home-for-the-management-TLV-data-helpe.patch
|
|
0019-Introduce-error-codes-for-the-run_pmc-method.patch
|
|
0020-pmc_agent-Convert-the-subscribe-method-into-the-cano.patch
|
|
0021-pmc_agent-Simplify-the-update-method.patch
|
|
0022-pmc_agent-Simplify-logic-in-update-method.patch
|
|
0023-pmc_agent-Remove-bogus-comparison-between-last-updat.patch
|
|
0024-pmc_agent-Perform-time-comparison-using-positive-log.patch
|
|
0025-pmc_agent-Rename-the-update-method-and-attempt-to-do.patch
|
|
0026-phc2sys-Fix-null-pointer-de-reference-in-manual-mode.patch
|
|
0027-pmc_agent-Convert-the-method-that-queries-TAI-UTC-of.patch
|
|
0028-pmc_agent-Convert-the-method-that-queries-the-port-p.patch
|
|
0029-pmc_agent-Generalize-the-method-that-queries-the-loc.patch
|
|
0030-pmc_agent-Simplify-the-method-that-gets-of-the-numbe.patch
|
|
0031-pmc_agent-Let-the-update-method-poll-for-push-events.patch
|
|
0032-phc2sys-Fix-regression-in-the-automatic-mode.patch
|
|
0033-Implement-push-notification-for-TIME_STATUS_NP.patch
|
|
0034-clock-Rename-UDS-variables-to-read-write.patch
|
|
0035-clock-Add-read-only-UDS-port-for-monitoring.patch
|
|
0036-Rename-management-ID-macros.patch
|
|
0037-Enhance-phc2sys-to-accept-multiple-ptp4l-inputs.patch
|
|
0038-Best-source-selection-algorithm.patch
|
|
0039-Select-best-source-clock-after-state-changes.patch
|
|
0040-Forced-lock-a-clock-source-in-configuration.patch
|
|
0041-HA-phc2sys-com-socket.patch
|
|
0042-Commands-enable-lock-and-disable-lock.patch
|
|
0043-Commands-enable-source-and-disable-source.patch
|
|
0044-Stream-type-phc2sys-com-socket.patch
|
|
0045-Functions-starts_with-and-str_at_column.patch
|
|
0046-Robustness-improvements-to-phc2sys-socket.patch
|
|
0047-phc2sys-without-w-option.patch
|
|
0048-HA-domain-number.patch
|
|
0049-GM-clock-accuracy-and-offset-scaled-log-variance.patch
|
|
0050-Select-matching-requirements-clock-if-active-doesn-t.patch
|
|
0051-Time-traceable-flag.patch
|
|
0052-Command-valid-sources.patch
|
|
0053-GM-time-traceable-check-enabled-by-default.patch
|
|
0054-Disable-active-interface-failing.patch |