ipmi_sim_cmd(5) IPMI LAN Simulator commands ipmi_sim_cmd(5) (NAME) ipmi_sim_cmd - IPMI (DESCRIPTION) ipmi_sim . . ipmi_lan (MC) . . (GENERAL COMMANDS) '#' . '' . ?Bquit?P . ?Binclude?P ?I"file"?P . ?Bdefine?P ?Iname?P ?I"value"?P . ?I . . : define MCNUM "40" : mc_add 1 no-device-sdrs 00 00 00 0xc9 0x009000 0x0002 sensor_add 0 21 12 0x6f poll 1000 file "/sys/dev/sens1-""-1" ?Bsleep?P ?Itime?P . . ?Bdebug?P ?Ioptions?P . : msg . raw / . . ?Bread_cmds?P ?Ifilename?P . (MC COMMANDS) ?Bmc_add?P ?IIPMBAddress?P ?IDeviceID?P ?IHasDeviceSDRs?P ?IDeviceRevision?P ?IMajorFWRev?P ?IMinorFWRev?P ?IDeviceSupport?P ?IManufacturerID?P ?IProductID?P (MC) . () . <> . MC . MC . HasDeviceSDRs SDR . has-device-sdrs no- device-sdrs HasDeviceSDRs . ?Bmc_add_fru_data?P ?Imc-addr?P ?IDeviceID?P ?IFRUSize?P (data [?Ibyte1?P [?Ibyte2?P [...]]] | ?Ifile?P ?Ioffset?P ?Ifilename?P) FRU MC . . offset . ?Bmc_dump_fru_data?P ?Imc-addr?P ?IDeviceID?P FRU MC . ?Bmc_delete?P ?Imc-addr?P MC . ?Bmc_disable?P ?Imc-addr?P MC . ?Bmc_enable?P ?Imc-addr?P MC . ?Bmc_setbmc?P ?Imc-addr?P BMC. ?Bmc_set_guid?P ?Imc-addr?P ?Iguid?P (GUID). guid ( ) . ?Bsel_enable?P ?Imc-addr?P ?Imax-entries?P ?Iflags?P (SEL) MC . flags <> SEL . . ?Bsel_add?P ?Imc-addr?P ?IRecordType?P ?Ibyte1?P ?Ibyte2?P ... ?Ibyte13?P SEL MC. ?Bmain_sdr_add?P ?Imc-addr?P ?Ibyte1?P [?Ibyte2?P [...]] SDR . ?Bdevice_sdr_add?P ?Imc-addr?P ?ILUN?P ?Ibyte1?P [?Ibyte2?P [...]] SDR MC. (SENSOR COMMANDS) ?Bsensor_add?P ?Imc-addr?P ?ILUN?P ?Isensor-num?P ?Isensor-type?P ?Ievent-reading-code?P [?Ipoll?P ?Ipoll_rate?P ?Ipoll_type?P ?Ipoll_type_options?P] [event-only] MC LUN . . ?Ipoll?P (poll) . ?Ifile?P . . : div=val . . mult=val . . sub=val . . mask=val (AND ) . base=value . C . initstate=value . "1" ( ) . raw . ?Ilength?P ?Ioffset?P . ascii ASCII . . ?Ioffset?P ?Ilength?P . length=val . 4 . depends=,,, 1 . . . event-only ( SDR 3 ). ?Bsensor_set_bit?P ?Imc-addr?P ?ILUN?P ?Isensor-num?P ?Ibit-to-set?P ?Ibit-value?P ?Igenerate-event?P bit-value ( 0 1) . generate-event . ?Bsensor_set_bit_clr_rest?P ?Imc-addr?P ?ILUN?P ?Isensor-num?P ?Ibit- to-set?P ?Ibit-value?P ?Igenerate-event?P sensor_set_bit . ?Bsensor_set_value?P ?Imc-addr?P ?ILUN?P ?Isensor-num?P ?Ivalue?P ?Igenerate-event?P . generate-event . ?Bsensor_set_hysteresis?P ?Imc-addr?P ?ILUN?P ?Isensor-num?P ?Isupport?P ?Ipositive?P ?Inegative?P (hysteresis) . . support SDR . . support none readable settable fixed . ?Bsensor_set_threshold?P ?Imc-addr?P ?ILUN?P ?Isensor-num?P ?Ithreshold-support?P ?Ithreshold-enabled?P [?Ivalue5?P [?Ivalue4?P [... [?Ivalue0?P]]]] . . threshold- support SDR . threshold-enabled <<0>> <<1>> 0 5 . . threshold-support none readable settable fixed . : 0 - (lower non critical) 1 - (lower critical) 2 - (lower non recoverable) 3 - (upper non critical) 4 - (upper critical) 5 - (upper non recoverable) ?Bsensor_set_event_support?P ?Imc-addr?P ?ILUN?P ?Isensor-num?P ?Ievents-enable?P ?Iscanning?P ?Ievent-support?P ?Iassert-support?P ?Ideassert-support?P ?Iassert-enabled?P ?Ideassert-enabled?P . events-enable . scanning . event-support <> SDR . assert-support deassert-support assert-enabled deassert-enabled ( <<0>> <<1>>) (support) (enabled) . . . enable disable events-enable scanning no- scanning scanning . event-support per-state entire-sensor global none . : 0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 11 - << >> << >> . ATCA (ATCA OEM COMMANDS) (ATCA) . ?Batca_enable?P ATCA ATCA . * * MC ( ) MC ATCA . MC PICMG LED (hot-swap) LED . LED LED . ATCA sensor_set_bit_clr_rest . ?Batca_set_site?P ?Ihardware-address?P ?Isite-type?P ?Isite-number?P ATCA . ?Bmc_set_num_leds?P ?Imc-addr?P ?Icount?P LED ATCA MC . ?Bmc_set_power?P ?Imc-addr?P ?Ipower?P ?Igen-event?P ATCA MC. gen-event . (FILES) /etc/ipmi/lan.conf (SEE ALSO) ipmi_sim(1) (KNOWN PROBLEMS) IPMI . . (AUTHOR) Corey Minyard OpenIPMI 06/26/12 ipmi_sim_cmd(5)