From 41db3b8866aee9dbe352b6c0ddfb44f5a74e9bd0 Mon Sep 17 00:00:00 2001 From: Lucio Seki Date: Thu, 27 Aug 2015 08:48:56 -0300 Subject: [PATCH] Add NMI diag command Change-Id: Ie1e3b1033eff61b77df76b5261824748ed089b90 --- pyghmi/ipmi/command.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyghmi/ipmi/command.py b/pyghmi/ipmi/command.py index 568b9a04..1fce03f3 100644 --- a/pyghmi/ipmi/command.py +++ b/pyghmi/ipmi/command.py @@ -58,6 +58,7 @@ power_states = { "off": 0, "on": 1, "reset": 3, + "diag": 4, "softoff": 5, "shutdown": 5, # NOTE(jbjohnso): -1 is not a valid direct boot state,