Summary
Send a gNOI clear interface counters.
Description
Send a cancel interface counters gRPC message.
Route
POST /automationgateway/gnoi/clear_interface_counters/execute
Roles
admin
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
host |
string |
yes |
A host from the gRPC inventory |
interface |
array |
yes |
Host interface |
Copied to Clipboard
{
"host": "xr9kv-atl",
"interface": [
{
"origin": "openconfig-interfaces",
"elem": [
{
"name": "[object Object]"
}
]
},
{
"origin": "openconfig-interfaces",
"elem": [
{
"name": "[object Object]"
}
]
},
{
"origin": "openconfig-interfaces",
"elem": [
{
"name": "[object Object]"
}
]
},
{
"origin": "openconfig-interfaces",
"elem": [
{
"name": "[object Object]"
},
{
"name": "[object Object]"
},
{
"name": "[object Object]"
},
{
"name": "[object Object]"
},
{
"name": "[object Object]"
}
]
},
{
"origin": "openconfig-interfaces",
"elem": [
{
"name": "[object Object]"
},
{
"name": "[object Object]"
}
]
}
]
}
Copied to Clipboard
{
"type": "object",
"properties": {
"host": {
"title": "host",
"type": "string",
"$ref": "deviceData#/definitions/deviceName"
},
"interface": {
"title": "interface",
"type": "array",
"items": {
"type": "object",
"properties": {
"origin": {
"type": "string",
"examples": [
"openconfig-interfaces"
]
},
"elem": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"examples": [
{
"name": "interfaces"
},
{
"name": "interface",
"key": {
"name": "MgmtEth0/RP0/CPU0/0"
}
}
]
}
}
}
}
}
}
}
},
"required": [
"host",
"interface"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
result |
object |
gNOI response object. |
Copied to Clipboard
{
"key": "stdout",
"status": "200"
}