Post by saravanans on Apr 11, 2023 6:49:11 GMT
Hi all,
I had added "AdditionalFirmwareVersions" property in Managers Resource (OpenBMC)
In Managers resource, I have added the "Commandshell" property. It doesn't show any error in Redfish-Service- validator tool And I Follow the same procedure for the "AdditionalfirmwareVersions" but it shows the error in redfish-service-validator tool shown below,
Please find the Response of Managers Resource below,
Please find the error in Report,
Please find the response of command shell it is passing,
Please find the code snippet i have added in managers.hpp
Please correct me if my understanding is wrong.
Thanks.
I had added "AdditionalFirmwareVersions" property in Managers Resource (OpenBMC)
In Managers resource, I have added the "Commandshell" property. It doesn't show any error in Redfish-Service- validator tool And I Follow the same procedure for the "AdditionalfirmwareVersions" but it shows the error in redfish-service-validator tool shown below,
ERROR - AdditionalFirmwareVersions not defined in schema Manager.v1_14_0 (check version, spelling and casing)
ERROR - Attempting FirmwareVersion (from AdditionalFirmwareVersions)?
ERROR - FirmwareVersion: Expected string value, got type class 'dict'
Please find the Response of Managers Resource below,
{
"@odata.id": "/redfish/v1/Managers/bmc",
"@odata.type": "#Manager.v1_14_0.Manager",
"Actions": {
"#Manager.Reset": {
"@Redfish.ActionInfo": "/redfish/v1/Managers/bmc/ResetActionInfo",
"target": "/redfish/v1/Managers/bmc/Actions/Manager.Reset"
},
"#Manager.ResetToDefaults": {
"ResetType@Redfish.AllowableValues": [
"ResetAll"
],
"target": "/redfish/v1/Managers/bmc/Actions/Manager.ResetToDefaults"
}
},
"AdditionalFirmwareVersions": {
"Bootloader": "BootManager",
"Kernel": "Saravanan"
},
"CommandShell": {
"MaxConcurrentSessions": 13182,
"ServiceEnabled": true
},
"DateTime": "2023-01-26T08:13:10+00:00",
"DateTimeLocalOffset": "+00:00",
"Description": "Baseboard Management Controller",
"EthernetInterfaces": {
"@odata.id": "/redfish/v1/Managers/bmc/EthernetInterfaces"
},
........}
Please find the error in Report,
Please find the response of command shell it is passing,
Please find the code snippet i have added in managers.hpp
Please correct me if my understanding is wrong.
Thanks.