Redfish - Inspur TS860M5 User Manual

Table of Contents

Advertisement

Execute the command socflash if=Imagefile to update image1;
Execute the command socflash if=Imagefile offset=0x2000000 to update image2.

9.14 Redfish

Redfish is a new management standard that uses the hypermedia RESTful interface to
express data. It is oriented to the model, can express the relationship between modern
system components and the semantics of services and components, easy to expand. For
servers that can provide Redfish, the customer can obtain the BMC information by sending
an HTTP request and specify the operation for the BMC.
The client can access the Redfish service through the HTTP client. The following is the use of
curl in Linux to send the request that can operate on redfish. The usual request operations
have "GET", "PUT", "POST", "PATCH" and "DELETE", and the data sent and returned both are
in json format.
The username and password below refer to those of BMC users with administrator
privileges.
9.14.1 GET Basic Format
The client can get the data under the specified URL via HTTP GET. The basic format of access
is as follows:
curl -k -u username:password https://BMC_IP:8080/redfish/v1/Chassis/1
9.14.2 POST Basic Format
The client can send data to the specified URL via HTTP POST, so that the server can configure
accordingly. The basic format of POST access is as follows:
curl -k -u username:password https://BMC_IP:8080/redfish/v1/Systems/System1/
Actions/ComputerSystem.Reset -X POST -H 'Content-Type: application/json' -d
'{"ResetType":"ForceOff"}'
Notes:
https://BMC_IP:8080/redfish/v1/Systems/System1/Actions/ComputerSystem.Reset is the
requested URL.
The parameters behind –H is the format of the requested data.
The parameters behind –d is the requested data.
BMC Settings
103

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents