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
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%