Add a new query option for the effective rank order

This rank order will be changed during PSU Redundancy running,
Settings service only stores the user initial settings,
add a new option to return the current effective settings
from Redundancy service.

Tested:
With two PSUs, AC cycle the board,

// Two PSUs available
ipmitool raw 0x30 0x2E 0x05
 05 02

// Wait for 2 minutes, query the current effective order
ipmitool raw 0x30 0x2E 0x06
06 01 02

ipmitool raw 0x30 0x2E 0x03
03 00 00

// Set a new order 2,1
ipmitool raw 0x30 0x2d 0x03 0x01 0x02 0x01
 00

// Query the new order settings for several times, always 2,1
ipmitool raw 0x30 0x2E 0x03
 03 01 02 01

// Query the current effective order for several times, it changes
ipmitool raw 0x30 0x2E 0x06
 06 01 02

ipmitool raw 0x30 0x2E 0x06
 06 02 01

Change-Id: I355193ea0da18abaf0dfbb3210083614018d05a8
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
1 file changed