X hits on this document

PDF document

February 10, 2006 - page 34 / 238

556 views

0 shares

0 downloads

0 comments

34 / 238

22

CHAPTER 2. OPENIPMI

2.3.1

Files

the normal

user

deals

with

ipmiif.h

ipmi fru.h ipmi auth.h

ipmi bits.h

ipmi types.h

ipmi err.h os handler.h

selector.h

ipmi posix.h ipmi log.h

The main include file for OpenIPMI. It contains the main functions the user must deal with when working with the OpenIPMI library. Almost everything will include this. It includes ipmi types.h and ipmi bits.h, too, so you don’t have to include those. Interface for FRU data. The file holding information about athentication algorithms. You need this if dealing with an authenticated interface. Various values, mostly for sensors, used by the user. ipmiif.h includes this file, so you generally don’t have to include it explicitly. Types for the basic IPMI objects. ipmiif.h includes this file, so you generally don’t have to include it explicitly. Error values, both IPMI and system, as well as macros for interpreting these. The os-specific handler types are defined here. You must implement this and supply it to the IPMI code. For *nix systems, This file a default mechanism for handling many of the os-specific handler operations. This defines some POSIX OS handlers. Holds definitions for the logging interface.

2.3.2

Files dealing with messaging interfaces

ipmi lan.h ipmi smi.h

This is the LAN messaging interface, this contains the calls for creating a LAN connection. This is the messaging interface for talking to local IPMI interfaces (like KCS), this contains

the calls for creating an SMI connection.

2.3.3

File for system configuration

ipmi pef.h ipmi lanparm.h ipmi pet.h

Contains code for configuring the PEF. Contains code for configuring the LAN configuration data. Contains code that allows the user to easily set up an IPMI LAN interface on a BMC

to send SNMP traps.

2.3.4

Semi-internal

includes

These files expose the more IPMI-ish parts of OpenIPMI; things that are closer to raw IPMI. You should not use these unless you really need them.

ipmi mc.h ipmi addr.h ipmi conn.h

This defines interfaces for the management controllers. The file holding information about IPMI addresses. This defines the interface for the messaging interfaces.

ipmi msgbits.h ipmi picmg.h ipmi sdr.h

This defines various IPMI messages. This defines various PIGMC messages. This defines internal interfaces for the SDR repository.

Document info
Document views556
Page views556
Page last viewedSun Dec 04 19:33:00 UTC 2016
Pages238
Paragraphs8090
Words85809

Comments