For different type of servers, we may get more than 1 chassis items.
Eg. In wolfpass server, there are many subitems in Chassis item.
If we use Chassis Power command, it will report error and request
client to specify one subitem by -I, and retry one by one to find
the item which includes power data.
In this patch, it utilize existed prop paramete and can report the
subitem which includes power during it go through all chassis
subitems, so that client can get Power data by one Chassis Power
command directly.
For different type of servers, we may get more than 1 chassis items. Eg. In wolfpass server, there are many subitems in Chassis item. If we use Chassis Power command, it will report error and request client to specify one subitem by -I, and retry one by one to find the item which includes power data.
In this patch, it utilize existed prop paramete and can report the subitem which includes power during it go through all chassis subitems, so that client can get Power data by one Chassis Power command directly.
Signed-off-by: zhipengl zhipengs.liu@intel.com