2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-15 04:07:48 +00:00
Jarrod Johnson 939ebea0f3 Enhance wait behavior of set_power
Previously, wait would always be indefinite and act in many ways like
a busy wait.  The check for completion now takes one second between
every check.  The default behavior now goes for 300 seconds, but
wait can now take an int to indicate a different preference by the
caller.  300 seconds may seem like a lot, but the 'softoff' request
in particular suggests waiting for OS shutdown process to complete.

Additionally, some bugs in the retry logic were noted in the process
of having the retry timer drive the delay and are corrected.

Change-Id: Ibe34e87c2a58f13981d60e5f80b4b636e67ac3f9
2013-08-08 14:08:35 -04:00
2013-08-08 14:08:35 -04:00
2013-06-30 14:21:20 -04:00
2013-06-30 13:58:19 -04:00
2013-08-07 13:51:05 -04:00
2013-06-24 14:15:39 -04:00
2013-06-28 10:01:40 -04:00
2013-08-07 13:51:05 -04:00
2013-06-30 14:21:20 -04:00
2013-08-07 13:51:05 -04:00
2013-06-30 14:21:20 -04:00

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
No description provided
Readme Apache-2.0 13 MiB
Languages
Python 99.9%
Shell 0.1%