Summary
Send a gNOI cancel reboot message.
Description
Send a cancel reboot message over gRPC gNOI to a host and return the results.
Route
POST /automationgateway/gnoi/cancel_reboot/execute
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
host |
string |
yes |
A host from the gRPC inventory |
message |
string |
yes |
The reboot message to send |
subcomponents |
array |
no |
A list of subcomponents indicates a containment relationship |
Copied to Clipboard
{
"host": "xr9kv-atl",
"message": "1",
"subcomponents": {
"origin": "openconfig-platform",
"elem": [
{
"name": "components"
},
{
"name": "component",
"key": {
"name": "0/RP0"
}
},
{
"name": "state"
}
]
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"host": {
"title": "host",
"type": "string",
"$ref": "deviceData#/definitions/deviceName"
},
"message": {
"title": "message",
"type": "string",
"examples": [
"1"
]
},
"subcomponents": {
"title": "subcomponents",
"type": "array",
"items": {
"type": "object",
"properties": {}
},
"examples": [
{
"origin": "openconfig-platform",
"elem": [
{
"name": "components"
},
{
"name": "component",
"key": {
"name": "0/RP0"
}
},
{
"name": "state"
}
]
}
]
}
},
"required": [
"host",
"message"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
gNOI response object. |
Copied to Clipboard
{
"key": "stdout",
"status": "200"
}