mirror of
https://opendev.org/x/pyghmi
synced 2025-01-16 04:38:19 +00:00
Jarrod Johnson
9eb13b9f8c
Fix large paste to SOL session
While pyghmi was recording the maximum size the BMC advertised as accepting, it was not honoring it. Correct this by having the sendpendingpayload function only send the first 'self.maxoutcount' bytes. This actually turns into a loop because the ACK coming back for the chunk of data triggers a send of pending data, which includes the leftovers of the last attempt. Change-Id: I8e443e08a6eb4ed89eb74412cca92e2138cf9d00
This is a pure python implementation of IPMI protocol. ipmictl.py is a sample application to roughly show the most simple approach to invoking the library.
Description
Languages
Python
99.9%
Shell
0.1%