Openipmi driver interface
Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. In this article. Represents a user account, which stores authentication and authorization data for the IPMI provider. Represents a grouping of computer system elements, represented by ComputerSystem instances.
You can examine the output of configure to make sure they are properly discovered. If you don't get this right, you don't get a GUI! It can easily be driven with a TCL script or the like. See the man page for more details. It also has the standard command language like ipmish available in a window, so it has all the power of ipmish. It provides a command line and text-window based view into an IPMI system.
A man page is included for it, if you want to know more. It does things that users generally shouldn't do. You can use it for examples, but it touches things that are considered OpenIPMI internal, so be careful what you use. It is fully function. I was hoping that swig would generate documentation from the comments, but it turns out that it does not do that. The interface is object-oriented, so you have to know how to do OO Perl or Pythong to use this.
It will use incoming traps as an indication that something is waiting in the SEL for it to fetch and immediately start a fetch. You may ask why the trap is not directly used, why does it just trigger an SEL fetch? Well, that's because the IPMI trap does not have enough information to determine the correct sensor it's missing the channel and LUN and it does not have enough information to correlate the SEL entries with the trap It doesn't have the record ID or necessarily the proper timestamp.
Instead, it has an interface to report a trap when it has been received. Note that to work the best, the LAN converter needs at least the v22 version of the OpenIPMI driver to support setting retries and timeouts for messages. Read it carefully.
Fortunately, you do not need to read the whole spec. If you read the OpenIPMI document first, you can probably get by with reading the following sections in the 1.
OpenIPMI should hide the rest from you. It should point you in all the right directions, but it does not contain the actual details of most OpenIPMI functions. Those are currently documented in the include files, so you will have to look through the include files for how to use the functions.
However, the LGPL license may be a restriction. Includes a user interface named openipmish that demonstrates how to use it. Gets the slave address for source messages. Gets the retry and error timeout metrics for an open session. The time value is in milliseconds. If the received message is too large to fit in the buffer an error is returned. Registers to receive a specific command. Passed an argument of type int. This is passed a boolean which when set to none. Sets the slave address for source messages.
Sets the retry and error timeout metrics for an open session. Unregisters to receive a specific command. See attributes 7 for a description of the following attributes:.
Exit Print View.
0コメント