StarlingX PTP Notification App
Go to file
Cole Walker 4e21f7115b Update notificationservice-base-v1 startup script to handle upgrades
Updated the logic in ptptracking_start.py to handle a case where the
application is upgraded but helm overrides are not present.

If helm overrides are present, there is no change in behaviour.
If helm overrides are absent, attempt to locate ptp4l and phc2sys
configs in known locations and start with those.
    Print log messages indicating that the configs were auto detected
    and that helm overrides can be set if auto-detection is incorrect or
    unsuccessful.

Bonus fix: corrected the tox path used to auto detect unit tests, as
this was missed when moving from notificationservice-base to
notificationservice-base-v2

Test-plan:
PASS: Build and deploy application tarball
PASS: Pods start correctly when overrides are present and when they are
absent

Story: 2010538
Task: 47740

Signed-off-by: Cole Walker <cole.walker@windriver.com>
Change-Id: I25df407effbffc03e444573233058f3d3180e706
2023-03-28 13:55:15 -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 Use new get_rpc_client API from oslo.messaging 2023-03-20 17:47:02 -03:00
notificationservice-base-v2 Disable PTP v1 API in V2 server 2023-03-23 19:43:40 -03:00
python3-k8sapp-ptp-notification Remove armada 2023-03-10 17:10:54 -03:00
stx-ptp-notification-helm Update notificationservice-base-v1 startup script to handle upgrades 2023-03-28 13:55:15 -04: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 Standardize app configs 2023-02-20 11:31:18 -03: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