intel / NMPRK

3 stars 10 forks source link

need to return response data for completion code 0x80/0x81 when getting NM policies #10

Closed yilongx closed 12 years ago

yilongx commented 12 years ago

Currently, the fucntion ipmi_openipmi_send_cmd() in ipmi/src/modules/nm_dcmi/linux/open.cpp only saves the response data for caller when the completion code equals 0x00.

However, when getting the NM policy(netFn=0x2e, cmd=0xc2), the response data returned with completion 0x80/0x81 is useful to the user in querying all the existing polices or domains. So we'd better to return that kind of information to the user.

jrmassoni commented 12 years ago

IPMI codes have now been brought out to the calling program. Please retest.