Fixed sensor names for Anaconda system

Signed-off-by: Oleksandr Shamray <oleksandrs@mellanox.com>
This commit is contained in:
Oleksandr Shamray
2019-01-23 13:12:19 +00:00
parent aa8e9805d8
commit 5b698e971e
3 changed files with 3 additions and 3 deletions

View File

@@ -213,7 +213,7 @@ _psu_info_get_type3(onlp_psu_info_t* info)
info->mvin = val;
info->caps |= ONLP_PSU_CAPS_VIN;
if (psu_power_info_get(index, "volt3", &val) == 0) {
if (psu_power_info_get(index, "volt_out2", &val) == 0) {
info->mvout = val;
info->caps |= ONLP_PSU_CAPS_VOUT;
}

View File

@@ -143,7 +143,7 @@ static onlp_led_info_t linfo_c[] =
ONLP_LED_CAPS_ORANGE | ONLP_LED_CAPS_ORANGE_BLINKING | ONLP_LED_CAPS_AUTO,
},
{
{ ONLP_LED_ID_CREATE(LED_FAN4), "Chassis LED 5 (FAN5 (7-8) )", 0 },
{ ONLP_LED_ID_CREATE(LED_FAN4), "Chassis LED 5 (FAN4 (7-8) )", 0 },
ONLP_LED_STATUS_PRESENT,
ONLP_LED_CAPS_ON_OFF | ONLP_LED_CAPS_GREEN | ONLP_LED_CAPS_GREEN_BLINKING |
ONLP_LED_CAPS_ORANGE | ONLP_LED_CAPS_ORANGE_BLINKING | ONLP_LED_CAPS_AUTO,

View File

@@ -113,7 +113,7 @@ static char* thermal_fnames_c[] = /* must map with onlp_thermal_id */
"cpu_core1",
"cpu_pack",
"asic",
"board_amb",
"fan_amb",
"port_amb",
"psu1",
"psu2"