2
0
mirror of https://opendev.org/x/pyghmi synced 2026-03-31 23:33:34 +00:00

workaround for kent fw defect 45862

Changes are from
dcb59ab876 fix the bug 45862 and bug 46082

Change-Id: I333f7d47831a124c13153f90de9627602b7cf84e
This commit is contained in:
luyf5
2021-09-13 10:20:50 +08:00
parent f17b46f986
commit 73d81f2a8c
3 changed files with 5 additions and 3 deletions

View File

@@ -47,6 +47,7 @@ def get_categories():
"cpu": {
"idstr": "CPU {0}",
"parser": parse_cpu_info,
"command": cpu_cmd
"command": cpu_cmd,
"workaround_bmc_bug": lambda t: t == "ami"
}
}

View File

@@ -54,6 +54,6 @@ def get_categories():
"idstr": "DIMM {0}",
"parser": parse_dimm_info,
"command": dimm_cmd,
"workaround_bmc_bug": True
"workaround_bmc_bug": lambda t: True
}
}

View File

@@ -56,6 +56,7 @@ def get_categories():
"netfn": 0x06,
"command": 0x59,
"data": (0x00, 0xc1, 0x03, 0x00)
}
},
"workaround_bmc_bug": lambda t: t == "ami"
}
}