2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-28 20:07:42 +00:00
Jarrod Johnson 26e8e4fdf0 Fix infinitely recursing custom keepalives
Custom keepalives are called regardless of whether a command is issued
or not.  The rationale being that custom keepalives are checking for
something specific rather than just assuring session state.  Notably,
SOL uses a custom keepalive to see if the payload is still active.
The resultant problem was that if keepalive expired just at the time
something was in the midst of a command, a session would infinitely
recurse into its own keepalive.  The issue was that the keepalive
expiry incorrectly omitted _monotonic_time, causing expiry to
always be far in the past.  It normally did not break because if
not incommand, send_payload was setting an appropriate value after
the incorrect setting.

Change-Id: Ie86e49890a6ac96ddf07206fb1b8558161c00a20
2014-06-10 09:56:36 -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%