diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2020-08-20 23:57:40 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2020-09-02 16:31:59 +0300 |
commit | f97ddba7015a553f13639233f7e5d3fb0152d0b2 (patch) | |
tree | b3b610b63a35c9b88638b7544f510d30e7af06af /static | |
parent | f92af38923c3651d5def0cc60abd5ed2f802fbe7 (diff) | |
download | bmcweb-f97ddba7015a553f13639233f7e5d3fb0152d0b2.tar.xz |
Add "Links""SoftwareImages"
SoftwareImages was added in Manager in 1_6_0 and Bios in 1_1_0.
Use the existing getActiveFwVersion function but rename to
populateFirmwareInformation. Changed the mapper call from a GetObject to a
GetSubTree. Added some debug to the function.
Tested: Validator passes.
curl -k https://$bmc/redfish/v1/Managers/bmc
....
"Links": {
"ActiveSoftwareImage": {
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/e4e1c69d"
},
"ManagerForChassis": [
....
"@odata.id": "/redfish/v1/Chassis/chassis"
},
"SoftwareImages": [
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/730944ed"
},
{
"@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/e4e1c69d"
}
],
"SoftwareImages@odata.count": 2
},
...
Change-Id: I20798852a2f62575854820bff36175dda38c7dbc
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'static')
0 files changed, 0 insertions, 0 deletions