meta: terminus: adjust the index value in terminus NIC
Because unable to read the threshold setting in the
Terminus NIC, adjust the index value according to the
item name.
Tested:
- Check the threshold of the NIC temperature sensor
~# mfg-tool sensor-display | table-sensor-display | grep NIC
sensor ... units ... UCR UNR
---------- ... -------- ... --- ---
NIC0_TEMP_C DegreesC 105 115
NIC1_TEMP_C DegreesC 105 115
NIC2_TEMP_C DegreesC 105 115
NIC3_TEMP_C DegreesC 105 115
Change-Id: Id833de908d4d89a8ccab99f28c976f9e40b7568a
Signed-off-by: Zoey YJ Chung <zoey.yj.chung.wiwynn@gmail.com>
diff --git a/configurations/meta/terminus_2x100g_nic_tsff.json b/configurations/meta/terminus_2x100g_nic_tsff.json
index 39a591a..0d19e6b 100644
--- a/configurations/meta/terminus_2x100g_nic_tsff.json
+++ b/configurations/meta/terminus_2x100g_nic_tsff.json
@@ -16,14 +16,14 @@
"Thresholds": [
{
"Direction": "greater than",
- "Index": 2,
+ "Index": 1,
"Name": "upper non recoverable",
"Severity": 4,
"Value": 115
},
{
"Direction": "greater than",
- "Index": 2,
+ "Index": 1,
"Name": "upper critical",
"Severity": 1,
"Value": 105