mirror of
https://opendev.org/x/pyghmi
synced 2025-01-15 20:27:45 +00:00
Jarrod Johnson
871984bde0
Handle concurrent session requests
A caller may end up making requests that would get gathered into a single session object. However due to being aggressive, a second session object supersedes the original without the original getting a chance to complete login and satisfy the second caller. Address this by reusing a 'logging' session and then having __init__ follow the state of the other session object already in progress. Without this a caller can end up provoking a fight and having the BMC refuse to continue to entertain the shenanigans in short order. Change-Id: I47acbc0c974900ff50c02d470b5a79a3fed9bb73
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
Languages
Python
99.9%
Shell
0.1%