Skip to content
Commit 79175b44 authored by Jayashankar Padath's avatar Jayashankar Padath
Browse files

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: default avatarJayashankar Padath <jayashankar.padath@in.ibm.com>
Change-Id: Iddf290d68cf20d3c274a41079ac6c4ff1f805310
parent 144ef2bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment