From 2a5f9fb7ac46ababe7fb0c7b316e25dc9d71a581 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 6 May 2022 09:36:09 -0400 Subject: [PATCH] Add SMM virtual reseat Change-Id: I6b9badd2e3e1e13cdf7918cc17b7a715a58a45d8 --- pyghmi/ipmi/oem/lenovo/nextscale.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyghmi/ipmi/oem/lenovo/nextscale.py b/pyghmi/ipmi/oem/lenovo/nextscale.py index 34ed9cca..f3402228 100644 --- a/pyghmi/ipmi/oem/lenovo/nextscale.py +++ b/pyghmi/ipmi/oem/lenovo/nextscale.py @@ -688,6 +688,9 @@ class SMMClient(object): def reseat_bay(self, bay): bay = int(bay) + if bay == -1: + self.ipmicmd.xraw_command(0x32, 0xf5) + return if bay % 2 == 0: # even node may be unable to reseat based on shared io try: