ptp-notification-armada-app/notificationservice-base
Cole Walker c23e19a1ce Update logic for checking HA Phc2sys sources
Ensure that ptp-notification is correctly transitioning state when HA
phc2sys is in use and there are no valid source interfaces.

For v2 API, this means that the os_clock status state is changed when
all valid phc2sys sources are lost/returned.

For v1 API, support the option to log a warning when phc2sys HA has no
valid sources, but do not change state, as phc2sys sync is not
considered for the sync state in the v1 API.

Test plan:
PASS: Build and deploy images
PASS: Verify that v2 API state changes when HA phc2sys loses valid
sources
PASS: Verify that v2 API returns to LOCKED when valid sources return
PASS: Verify that v1 API can log a warning when no valid HA phc2sys
sources are present

Story: 2010723
Task: 49205

Signed-off-by: Cole Walker <cole.walker@windriver.com>
Change-Id: I43c499d62f352147994d134d867f042186cd8e35
2023-12-05 15:16:03 -05:00
..
centos Standardize app configs 2023-02-20 11:31:18 -03:00
debian Images of ptp-notification containers for Debian 2022-07-19 15:01:27 -03:00
docker/ptptrackingfunction Update logic for checking HA Phc2sys sources 2023-12-05 15:16:03 -05:00