Cole Walker f15ba91c44 Add PTP monitoring parameters support to puppet hieradata
Implement parsing and integration of PTP monitoring parameters into the
puppet configuration system:

- Add _set_ptp_instance_monitoring_parameters() method to parse monitoring
  section parameters from database and merge with default thresholds
- Set default monitoring parameters for ptp4l and phc2sys instances
  (holdover_seconds, offset_threshold_minor_msec, offset_threshold_major_msec)
- Include monitoring_parameters in puppet hieradata for consumption by
  collectd and ptp-notification services
- Add monitoring_parameters to allowed instance fields for config pruning
- Move pruning operation to a dedicated function and run it once after
  config generation

Test plan:
Pass: Verify hieradata generation with and without monitoring parameters
Pass: Verify monitoring parameters are removed from the global instance
parameters and placed under their own dictionary entry
Pass: Verify instance creation and removal at runtime (ptp4l, phc2sys,
ts2phc)

Story: 2011536
Task: 53106

Change-Id: I176dbfe94aad762cf4b3dfd11ee8397142649e88
Signed-off-by: Cole Walker <cole.walker@windriver.com>
2025-12-03 12:15:36 -05:00
2019-04-19 19:52:42 +00:00
2021-08-27 08:39:06 -04:00
2018-05-31 07:35:52 -07:00
2023-07-19 12:18:04 -03:00

config

The starlingx/config repository handles the StarlingX configuration management services.

Its key component is the System Inventory Service (Sysinv), which provides the system command-line interface (CLI)1.

This repository is not intended to be developed standalone, but rather as part of the StarlingX Source System, which is defined by the StarlingX manifest2.

References


  1. https://docs.starlingx.io/cli_ref/system.html↩︎

  2. https://opendev.org/starlingx/manifest.git↩︎

Description
StarlingX System Configuration Management
Readme 106 MiB
Languages
Python 98%
Shell 1.6%
CSS 0.2%