27 Commits

Author SHA1 Message Date
Duncan Laurie
58ea8803f9 remove nuclear clause from license 2006-03-19 17:59:39 +00:00
Duncan Laurie
8a0559a651 add top-level "power" command as shortcut to chassis power commands 2005-09-09 23:19:41 +00:00
Duncan Laurie
53c97bc5b4 not closing session after chassis power control can be bad for session management on the bmc 2005-08-11 16:18:22 +00:00
Duncan Laurie
384f9219ba move selftest results to its own command 2005-06-27 22:01:54 +00:00
Duncan Laurie
70cc60d8a4 add self-test results to chassis status output 2005-06-02 22:03:18 +00:00
Duncan Laurie
6cc2c67671 add support for passing cmos clear bit to BIOS 2005-05-11 05:47:53 +00:00
Duncan Laurie
2c2437239d fix chassis power status exit code 2005-04-21 04:13:55 +00:00
Duncan Laurie
7b3fac2071 fix chassis power status command 2005-04-21 03:30:55 +00:00
Duncan Laurie
90448837ec add ability to configure session retry and timeout settings,
add chassis power status command with return value indicating status
2005-04-20 23:04:00 +00:00
Duncan Laurie
775f349d04 list bootdev in help instead of bootparam 2005-03-17 17:03:04 +00:00
Duncan Laurie
b27e296399 fix setting of chassis boot parameters 2005-03-16 23:20:37 +00:00
Jeremy Ellington
6d1f8521e6 Removed calls to ipmi_intf_session_set_privlvl(intf, IPMI_SESSION_PRIV_ADMIN)
in the sub-commands.  We are ADMIN by default.
2005-03-09 20:29:35 +00:00
Duncan Laurie
80a9f3acb2 return success on poh command 2005-02-01 00:08:04 +00:00
Duncan Laurie
014040610f use uint{8,16,32}_t instead of "unsigned {char,short,int|long}" 2005-01-07 02:05:49 +00:00
Duncan Laurie
9c848916cc fix compile problems with -g
update lan interface to send debug and errors to stderr
2005-01-06 22:35:35 +00:00
Duncan Laurie
4db9739e17 massive rework of many subsytems
handle errors better and return status codes correctly
2005-01-06 17:48:24 +00:00
Duncan Laurie
6cdcd8555a break down ccode on error 2004-11-17 23:11:59 +00:00
Duncan Laurie
6da8379fe4 fix lots of little errors that show up with -Werror -Wall 2004-08-31 23:52:59 +00:00
Duncan Laurie
8da3a449cb fix setting Power Restore Policy 2004-08-31 18:48:07 +00:00
Duncan Laurie
a8e2fc03e7 a few commands that need to be admin privlege level 2004-08-27 16:51:19 +00:00
Duncan Laurie
b5c97ace65 Patch submitted by ebrower at users.sourceforge.net
Fix "chassis identify" on some BMCs

On the Intel SE7501WV2 w/ BMC firmware 1.20 it seems
the Chassis Identify command only supports one request
byte (Identify Interval). This patch will cause
requests to use only one byte unless "force" is
specified. The return value of intf->sendrecv() is
also now checked prior to printing an outcome to the
console.

It seems on the Intel SE7501WV2 F/W 1.20 we cannot
assume 2-byte requests will be honored. The BMC
returns CC 0xC7 (Request Data Length Invalid) but this
is not defined within the IPMI 1.5 spec so I assume
other BMC vendors could return other completion codes.
2004-07-26 21:40:32 +00:00
Duncan Laurie
a18557d779 fix chassis power control, it needs admin privlvl 2004-04-16 00:14:19 +00:00
Duncan Laurie
9b0b5ed676 add ipmi_intf header 2004-04-15 20:29:26 +00:00
Duncan Laurie
3b17fb7dd8 use uint32_t instead of unsigned long so we're 64bit safe 2004-01-26 04:55:09 +00:00
Duncan Laurie
c79cb2e740 update for ipmiv1.5 eratta
from Jon Cassorla at Newisys
2004-01-05 17:52:12 +00:00
Duncan Laurie
ff9c8dd094 add chassis status values from ipmi spec update 2003-12-17 08:30:12 +00:00
Duncan Laurie
14ac9f77c9 Update to current version 2003-11-18 17:56:07 +00:00