1LIBFREEIPMI(3) LIBFREEIPMI LIBFREEIPMI(3)
2
3
4
6 libfreeipmi - FreeIPMI library
7
9 Libfreeipmi is the primary library that most of the FreeIPMI tools are
10 based upon. The following describe the sub-sections of the library.
11
12 api The highest level API provided by libfreeipmi. It abstracts away
13 the details of inband and outofband protocols from the user. It
14 also provides useful error codes for the user to easily inter‐
15 pret IPMI problems. 'api' is used by most FreeIPMI tools and li‐
16 braries, such as bmc-info(8), ipmi-sensors(8), and libipmimoni‐
17 toring(3).
18
19 cmds Provides fiid templates and 'fill' functions for IPMI commands.
20 Also provides macros defining common parameters for IPMI com‐
21 mands. The cmds are used by most other portions of libfreeipmi
22 including the 'api' sub-section and tools such as ipmipower(8)
23 and ipmiconsole(8).
24
25 debug Provides various packet/record dumping utility functions. Uti‐
26 lized by the 'api' subsection and by tools such as ipmipower(8)
27 and ipmiconsole(8).
28
29 driver Provides APIs for in-band IPMI communication. Currently sup‐
30 ported drivers are KCS, SSIF, OpenIPMI, and SUNBMC. The 'driver'
31 subsction is used by tools such as bmc-watchdog(8) and the 'api'
32 sub-section.
33
34 fiid The "FreeIPMI Interface Definition" provides an API used for the
35 construction/deconstruction of packets in libfreeipmi. The API
36 works around fiid-templates, which are then used to create fiid-
37 objects. Fiid-templates are used to describe packets through a
38 string-name to bit-field mapping. The API allows users to
39 read/write fields in an object using the string to bit-field
40 mapping. Marshalling, packing, endian, and various other network
41 issues are handled within 'fiid'. Fiid objects are used through‐
42 out libfreeipmi, including the 'api' sub-section, 'cmds' sub-
43 sections, and various tools.
44
45 fru-parse
46 Provides an API for parsing Field Replaceable Unit (FRU)
47 records. Utilized by tools such as ipmi-fru(8).
48
49 interface
50 Provides 'assemble' and 'disassemble' functions for building
51 packets for individual in-band or out-of-band protocols. Also
52 provides all necessary fiid templates, 'fill' functions, and
53 other utility functions necessary to communicate on an IPMI in‐
54 terface. Utilized by the 'api' sub-section and tools such as ip‐
55 mipower(8) and ipmiconsole(8).
56
57 interpret
58 Provides an API for interpreting sensor events by mapping them
59 into Nominal, Warning, or Critical states. Utilized by FreeIPMI
60 tools and libraries such as ipmi-sensors(8) and libipmimonitor‐
61 ing(3).
62
63 locate Provides an API to probe several standards to find default val‐
64 ues for in-band IPMI communication. Utilized by the 'api' sub-
65 section and the ipmi-locate(8) tool.
66
67 record-format
68 Provides macros, fiid-templates, and information on records used
69 in IPMI. Utilized by the 'sdr-cache' subsection and tools like
70 ipmi-sensors(8).
71
72 sdr-cache
73 Provides an API for creating, caching, reading, and parsing a
74 sensor data repository (SDR). Utilized by tools such as ipmi-
75 fru(8) and ipmi-sensors(8).
76
77 sdr-parse
78 Provides an API for parsing SDR records. Utilized by tools such
79 as ipmi-fru(8) and ipmi-sensors(8)
80
81 sel-parse
82 Provides an API for reading and parsing System Event Log (SEL)
83 entries. Utilized by tools such as ipmi-sel(8).
84
85 sensor-read
86 Provides an API for reading a sensor. Utilized by tools such as
87 ipmi-sensors(8).
88
89 spec Provides macros and arrays for various other definitions and ta‐
90 bles in IPMI. Utilized by tools such as ipmi-sensors(8).
91
92 util Provides various utility functions for the calculation of keys,
93 sensor readings, etc. Utilized by most of the rest of FreeIPMI.
94
96 /usr/include/freeipmi.h
97
98 /usr/include/freeipmi/
99
101 Copyright © 2003-2015 FreeIPMI Core Team.
102
103 This library is free software; you can redistribute it and/or modify it
104 under the terms of the GNU General Public License as published by the
105 Free Software Foundation; either version 3 of the License, or (at your
106 option) any later version.
107
109 libipmiconsole(3), libipmidetect(3), libipmimonitoring(3), freeipmi(7),
110 bmc-info(8), bmc-watchdog(8), ipmi-chassis(8), ipmi-config(8), ipmi-
111 fru(8), ipmi-locate(8), ipmi-oem(8), ipmi-raw(8), ipmi-sel(8), ipmi-
112 sensors(8), ipmiconsole(8), ipmidetect(8), ipmiping(8), ipmipower(8),
113 rmcpping(8)
114
115 http://www.gnu.org/software/freeipmi/
116
117
118
119libfreeipmi 1.6.10 @ISODATE LIBFREEIPMI(3)