pldmtool: Add new entity types in the pdr support list
Added new entity types in the GetPDR command interface to parse
the newly added entity types. Added new types for disk backplane,
fan, nvme drive, dimm, tod battery, pcie slot and pcie cable card.
Testing Result for some entity types:
pldmtool platform GetPDR -d 156
{
"nextRecordHandle": 157,
"responseCount": 27,
"recordHandle": 156,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 17,
"PLDMTerminusHandle": 0,
"sensorID": 55,
"entityType": "Slot",
"entityInstanceNumber": 1,
"containerID": 3,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 1,
"stateSetID[0]": "17",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}
pldmtool platform GetPDR -d 170
{
"nextRecordHandle": 171,
"responseCount": 27,
"recordHandle": 170,
"PDRHeaderVersion": 1,
"PDRType": "State Sensor PDR",
"recordChangeNumber": 0,
"dataLength": 17,
"PLDMTerminusHandle": 0,
"sensorID": 69,
"entityType": "Real Time Clock (RTC)",
"entityInstanceNumber": 1,
"containerID": 3,
"sensorInit": "noInit",
"sensorAuxiliaryNamesPDR": false,
"compositeSensorCount": 1,
"stateSetID[0]": "17",
"possibleStatesSize[0]": 1,
"possibleStates[0]": " 1 2"
}
Signed-off-by:
Jayashankar Padath <jayashankar.padath@in.ibm.com>
Change-Id: Iddf290d68cf20d3c274a41079ac6c4ff1f805310
Loading
Please register or sign in to comment