openbmc/phosphor-host-ipmid

Wrong property key used for building chassis info area

pswarfound opened this issue · 1 comments

//appendData(modelNumber, propMap, fruAreaData); // modelNumber is wrong property key for chassis info area
appendData(partNumber, propMap, fruAreaData); // replace modelNumber with partNumber to fix this

the reason why should use partNumber is because this property name is generated by
parse_fru_area in 'ipmi-fru-parse' package
and the property name came from vpd_key_names array,
in this array, "Part Number" is used as key name instead of "Model"