ipmi_lan(5) | IPMI LAN Interface config file | ipmi_lan(5) |
ipmi/lan.conf - IPMI LAN Interface config file
/etc/ipmi/lan.conf
The ipmi_sim and ipmilan commands are configured using this configuration file.
The following fields are used in many commands:
boolean May be "true", "false", "on" or "off".
priv An IPMI privilege level. This may be "callback", "user", "operator", or "admin".
auth An IPMI authorization type. This may be "none" for no authentication, "straight" for straight, in-the-clear password authentication, "md2" for use MD2 message digest authentication, or "md5" for using MD5 message digest authentication.
Blank lines and lines starting with `#' are ignored.
The following commands are allowed the configuration file:
enabled is a boolean that specified whether the user is enabled or not.
username specifies the name of the user, specified as a name.
password specifies the password of the user, specified as a name.
max-priv specifies the maximum privilege level allowed for the user.
max.sessions specifies the maximum number of session the user may open.
addr specifies the IP address to listen on for connections.
port specifies the port to listen on for connections.
Valid options are:
codec name specifies which codec to use on the serial port. Valid options are: TerminalMode, Direct, RadisysAscii, and VM. The first three are implementations of IPMI serial interfaces on certain systems and might be used for simulations of that system. The VM is probably the most interesting; it is designed to be used with a virtual machine like qemu.
oem name specified implementation of some OEM custom commands and options on the interface. Valid options oare PigeonPoint and Radisys.
attn c1[,c2[...]] specifies a list of characters, separated by commas, to use as the attention character on the interface. Generally the default is correct. The characters are specified as decimal, octal, or hex digits in C style.
ipmb addr specifies the IPMI address of the interface. The default, 0x20, is usually correct, but when emulating ATCA systems this might be required.
Allow a Serial Over LAN (SOL) connection to the given device. This will be over interface 1 for the MC.
device is the full path to the device name. It can also be in the form "tcp:address:port" or "telnet:address:port" to do connections over tcp (without or with telnet processing). This is useful for providing SOL access to qemu ports.
default_baud sets the initial default baud rate to use. This is overriden by the persistent SOL settings.
history creates a history device on SOL interface 2. The size is the size of the buffer. Data from the device is stored in the history buffer all the time. Connecting to SOL interface 2 will cause the full history buffer to be dumped. If backupfile is specified, then the history is made persistent. However, it is only stored when a catchable signal or normal shutdown is done, so a poweroff or fatal signal will cause the data to be lost.
historyfru makes the history available via the given FRU number on the MC.
Note that if the connection fails to come up, the simulator will continue to try to connect. This way you can fix UDP serial ports or qemu sessions and it will automatically reconnect.
Load the given shared object into the program.
module is the full path to the module. It must be in quotes.
options is an optional string in quotes that passes options to the module. The contents of the string are not specified, the module defines that.
The module may have a number of functions that are called:
ipmi_sim_module_print_version(sys_data_t *sys, char *options) is called when ipmi_sim is started with the version print option. This way the versions of all loaded modules may be printed. The module should print it's version. You must provide this function.
ipmi_sim_module_init(sys_data_t *sys, char *options) is called after the configuration file is read and before any other initialization is done. The module should do most of its initialization here. You must provide this function.
ipmi_sim_module_post_init(sys_data_t *sys) is called after ipmi_sim has finished initializing. This function is optional.
sys parameter is used for most functions interfacing to the main ipmi_sim code, like logging, timers, and a few of the MC calls. The contents are opaque to the module.
The following commands are only valid inside a startlen area.
UDP-port specifies an optional port to listen on. It defaults to 623 (the standard port).
/etc/ipmi_lan.conf
IPMI is unnecessarily complicated.
Corey Minyard <cminyard@mvista.com>
06/26/12 | OpenIPMI |