From 9157628f019e00222db9616e10d7b31186475ef6 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 3 Jan 2014 10:33:59 -0500 Subject: [PATCH] Add errors for activate session response codes Change-Id: If29da4f6ae0acdfb40077aeb1a5b2f276fa00aa1 --- pyghmi/ipmi/private/constants.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pyghmi/ipmi/private/constants.py b/pyghmi/ipmi/private/constants.py index efa89b16..0921ee03 100644 --- a/pyghmi/ipmi/private/constants.py +++ b/pyghmi/ipmi/private/constants.py @@ -81,7 +81,14 @@ command_completion_codes = { 0x80: "Parameter not supported", 0x81: "Attempt to set set 'set in progress' when not 'set complete'", 0x82: "Attempt to write read-only parameter", - } + }, + (7, 0x48): { # activate payload + 0x80: "Payload already active on another session", + 0x81: "Payload is disabled", + 0x82: "Payload activation limit reached", + 0x83: "Cannot activate payload with encryption", + 0x84: "Cannot activate payload without encryption", + }, } ipmi_completion_codes = {