Skip to main content

PATCH – Configure AMT test options

Use the PATCH method to configure AMT test options in Bios resource for Redfish service.

Note
You can retrieve AMT test option “Memory_AdvMemTestOptions” first at the following URL: https://<BMC_IPADDR>/redfish/v1/Systems/1/Bios. 0 is the default setting.

Request URL

PATCH https://<BMC_IPADDR>/redfish/v1/Systems/1/Bios/Pending

Request body

Properties to be updated are shown as bellow, all of these properties can be changed individually.

FieldTypeDescription

Attributes

ObjectExpanded, the pending data of BIOS attributes.

Response

The response returns same content as GET operation with updated properties.

Status code

HTTP Status CodeError Message ID
200RebootRequired
403InsufficientPrivilege
500InternalError
503ServiceUnavailable

Example

The following example is PATCH body.

{
"Attributes": {
"Memory_MemoryTest": "Enabled",
"Memory_AdvMemTestOptions": 0xF0000,
"SystemRecovery_POSTWatchdogTimer": "Disabled"
}
}

After the PATCH operation runs successfully, querying the system resource returns below example JSON response:

{
"Name": "Pending",
"@odata.type": "#Bios.v1_2_0.Bios",
"@odata.id": "/redfish/v1/Systems/1/Bios/Pending",
"@odata.context": "/redfish/v1/$metadata#Bios.Bios",
"AttributeRegistry": "BiosAttributeRegistry.1.0.0",
"@odata.etag": "\"2856be2dd5340359614bb4\"",
"Description": "Bios Pending Setting",
"Attributes": {
"Memory_AdvMemTestOptions": 983040,
"Memory_MemoryTest": "Enabled",
"SystemRecovery_POSTWatchdogTimer": "Disabled"
},
"Id": "Pending",
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_1_2.Message",
"MessageId": "ExtendedError.1.2.RebootRequired",
"Resolution": "Reboot the computer system for the changes to take effect.",
"MessageArgs": [],
"MessageSeverity": "Warning",
"Message": "Changes completed successfully, but these changes will not take effect until next reboot."
}
]
}