From 5f58618c3b6f905688ad2bec24da0c0d85863875 Mon Sep 17 00:00:00 2001 From: luyf5 Date: Sat, 18 Sep 2021 14:38:52 +0800 Subject: [PATCH] miss to add field "ControllerIndex" in drive.py Changes are from: https://gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/f107bd2795159aef13d4024c17f15179935f4263 (64105) Fix raid drive parameter Change-Id: I6097e14e62db83a86e4e31ff9cca8e587f252614 --- pyghmi/ipmi/oem/lenovo/drive.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyghmi/ipmi/oem/lenovo/drive.py b/pyghmi/ipmi/oem/lenovo/drive.py index cf33d285..20c18851 100755 --- a/pyghmi/ipmi/oem/lenovo/drive.py +++ b/pyghmi/ipmi/oem/lenovo/drive.py @@ -43,6 +43,7 @@ drive_fields = ( 0x04: "12.0 Gb/s" }), inventory.EntryField("SlotNumber", "B"), + inventory.EntryField("ControllerIndex", "B"), inventory.EntryField("DeviceState", "B", mapper={ 0x00: "active", 0x01: "stopped",