curl -GET https://10.10.10.10/redfish/v1/Chassis/1
/LogServices/SEL/Actions/LogService.ClearLog -d '{}' -
u admin:Admin123 --insecure –v
Examples of Server Tasks for 3.1(3)
This chapter includes the following sections:
•
Examples of Updates from Previous Releases, on page 51
•
Examples of New Additions in 3.1(3) Release, on page 59
Examples of Updates from Previous Releases
This section includes the following updates to responses from previous releases:
•
Viewing Specific System Information, on page 51
•
Retrieving Chassis, on page 53
•
Retrieving Chassis Power Details, on page 54
•
Retrieving Cisco IMC Information, on page 55
•
Retrieving Details of a Specific SEL Entry, on page 57
•
Retrieving Service Root without Authentication, on page 58
•
Viewing User Accounts, on page 58
Viewing Specific System Information
Response:
{
"SerialNumber":"FCH1845V1X6",
"Id":"FCH1845V1X6",
"IndicatorLED":"Off",
"PowerState":"On",
"ProcessorSummary":{
"Model":"Intel(R) Xeon(R) CPU E5-2695 v3 @ 2.30GHz",
"Count":2
},
"NetworkInterfaces":{
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/NetworkInterfaces"
},
"Storage":{
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/Storage"
},
"BIOS":{
"@odata.id":"/redfish/v1/Systems/FCH1845V1X6/BIOS"
},
"UUID":"C68B1C5B-C012-4C08-BACC-A45BFE15CC8F",
"Name":"UCS C220 M4L",
"@odata.type":"#Cisco_ComputerSystem",
"Manufacturer":"Cisco Systems",
"Actions":{
"#ComputerSystem.Reset":{
Cisco UCS C-Series Servers REST API Programmer's Guide
51
Cisco IMC REST API Examples
Examples of Server Tasks for 3.1(3)