storagehandler: move get & reserve SEL to new API

Rewrite "Get sel info & Reserve SEL" commands to use the new API.

Tested:
1. verified ipmitool sel info is same both before and
after the changes
Command: ipmitool sel info
Output:
SEL Information
Version          : 1.5 (v1.5, v2 compliant)
Entries          : 0
Free Space       : 65535 bytes or more
Percent Used     : unknown
Last Add Time    : Not Available
Last Del Time    : Not Available
Overflow         : false
Supported Cmds   : 'Delete' 'Reserve'

Command: ipmitool raw 0x0a 0x40
Output:  51 00 00 ff ff ff ff ff ff ff ff ff ff 0a

2. verfied the Reserve SEL command
ipmitool  raw  0x0a 0x42
 01 00
ipmitool  raw  0x0a 0x42
 02 00

Change-Id: I37d602293066274a3fc417ad7e59cea3c73315f7
Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
2 files changed