storagecommands:move get FRUInvAreaInfo to new API
Rewrite "get fru inv area info" cmd to new IPMI provider API.
Tested:
verified using ipmitool storage commands.
get fru inventory area info before and after the changes.
ipmitool raw 0x0a 0x10 0x0
00 02 00
ipmitool raw 0x0a 0x10 0xff
Unable to send RAW command (channel=0x0 netfn=0xa lun=0x0 cmd=0x10
rsp=0xcc): Invalid data field in request
ipmitool raw 0x0a 0x10 0x02
Unable to send RAW command (channel=0x0 netfn=0xa lun=0x0 cmd=0x10
rsp=0xcb): Requested sensor, data, or record not found
Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: I430ab2e4495b8ccf84ce811d4863b918de77995c
2 files changed