Added the ability to obtain the Sensor Data Record by the Record ID.
Added the ability to obtain the Sensor Data Record by the Record ID.
n_abramova/ipmitool:bugfix/get-sdr-sensor-info-with-number-id into master
Added the ability to obtain the Sensor Data Record by the Record ID.
Added the ability to obtain the Sensor Data Record by the Record ID. Tested: ipmitool sdr get 0x3 4 Sensor ID : P1V8 PCH (0x3) Entity ID : 0.1 (Unspecified) Sensor Type (Threshold) : Voltage (0x02) Sensor Reading : 0.329 (+/- 0) Volts Status : Lower Critical Positive Hysteresis : Unspecified Negative Hysteresis : Unspecified Minimum sensor range : Unspecified Maximum sensor range : Unspecified Event Message Control : Per-threshold Readable Thresholds : No Thresholds Settable Thresholds : No Thresholds Threshold Read Mask : lcr lnc unc ucr Assertion Events : lnc- lcr- Deassertion Events : unc+ ucr+ Event Enable : Event Messages Disabled Assertions Enabled : lnc- lcr- unc+ ucr+ Deassertions Enabled : lnc+ lcr+ unc- ucr- Sensor ID : P3V3 (0x4) Entity ID : 0.1 (Unspecified) Sensor Type (Threshold) : Voltage (0x02) Sensor Reading : 0.636 (+/- 0) Volts Status : ok Positive Hysteresis : Unspecified Negative Hysteresis : Unspecified Minimum sensor range : Unspecified Maximum sensor range : Unspecified Event Message Control : Per-threshold Readable Thresholds : No Thresholds Settable Thresholds : No Thresholds Assertion Events : Event Enable : Event Messages Disabled Assertions Enabled : Signed-off-by: Nataliya Abramova <codeipmi@yandex.ru>
Added the ability to obtain sensor data by its SDR Record ID. Tested: ipmitool sensor get 0x1 2 Locating sensor record... Sensor ID : P1V05 PCH AUX (0x1) Entity ID : 0.1 Sensor Type (Threshold) : Voltage Sensor Reading : 0.824 (+/- 0) Volts Status : Lower Critical Lower Non-Recoverable : na Lower Critical : 0.951 Lower Non-Critical : 1.001 Upper Non-Critical : 1.101 Upper Critical : 1.143 Upper Non-Recoverable : na Positive Hysteresis : Unspecified Negative Hysteresis : Unspecified Assertion Events : lnc- lcr- Deassertion Events : unc+ ucr+ Event Enable : Event Messages Disabled Assertions Enabled : lnc- lcr- unc+ ucr+ Deassertions Enabled : lnc+ lcr+ unc- ucr- Sensor ID : P1V2 LAN AUX (0x2) Entity ID : 0.1 Sensor Type (Threshold) : Voltage Sensor Reading : 0.831 (+/- 0) Volts Status : Lower Critical Lower Non-Recoverable : na Lower Critical : 0.902 Lower Non-Critical : 1.001 Upper Non-Critical : 1.399 Upper Critical : 1.803 Upper Non-Recoverable : na Positive Hysteresis : Unspecified Negative Hysteresis : Unspecified Assertion Events : lnc- lcr- Event Enable : Event Messages Disabled Assertions Enabled : lnc- lcr- unc+ ucr+ Deassertions Enabled : lnc+ lcr+ unc- ucr- Signed-off-by: Nataliya Abramova <codeipmi@yandex.ru>
Too many unnecessary changes. Reimplemented in a simpler way in #45. Thanks for the idea.
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?