Function
Receives troubleshooting instructions.
Format
Operation type: GET
URL: https://{ip}:{port}v1/node-manager/fault-handling-command
- The {ip} field uses the value of the environment variable POD_IP within the server container.
- The {port} field uses the value of the node_manager_port parameter in the node_manager.json configuration file.
Request Parameters
Parameter
|
Type
|
Description
|
cmd
|
String
|
Mandatory.
For receiving troubleshooting instructions.
- PAUSE_ENGINE: pauses the inference engine.
- REINIT_NPU: clears the NPU.
- START_ENGINE: starts the inference engine.
- STOP_ENGINE: stops the inference engine.
|
Usage Example
Request example:
GET https://{ip}:{port}/v1/node-manager/running-status
{
"cmd": "PAUSE_ENGINE"
}
Response example:
{
}
Output Description
- If the status code 200 is returned, the command is successfully executed.
- If the status code 400 is returned or there is no response, the command fails.