Cherry-pick of upstream commit https://gerrit.openbmc.org/c/openbmc/bmcweb/+/42221
Tested using upstream flash image on hardware simulator.
Implement LocationIndicatorActive for PowerSupplies...
Weird, that test isn't altered with this commit, right? I would think it would fail upstream also with the constexpr. Oh well, guess best to just leave as-is.
Seems like if we leave this at line 2230 it would be one less potential future rebase merge conflict to deal with. I don't see userSelf being used before that line.
In the commit message there are two places that specify the new intervals. One is 5 times / 15 seconds in the paragraph. Bottom of the message matches the 4 times / 30 seconds here. For clarity bes...
Example of using object_path type to match just the last part of a path:
[getValidChassisPath](https://github.com/ibm-openbmc/bmcweb/blob/7d56dde64a459a2d8a5a68e11638112787e4a682/redfish-core/incl...
Above on L1230-1231 we are setting the @odata.id value before doing the async D-Bus call. On failure that will be part of the response. I think for Redfish that is not supposed to be in the respons...
I think it will be helpful to include the command output or more details of the problem being fixed by this change in the commit message. It will help in later releases when this patch is being reb...
I think it will be helpful to include the command output or more details of the problem being fixed by this change in the commit message. It will help in later releases when this patch is being reb...
Note: Downstream 1110 bmcweb uses the hard-coded path to total_power. So adding this interface will not break it. Future direction is to get the upstream bmcweb commit merged using this interface a...
A chassis can have a sensor which tracks the total power consumption. Clients such as bmcweb need a programmatic approach to finding the unique sensor from the chassis.
A design discussion [1] i...
Changes to add the GenerateSecretKeyRequired incorrectly removed the audit logging for session creation. [1] Adding it back.
Tested:
Created session. Checked audit entry added using both ausear...
But neither of these (on line 2177 now) have the portId included. Am I missing it?
2177:
```asyncResp->res.jsonValue["@odata.id"] = boost::urls::format("/redfish/v1/Managers/{}/DedicatedNetwor...
I see that this will work, but it does with the understanding that getPrettyName() only uses the first element of the first pair.
For upstream it seems like handleFanPath() would need to be alte...