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
2 files changed