Restarting Service Software
Function
This interface is used to restart the specified agent software.
Syntax
Operation type: POST
URL: https://device_ip/redfish/v1/Softwares/DockerServices/docker_id/Actions/DockerServiceReset
Request header:
X-Auth-Token: auth_value
Request message body: None
Parameters
Parameter |
Description |
Value |
---|---|---|
device_ip |
IP address for logging in to a device. |
An IPv4 or IPv6 address. |
dockert_id |
ID of a service software resource. |
You can obtain the value from redfish/v1/Softwares/DockerServices. |
auth_value |
Authentication parameter contained in the request. |
You can obtain the value from the session created by using /redfish/v1/SessionService/Sessions. |
Usage Guidelines
None
Example
Request:
POST https://10.10.10.10/redfish/v1/Softwares/DockerServices/1/Actions/DockerServiceReset
Request header:
X-Auth-Token: 6599174c38c36838737d9749179e1ee1
Request message body: None
Response:
{
message: " Restart docker services docker id:[1] successfully"
status: 202
}
Response code: 202
Output Description
Attribute |
Type |
Description |
---|---|---|
status |
Character string |
Response codes. |
message |
Character string |
Response message. |