commit | bfd8fc4b10499a2764bb5d76673e18bdafa35bcb | [log] [tgz] |
---|---|---|
author | jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> | Tue May 05 22:38:03 2020 +0000 |
committer | Tom Joseph <tomjoseph@in.ibm.com> | Tue Sep 01 12:35:38 2020 +0000 |
tree | c3bb9cd7570b2ffa02883936b39e4ba8b93f7d4e | |
parent | 3e9101e99a8fa9bd0c2336f12c54450c596c89c0 [diff] |
chassishandler: SetSystemBootOptions to new API Rewrite ipmiChassisSetSysBootOptions to use newly introduced IPMI provider API Tested: verified using IPMI chassis bootparam command and raw commands Command: ipmitool chassis bootparam set bootflag force_disk Response: Set Boot Device to force_disk Command: ipmitool chassis bootparam set bootflag force_pxe Response: Set Boot Device to force_pxe Command: ipmitool chassis bootdev pxe options=persistent Response: Set Boot Device to pxe Command: ipmitool chassis bootparam set bootflag force_bios Response: Set Boot Device to force_bios Command: ipmitool chassis bootparam set bootflag force_safe Response: Set Chassis Boot Parameter 5 failed: Invalid data field in request Command: ipmitool raw 0 8 0x5 0 0 0 0 0 //setBootOptions param 5 Response: //Success Command: ipmitool raw 0 8 0x4 0 0 //setBootOptions param 4 Response: //Success Command: ipmitool raw 0 8 0x61 0x21 0x70 0x62 0x21 0x00 0x01 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0x01 0x01 0x04 0 0 0 0 1 1 1 1 //setBootOptions param 61 Response: //Success Command: ipmitool raw 0 8 0 0 //setBootOptions param 0 Response: Unable to send RAW command (channel=0x0 netfn=0x0 lun=0x0 cmd=0x8 rsp=0x80): Unknown (0x80) Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> Signed-off-by: srikanta mondal <srikantax.mondal@intel.com> Change-Id: I6faa0b5162ba02bbe0e8a3acaba092888ed48acc
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.