From c2ee99eb0d3c0869dfe5cfc8535b1f25e6781655 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 22 Aug 2013 16:50:07 -0400 Subject: [PATCH] Add function to send sol data In the case of using function callin/callout, the console module was missing a callin. Correct that omission. Change-Id: I233b43eadf115ad617958148878b96f38bff1971 --- pyghmi/ipmi/console.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyghmi/ipmi/console.py b/pyghmi/ipmi/console.py index 3f76ed25..fcf48abd 100644 --- a/pyghmi/ipmi/console.py +++ b/pyghmi/ipmi/console.py @@ -151,6 +151,11 @@ class Console(object): if not self.awaitingack: self._sendpendingoutput() + def send_data(self, data): + self.pendingoutput += data + if not self.awaitingack: + self._sendpendingoutput() + def _sendpendingoutput(self): self.myseq += 1 self.myseq &= 0xf