/openbmc/pldm/configurations/pdr/ |
H A D | 4.json | diff 144ef2bd474b518de0568d3d70cf5ef33eddf0b8 Mon May 10 13:00:17 CDT 2021 Jayashankar Padath <jayashankar.padath@in.ibm.com> pdr: Sensor/Effecter support for identify leds
This commit contains the addition of sensor/effecter pdrs for remaining supported identify leds like cable cards, dasd backplane, nvme drives, pcie slots, planar, powersupplys and the tod battery.
Testing Result:
EFFECTERS:
1) pldmtool platform GetPDR -d 26 { "nextRecordHandle": 27, "responseCount": 29, "recordHandle": 26, "PDRHeaderVersion": 1, "PDRType": "State Effecter PDR", "recordChangeNumber": 0, "dataLength": 19, "PLDMTerminusHandle": 1, "effecterID": 5, "entityType": "0(OEM)", "entityInstanceNumber": 0, "containerID": 0, "effecterSemanticID": 0, "effecterInit": "noInit", "effecterDescriptionPDR": false, "compositeEffecterCount": 1, "stateSetID[0]": "17", "possibleStatesSize[0]": 1, "possibleStates[0]": " 1 2" }
Set On: pldmtool platform SetStateEffecterStates -i 5 -c 1 -d 1 1 { "Response": "SUCCESS" }
busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/cablecard10_cxp_bot_identify xyz.openbmc_project.Led.Group Asserted b true
Set Off: pldmtool platform SetStateEffecterStates -i 5 -c 1 -d 1 2 { "Response": "SUCCESS" }
busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/cablecard10_cxp_bot_identify xyz.openbmc_project.Led.Group Asserted b false
2) pldmtool platform GetPDR -d 66 { "nextRecordHandle": 67, "responseCount": 29, "recordHandle": 66, "PDRHeaderVersion": 1, "PDRType": "State Effecter PDR", "recordChangeNumber": 0, "dataLength": 19, "PLDMTerminusHandle": 1, "effecterID": 45, "entityType": "0(OEM)", "entityInstanceNumber": 0, "containerID": 0, "effecterSemanticID": 0, "effecterInit": "noInit", "effecterDescriptionPDR": false, "compositeEffecterCount": 1, "stateSetID[0]": "17", "possibleStatesSize[0]": 1, "possibleStates[0]": " 1 2" }
Set On: pldmtool platform SetStateEffecterStates -i 45 -c 1 -d 1 1 { "Response": "SUCCESS" }
busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/rtc_battery_identify xyz.openbmc_project.Led.Group Asserted b true
Set Off: pldmtool platform SetStateEffecterStates -i 45 -c 1 -d 1 2
{ "Response": "SUCCESS" }
busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/rtc_battery_identify xyz.openbmc_project.Led.Group Asserted b false
SENSOR:
3) pldmtool platform GetPDR -d 126 { "nextRecordHandle": 127, "responseCount": 27, "recordHandle": 126, "PDRHeaderVersion": 1, "PDRType": "State Sensor PDR", "recordChangeNumber": 0, "dataLength": 17, "PLDMTerminusHandle": 0, "sensorID": 47, "entityType": "0(OEM)", "entityInstanceNumber": 0, "containerID": 0, "sensorInit": "noInit", "sensorAuxiliaryNamesPDR": false, "compositeSensorCount": 1, "stateSetID[0]": "17", "possibleStatesSize[0]": 1, "possibleStates[0]": " 1 2" }
Set On: busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/rtc_battery_identify xyz.openbmc_project.Led.Group Asserted b true
pldmtool raw --data 0x80 0x02 0x21 0x2F 0x00 0x01 0x00 Request Message: 08 01 80 02 21 2f 00 01 00 Response Message: 08 01 00 02 21 00 01 00 01 00 01
Set Off: busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/rtc_battery_identify xyz.openbmc_project.Led.Group Asserted b false
pldmtool raw --data 0x80 0x02 0x21 0x2F 0x00 0x01 0x00 Request Message: 08 01 80 02 21 2f 00 01 00 Response Message: 08 01 00 02 21 00 01 00 01 00 02
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: I9f0f226847e880bbdeccc4f77f89a8f3da04e070
|
H A D | 11.json | diff 144ef2bd474b518de0568d3d70cf5ef33eddf0b8 Mon May 10 13:00:17 CDT 2021 Jayashankar Padath <jayashankar.padath@in.ibm.com> pdr: Sensor/Effecter support for identify leds
This commit contains the addition of sensor/effecter pdrs for remaining supported identify leds like cable cards, dasd backplane, nvme drives, pcie slots, planar, powersupplys and the tod battery.
Testing Result:
EFFECTERS:
1) pldmtool platform GetPDR -d 26 { "nextRecordHandle": 27, "responseCount": 29, "recordHandle": 26, "PDRHeaderVersion": 1, "PDRType": "State Effecter PDR", "recordChangeNumber": 0, "dataLength": 19, "PLDMTerminusHandle": 1, "effecterID": 5, "entityType": "0(OEM)", "entityInstanceNumber": 0, "containerID": 0, "effecterSemanticID": 0, "effecterInit": "noInit", "effecterDescriptionPDR": false, "compositeEffecterCount": 1, "stateSetID[0]": "17", "possibleStatesSize[0]": 1, "possibleStates[0]": " 1 2" }
Set On: pldmtool platform SetStateEffecterStates -i 5 -c 1 -d 1 1 { "Response": "SUCCESS" }
busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/cablecard10_cxp_bot_identify xyz.openbmc_project.Led.Group Asserted b true
Set Off: pldmtool platform SetStateEffecterStates -i 5 -c 1 -d 1 2 { "Response": "SUCCESS" }
busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/cablecard10_cxp_bot_identify xyz.openbmc_project.Led.Group Asserted b false
2) pldmtool platform GetPDR -d 66 { "nextRecordHandle": 67, "responseCount": 29, "recordHandle": 66, "PDRHeaderVersion": 1, "PDRType": "State Effecter PDR", "recordChangeNumber": 0, "dataLength": 19, "PLDMTerminusHandle": 1, "effecterID": 45, "entityType": "0(OEM)", "entityInstanceNumber": 0, "containerID": 0, "effecterSemanticID": 0, "effecterInit": "noInit", "effecterDescriptionPDR": false, "compositeEffecterCount": 1, "stateSetID[0]": "17", "possibleStatesSize[0]": 1, "possibleStates[0]": " 1 2" }
Set On: pldmtool platform SetStateEffecterStates -i 45 -c 1 -d 1 1 { "Response": "SUCCESS" }
busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/rtc_battery_identify xyz.openbmc_project.Led.Group Asserted b true
Set Off: pldmtool platform SetStateEffecterStates -i 45 -c 1 -d 1 2
{ "Response": "SUCCESS" }
busctl get-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/rtc_battery_identify xyz.openbmc_project.Led.Group Asserted b false
SENSOR:
3) pldmtool platform GetPDR -d 126 { "nextRecordHandle": 127, "responseCount": 27, "recordHandle": 126, "PDRHeaderVersion": 1, "PDRType": "State Sensor PDR", "recordChangeNumber": 0, "dataLength": 17, "PLDMTerminusHandle": 0, "sensorID": 47, "entityType": "0(OEM)", "entityInstanceNumber": 0, "containerID": 0, "sensorInit": "noInit", "sensorAuxiliaryNamesPDR": false, "compositeSensorCount": 1, "stateSetID[0]": "17", "possibleStatesSize[0]": 1, "possibleStates[0]": " 1 2" }
Set On: busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/rtc_battery_identify xyz.openbmc_project.Led.Group Asserted b true
pldmtool raw --data 0x80 0x02 0x21 0x2F 0x00 0x01 0x00 Request Message: 08 01 80 02 21 2f 00 01 00 Response Message: 08 01 00 02 21 00 01 00 01 00 01
Set Off: busctl set-property xyz.openbmc_project.LED.GroupManager /xyz/openbmc_project/led/groups/rtc_battery_identify xyz.openbmc_project.Led.Group Asserted b false
pldmtool raw --data 0x80 0x02 0x21 0x2F 0x00 0x01 0x00 Request Message: 08 01 80 02 21 2f 00 01 00 Response Message: 08 01 00 02 21 00 01 00 01 00 02
Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: I9f0f226847e880bbdeccc4f77f89a8f3da04e070
|