StarlingX PTP Notification App
Go to file
Cole Walker adfae0d2a8 Add support for multi-domain phc2sys-ha components
Update the logic in set_utc_offset() to handle the case where ha_phc2sys
is in use and there are multiple ptp4l instances using different domain
numbers.

The process is to check for a user configured ha_domainNumber parameter
in the phc2sys config, if present use that for applicable pmc queries.

If a ha_domainNumber is not defined, check for a global domainNumber in
the phc2sys config and use that.

If neither are specified, use the default domainNumber 0.

Add the 'valid sources' check to ptp-notification v1 for when ha_phc2sys
is in use. Log a warning if ha_phc2sys has no valid sources to select.

Test plan:
Pass: Verify image build and deploy images
Pass: Verify set_utc_offset functionality with ha phc2sys
- Global domainNumber
- Per interface domainNumber
- No domainNumber defined
Pass: Verify set_utc_offset functionality without ha phc2sys
Pass: Verify that v1 ptp-notification logs a warning when ha_phc2sys is
enabled and there are no valid sources.

Story: 2010723
Task: 49010

Signed-off-by: Cole Walker <cole.walker@windriver.com>
Change-Id: Ia8cd15c3711bed45e6d082e322af83f2e4d5cac3
2023-11-02 13:57:44 -04: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 Add support for multi-domain phc2sys-ha components 2023-11-02 13:57:44 -04:00
notificationservice-base-v2 Add support for multi-domain phc2sys-ha components 2023-11-02 13:57:44 -04: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