Summary
Send a gNOI reboot status command.
Description
Send a reboot status command over gRPC gNOI to a host and return the results.
Route
POST /automationgateway/gnoi/reboot_status/execute
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
host |
string |
yes |
A host from the gRPC inventory |
subcomponents |
array |
no |
- |
Copied to Clipboard
{
"host": "xr9kv-atl",
"subcomponents": [
{
"origin": "openconfig-platform",
"elem": [
{
"name": "components"
},
{
"name": "component",
"key": {
"name": "0/RP0"
}
},
{
"name": "state"
}
]
},
{
"origin": "openconfig-platform",
"elem": [
{
"name": "components"
},
{
"name": "component",
"key": {
"name": "0/RP0"
}
},
{
"name": "state"
}
]
},
{
"origin": "openconfig-platform",
"elem": [
{
"name": "components"
},
{
"name": "component",
"key": {
"name": "0/RP0"
}
},
{
"name": "state"
}
]
},
{
"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"
},
"subcomponents": {
"title": "subcomponents",
"items": {
"type": "object",
"properties": {},
"examples": [
{
"origin": "openconfig-platform",
"elem": [
{
"name": "components"
},
{
"name": "component",
"key": {
"name": "0/RP0"
}
},
{
"name": "state"
}
]
}
]
}
}
},
"required": [
"host"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
gNOI response object. |
Copied to Clipboard
{
"key": "result",
"status": "200"
}