StarlingX PTP Notification App
Go to file
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
api-ref/source Use all-caps state in O-RAN timing notification 2023-02-10 14:55:46 -03:00
doc Fix tox-docs failing sphinx 2022-05-31 14:33:17 +00:00
locationservice-base Use new get_rpc_client API from oslo.messaging 2023-03-20 17:47:02 -03:00
notificationclient-base Disable PTP v1 API in V2 server 2023-03-23 19:43:40 -03:00
notificationservice-base Update logic for checking HA Phc2sys sources 2023-12-05 15:16:03 -05:00
notificationservice-base-v2 Update logic for checking HA Phc2sys sources 2023-12-05 15:16:03 -05:00
python3-k8sapp-ptp-notification Remove unit test class HelmOperatorTestSuiteMixin 2023-09-07 09:11:28 -03:00
stx-ptp-notification-helm [PTP] Update image tags in helm charts 2023-09-27 18:06:32 +00:00
.gitignore api-ref html builds 2021-03-11 13:11:54 -05:00
.gitreview Added .gitreview 2021-01-19 18:53:24 +00:00
.zuul.yaml Fix github mirroring for this repo 2023-04-28 12:38:53 -04:00
centos_stable_docker_images.inc Fix centos image build failure 2023-01-31 16:09:40 -05:00
CONTRIBUTING.rst Added armada manifest and required build files 2021-02-03 17:41:00 -05:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:12:32 -04:00
debian_iso_image.inc ptp-notification-armada-app: update debian_iso_image.inc 2022-11-23 11:24:11 +08:00
debian_pkg_dirs Standardize app configs 2023-02-20 11:31:18 -03:00
debian_stable_docker_images.inc Build Debian container image for notificationservice-base-v1-api 2023-01-30 15:05:15 +00:00
HACKING.rst Added armada manifest and required build files 2021-02-03 17:41:00 -05:00
requirements.txt [PTP] Reduce cpu usage and correct holdover time 2022-10-06 19:27:04 +00:00
test-requirements.txt Add CguHandler, DmesgWatcher, GnssMonitor classes 2022-06-23 17:08:37 -04:00
tox.ini Update notificationservice-base-v1 startup script to handle upgrades 2023-03-28 13:55:15 -04:00