integ/base
Andre Mauricio Zelak 59b3912596 GM clock accuracy and offset scaled log variance
Include GM clock quality parameters clock accuracy and offset
scaled log variance to the clock selection algorithm. Those
checks together with the clock class can check the remote
clock quality, enhancing T-BC support.

The existing ha_min_local_clockClass, ha_min_clockAccuracy,
ha_min_gm_offsetScaledLogVariance and ha_min_gm_ClockClass were
renamed. Now their names are ha_max* because they represent the
maximum value the clock can present to be considered valid.

The existing ha_timeTraceable and ha_frequencyTraceable were
renamed. Now their names contain gm to explain and show they
correspond to the GM time and frequency traceability.

The ha_min_local_clockClass is now ha_max_local_clockClass, and
Its default value was changed to 255.

The ha_min_clockAccuracy is now ha_max_local_clockAccuracy, its
name now contains the local key to differentiate from the GM
configuration option.

The ha_min_offsetScaledLogVariance is now
ha_max_local_offsetScaledLogVar. Its name now contains the
local key to differentiate from the GM configuration option,
and the word Variace was shortened Var due to the size limit
of the name.

The ha_min_gm_ClockClass is now ha_max_gm_clockClass, and its
default value was changed to 6.

The ha_max_local_clockClass and ha_max_gm_clockClass default values
were changed to make it easier to configure both T-GM and T-BC
scenarios.

The new ha_max_gm_clockAccuracy option is a global setting for the
maximum GM clock accuracy requirement. It ranges from 0x00 to 0xff
and its default is 0xfe.

The new ha_max_gm_offsetScaledLogVar option is a global setting for
the maximum GM offset scaled log variance requirement. It ranges
from 0x0000 to 0xffff and its default is 0xffff.

The status command now includes the GM clock accuracy and offset scaled
log variance values.

Test plan: new GM fields
PASS Verify the clock is discarded because GM clock accuracy is out of
requirement
PASS Verify the clock is discarded because GM offset scaled log
variance is out of the requirement
PASS Verify the status command shows the new fields gm.clockAcc and
gm.offset

Test plan: new default values
PASS Verify the ha_max_gm_ClockClass and ha_max_local_clockClass
default values.

Test plan: renamed fields
PASS Verify the a configuration containing all HA configuration options
is accepted.

Story: 2010723
Task: 48675

Change-Id: I7ed1300a51cbdcaa44d7f350dcdc92e54469a497
Signed-off-by: Andre Mauricio Zelak <andre.zelak@windriver.com>
2023-08-28 12:48:19 -03:00
..
anaconda/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
base-passwd/debian Update debian packages for pkg-versioning 2023-03-15 14:44:32 +00:00
cluster-resource-agents Update resource-agents package ver based on git 2023-02-21 21:19:18 +00:00
dhcp Debian: isc-dhcp: fix CVE-2022-2928 2022-11-23 22:02:39 -05:00
dnsmasq debian: Disable dnsmasq systemd at start 2022-07-14 08:28:35 -04:00
dpkg Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
haproxy haproxy: upgrade to 2.2.9-2+deb11u5 2023-05-29 06:21:54 -04:00
inih/centos Add: PF Baseband Device config application for ACC100 2021-02-11 23:18:51 +00:00
initscripts/centos Worker node slow to become online after power out 2021-07-06 17:18:24 +00:00
libevent Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
libfdt Fix lint errors identified by Zuul pylint job 2023-03-15 12:07:17 +00:00
lighttpd lighttpd: fix CVE-2022-22707 2023-07-20 05:13:24 +00:00
linuxptp GM clock accuracy and offset scaled log variance 2023-08-28 12:48:19 -03:00
lsb/debian debian: Add status method to lsb for centos compatibility 2022-03-22 15:17:27 -04:00
lvm2/debian Debian: fix wrong checksums 2022-08-23 11:56:25 +08:00
ntp/centos ntp: fix CVE-2020-13817 2021-04-01 02:10:52 -04:00
openssh openssh: fix CVE-2018-15473 from source build 2021-01-26 07:50:09 +00:00
pf-bb-config Upgrade pf-bb-config to 22.11 2023-04-19 23:39:09 -07:00
rt-setup/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
setup Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
sudo/centos sudo: fix CVE-2021-3156 2021-03-01 13:20:16 -05:00
synce4l Add synce4l utility 2023-02-03 14:04:02 -05:00
systemd Debian: systemd: fix CVE-2022-3821/CVE-2022-4415 2023-06-29 06:14:34 -04:00
systemd-presets Disable software controller services for storage and worker preset 2023-07-17 15:27:29 +00:00
tzdata/centos CentOS: tzdata: upversion to 2022a 2022-07-12 14:01:21 -04:00
watchdog meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00