From aee3ae36b0dd8beaeb2aa4ca844716b645780c24 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 4 Oct 2016 10:18:20 -0400 Subject: [PATCH] Extend FPC status FPC PSU status reporting requires OEM commands. Provide OEM to pyghmi sensor model translation. to enable normal applications to read it. Change-Id: I63b950db7ffa5a5a2ba2ed3a2f2be33a53221b03 --- pyghmi/ipmi/oem/lenovo/nextscale.py | 32 ++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/pyghmi/ipmi/oem/lenovo/nextscale.py b/pyghmi/ipmi/oem/lenovo/nextscale.py index 44ca16d9..c1868a89 100644 --- a/pyghmi/ipmi/oem/lenovo/nextscale.py +++ b/pyghmi/ipmi/oem/lenovo/nextscale.py @@ -49,6 +49,29 @@ def fpc_read_psu_fan(ipmicmd, number): return struct.unpack_from('