Request
curl -k -u admin:Abc@123 https://10.0.0.1/redfish/v1/Chassis/1/Oem/Cisco/CiscoServerDiagnostics
Response
{
"@odata.id": "/redfish/v1/Chassis/1/Oem/Cisco/CiscoServerDiagnostics",
"@odata.type": "#CiscoServerDiagnostics.v1_0_0.CiscoServerDiagnostics",
"@odata.context": "/redfish/v1/$metadata#CiscoServerDiagnostics.CiscoServerDiagnostics",
"Name": "Server Diagnostics",
"Description": "This object is intended to identify the failures in the hardware.",
"Components": [{
"Id": "/redfish/v1/Systems/WZP252306YT/EthernetInterfaces",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/Processors",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/Storage",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/Memory",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Managers/CIMC",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/PCIeDevices/3",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/EthernetInterfaces/MLOM.0",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/EthernetInterfaces/MLOM.1",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/PCIeDevices/FRONT-NVME-1",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/PCIeDevices/FRONT-NVME-2",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/PCIeDevices/FRONT-NVME-3",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/PCIeDevices/FRONT-NVME-4",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/Processors/CPU1",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/Storage/MRAID",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/Storage/MSTOR-RAID",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/Storage/MSTOR-RAID/Drives/253",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/Storage/MSTOR-RAID/Drives/254",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}, {
"Id": "/redfish/v1/Systems/WZP252306YT/Storage/MSTOR-RAID/Drives",
"SupportedTestTypes": ["Quick", "Comprehensive"]
}],
"Components@odata.count": 19,
"Actions": {
"#CiscoServerDiagnostics.Start": {
"target": "/redfish/v1/Chassis/1/Oem/Cisco/CiscoServerDiagnostics/Actions/CiscoServerDiagnostics.Start",
"@odata.type": "#CiscoServerDiagnostics.v1_0_0.CiscoServerDiagnostics",
"Targets@Redfish.AllowableValues": ["Array of Redfish OData IDs indicating which components are to be diagnosed. Empty list to indicate all the components."],
"ExcludeTargets@Redfish.AllowableValues": ["Array of Redfish OData IDs indicating which components to be excluded from diagnostics."],
"TestType@Redfish.AllowableValues": ["The type of diagnostic test to be started. Allowable values are Quick and Comprehensive. By default, comprehensive tests will be started."]
},
"#CiscoServerDiagnostics.Cancel": {
"target": "/redfish/v1/Chassis/1/Oem/Cisco/CiscoServerDiagnostics/Actions/CiscoServerDiagnostics.Cancel",
"@odata.type": "#CiscoServerDiagnostics.v1_0_0.CiscoServerDiagnostics",
"Targets@Redfish.AllowableValues": ["Array of Redfish OData IDs indicating which components are to be cancelled. Empty list to indicate all the components."]
}
}
Table 2. Action Parameters
Properties
|
Type
|
Notes
|
@odata.id |
String (URI) |
The unique identifier for a resource. |
@odata.type |
String |
The type of a resource. |
@odata.context |
String |
The OData description of a payload. |
Description |
String |
The description of this resource. |
Name |
String |
The name of the resource. |
Components
|
Array |
An array of supported components links and its configurations. |
Id |
String (URI) |
The unique identifier for the supported component. |
SupportedTestTypes |
Array |
An array of supported test types.
Possible property values:
Note
|
Quick takes 30-60 minutes to complete.
Comprehensive takes many hours to complete.
|
|
Actions {} |
|
The Redfish actions available for this Resource. |