summaryrefslogtreecommitdiff
path: root/include/pam_authenticate.hpp
diff options
context:
space:
mode:
authorCarol Wang <wangkair@cn.ibm.com>2019-10-23 10:14:54 +0300
committerCarol Wang <wangkair@cn.ibm.com>2019-10-31 05:14:33 +0300
commitfc41ff6e941a1052a45c47a1de9568219b387283 (patch)
tree48a27f59f6cabd487f580d1fcb08e9cfaf7f0e6c /include/pam_authenticate.hpp
parenta6349918ad2c88533c6d09bb876812375a19f2c4 (diff)
downloadbmcweb-fc41ff6e941a1052a45c47a1de9568219b387283.tar.xz
Redfish: Fix System IndicatorLED
xyz.openbmc_project.LED.Controller.identify does not exist in all systems. Checking LED group enclosure_identify is generic and is expected to indicate the Indicator LED state. Remove LED physical identify related code to make it generic for all systems. Tested: $curl -k -H "X-Auth-Token: $token" -d "{\"data\": true}" -X PUT https://${bmc}/xyz/openbmc_project/led/groups/enclosure_identify/attr/Asserted { "data": null, "message": "200 OK", "status": "ok" } $ curl -k -H "X-Auth-Token: $token" X GET https://${bmc}/redfish/v1/Systems/system { "@odata.context": "/redfish/v1/$metadata#ComputerSystem.ComputerSystem", "@odata.id": "/redfish/v1/Systems/system", "@odata.type": "#ComputerSystem.v1_6_0.ComputerSystem", "Actions": { "#ComputerSystem.Reset": { "ResetType@Redfish.AllowableValues": [ "On", "ForceOff", "ForceOn", "ForceRestart", "GracefulRestart", "GracefulShutdown", "PowerCycle", "Nmi" ], "target": "/redfish/v1/Systems/system/Actions/ComputerSystem.Reset" } }, "AssetTag": "", "BiosVersion": "open-power-witherspoon-v2.3-rc2-390-g8db7a9e", "Boot": { "BootSourceOverrideEnabled": "Disabled", "BootSourceOverrideMode": "Legacy", "BootSourceOverrideTarget": "None", "BootSourceOverrideTarget@Redfish.AllowableValues": [ "None", "Pxe", "Hdd", "Cd", "Diags", "BiosSetup", "Usb" ] }, "Description": "Computer System", "Id": "1069A8T ", "IndicatorLED": "On", "Links": { "Chassis": [ { "@odata.id": "/redfish/v1/Chassis/chassis" } ], "ManagedBy": [ { "@odata.id": "/redfish/v1/Managers/bmc" } ] }, "LogServices": { "@odata.id": "/redfish/v1/Systems/system/LogServices" }, "Manufacturer": "", "Memory": { "@odata.id": "/redfish/v1/Systems/system/Memory" }, "MemorySummary": { "Status": { "State": "Enabled" }, "TotalSystemMemoryGiB": 0 }, "Model": "8286-42B ", "Name": "system", "PartNumber": "", "PowerState": "Off", "ProcessorSummary": { "Count": 2, "Status": { "State": "Enabled" } }, "Processors": { "@odata.id": "/redfish/v1/Systems/system/Processors" }, "SerialNumber": "1069A8T ", "Status": { "Health": "OK", "HealthRollup": "OK", "State": "Disabled" }, "SystemType": "Physical" } The result of redfish Validator tool: Counter Optional': 2480, 'metadataNamespaces': 1602, 'passGet': 191, 'serviceNamespaces': 69, 'invalidPropertyValue': 10, 'warningPresent': 6, 'passAction': 6, 'optionalAction': 5, 'warnDeprecated': 2, 'unverifiedComplexAdditional': 1}) Validation has succeeded. Change-Id: Ie4b7931404fd072df4c6f215656436f07d3e4cde Signed-off-by: Carol Wang <wangkair@cn.ibm.com>
Diffstat (limited to 'include/pam_authenticate.hpp')
0 files changed, 0 insertions, 0 deletions