oktetlabs / test-environment

OKTET Labs Test Environment
Other
5 stars 9 forks source link

agents/unix: add config nodes for sensor names and values #7

Closed okt-borissh closed 1 year ago

okt-borissh commented 1 year ago

Add sensors (chip name, feature name), sensor values, minimum and maximum observed values, and threshold values to configuration tree. The sensor names and values for a test agent are retrieved using libsensors library. 'min' and 'max' nodes contain minimum/maximum observed sensor value and are updated while getting 'value'. Add tapi functions to get sensor value, min, max, threshold from configurator.

Signed-off-by: Boris Shleyfman bshleyfman@oktet.co.il