Make some ptp-notification parameters configurable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Caio Bruchert |
Bug Description
Brief Description
-----------------
To allow more flexibility to the user, The following PTP parameters
needs to be exposed to Helm Charts overrides configuration:
ptp-notificatio
- ptp4lClockClass
ptp-notificatio
- ptp4lClockClass
- ptp4lUtcOffset
- phc2sysToleranceLow
- phc2sysToleranc
Severity
--------
Major
Steps to Reproduce
------------------
NA
Expected Behavior
------------------
Allow the listed parameters values to be configurable
Actual Behavior
----------------
The listed parameters values are hard coded
Reproducibility
---------------
Reproducible
System Configuration
-------
PTP
Branch/Pull Time/Commit
-------
NA
Last Pass
---------
NA
Timestamp/Logs
--------------
NA
Test Activity
-------------
NA
Workaround
----------
NA
Changed in starlingx: | |
assignee: | nobody → Caio Bruchert (cbrucher) |
Changed in starlingx: | |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.networking |
Reviewed: https:/ /review. opendev. org/c/starlingx /ptp-notificati on-armada- app/+/893103 /opendev. org/starlingx/ ptp-notificatio n-armada- app/commit/ 63ba400fcd82fca 0cfd616ced483ba d95511230e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 63ba400fcd82fca 0cfd616ced483ba d95511230e
Author: Caio Bruchert <email address hidden>
Date: Fri Aug 25 15:51:10 2023 -0300
Make ptp-notification parameters configurable
To allow more flexibility to the user, The following PTP parameters
are being exposed to Helm Charts overrides configuration:
ptp- notification- v1: LockedList
- ptp4lClockClass
ptp- notification- v2: LockedList eThreshold
- ptp4lClockClass
- phc2sysToleranc
Test Plan: LockedList with the default,
non- default and invalid lists LockedList with the default,
non- default and invalid lists eThreshold with commandline option eThreshold with config file
PASS: Build containers and helm charts
PASS: Deploy ptp-notification
PASS: v1 api - test ptp4lClockClass
PASS: v2 api - test ptp4lClockClass
PASS: v2 api - test phc2sysToleranc
PASS: v2 api - test phc2sysToleranc
Closes-bug: 2033539
Change-Id: I7dc915d99a91ff 405c4cca4f1e1c1 bf3a3559a4e
Signed-off-by: Caio Bruchert <email address hidden>