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,
![Screenshot from 2023-04-11 11-59-15.png](//storage.forums.net/6473377/thumbnailer/QDtJZbhvBvQvPJM0TDFQ.png)
Please find the response of command shell it is passing,
![Screenshot from 2023-04-11 11-59-43.png](//storage.forums.net/6473377/thumbnailer/HNUae0x0oBzzmEfYFxrU.png)
Please find the code snippet i have added in managers.hpp
![Screenshot from 2023-04-11 11-38-24.png](//storage.forums.net/6473377/thumbnailer/uidDZqgujoalDxzSTiGN.png)
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,
![Screenshot from 2023-04-11 11-59-15.png](http://storage.forums.net/6473377/thumbnailer/QDtJZbhvBvQvPJM0TDFQ.png)
Please find the response of command shell it is passing,
![Screenshot from 2023-04-11 11-59-43.png](http://storage.forums.net/6473377/thumbnailer/HNUae0x0oBzzmEfYFxrU.png)
Please find the code snippet i have added in managers.hpp
![Screenshot from 2023-04-11 11-38-24.png](http://storage.forums.net/6473377/thumbnailer/uidDZqgujoalDxzSTiGN.png)
Please correct me if my understanding is wrong.
Thanks.