Validate APCB Token before applying PATCH#67
Open
aasboddu wants to merge 1 commit into
Open
Conversation
Validate the APCB tokens before servicing the PATCH
request.
Tested: verified on Congo platform
'''
curl -s -k -u root:0penBmc -H"Content-type: application/json" -X PATCH
https://congo-0131.amd.com/redfish/v1/Systems/system/Processors/P0/Oem/AMD/SocConfiguration/Token
-d @test_payload_3.json
{
"error": {
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The property CbsCmnSocConOutSerialPort_0xFFF9F34 is not in the
list of valid properties for the resource.",
"MessageArgs": [
"CbsCmnSocConOutSerialPort_0xFFF9F34"
],
"MessageId": "Base.1.19.PropertyUnknown",
"MessageSeverity": "Warning",
"Resolution": "Unknown APCB configuration token 'CbsCmnSocConOutSerialPort_0xFFF9F34'.
Did you mean 'CbsCmnSocConOutSerialPort_0xFFF9F34D'? Use GET .../Oem/AMD/SocConfiguration/Token
to list all valid token names."
}
],
"code": "Base.1.19.PropertyUnknown",
"message": "The property CbsCmnSocConOutSerialPort_0xFFF9F34 is not in the list of valid properties for the resource."
}
}
'''
Signed-off-by: Aashray Boddu <Aashray.Boddu@amd.com>
ashok2ku
approved these changes
May 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Validate the APCB tokens before servicing the PATCH request.
Tested: verified on Congo platform