2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-28 20:07:42 +00:00
Jarrod Johnson e167ee6a47 Fix concurrent raw_command calls to Session
If two contexts call raw_command concurrently, there was a scenario
where the first to transmit has its result overwritten by the next to
send and corrupts the results of the first command.  One scenario
where this was encountered was when a get health call was being
serviced at the same moment SOL attempted to open a console, causing
one of the get sensor readings to complain that 'SOL was already
active'.  Address it by storing away lastresponse in a more context
specific place before deasserting 'incommand' and remove instances
that deasserted it earlier.

Change-Id: I504da3f54562a4b65b8f4e9e20c19aed9d21a09f
2014-06-13 09:38:59 -04:00
2014-06-02 18:03:55 +00:00
2013-08-17 22:29:25 -04:00
2013-06-30 14:21:20 -04:00
2013-08-17 22:29:25 -04:00
2013-06-24 14:15:39 -04:00
2014-05-08 14:06:01 -04:00
2013-09-13 11:28:28 -05:00
2014-05-08 14:06:01 -04:00
2013-09-13 11:28:28 -05:00
2013-06-30 14:21:20 -04:00

This is a pure python implementation of IPMI protocol.

pyghmicons and pyghmiutil are example scripts to show how one may incorporate
this library into python code
Description
No description provided
Readme Apache-2.0 13 MiB
Languages
Python 99.9%
Shell 0.1%