Implement Cold Redundancy Configuration Command

Implement Set and Get Cold Redundancy Configuration ipmi command.
These two commands are used to set or get configure parameters in
Cold Redundancy.

Tested:
set and get ColdRedundancyEnabled
ipmitool raw 0x30 0x2d 0x01 0x00 return 00
ipmitool raw 0x30 0x2e 0x01 return 00
set and get RotationEnabled
ipmitool raw 0x30 0x2d 0x02 0x00 return 00
ipmitool raw 0x30 0x2e 0x02 return 00
set and get RotationAlgorithm
ipmitool raw 0x30 0x2d 0x03 0x01 0x01 0x02 return 00
ipmitool raw 0x30 0x2e 0x03 return 01 01 02
set and get PeriodOfRotation
ipmitool raw 0x30 0x2d 0x04 0x00 0x00 0x09 0x00 return 00
ipmitool raw 0x30 0x2e 0x04 return 00 00 09 00

Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com>
Change-Id: I012ebd5edf9267517d04c12ca46c9675982097ec
2 files changed