1
0
Fork 0

Adding upstream version 1.34.4.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-24 07:26:29 +02:00
parent e393c3af3f
commit 4978089aab
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4963 changed files with 677545 additions and 0 deletions

View file

@ -0,0 +1 @@
interfaces,name=eth42,path=openconfig-interfaces:/interfaces/interface,source=127.0.0.1 interfaces/interface/descr="eth42",interfaces/interface/config/id=42425u,interfaces/interface/state/in_pkts=5678u,interfaces/interface/state/out_pkts=5125u 1673608605875353770

View file

@ -0,0 +1,79 @@
[
{
"update": {
"timestamp": "1673608605875353770",
"prefix": {
"origin": "openconfig-interfaces",
"elem": [
{
"name": "interfaces"
},
{
"name": "interface",
"key":{"name":"eth42"}
}
],
"target": "subscription"
},
"update": [
{
"path": {
"elem": [
{
"name": "descr"
}
]
},
"val": {
"stringVal": "eth42"
}
},
{
"path": {
"elem": [
{
"name": "config"
},
{
"name": "id"
}
]
},
"val": {
"uintVal": "42425"
}
},
{
"path": {
"elem": [
{
"name": "state"
},
{
"name": "in-pkts"
}
]
},
"val": {
"uintVal": "5678"
}
},
{
"path": {
"elem": [
{
"name": "state"
},
{
"name": "out-pkts"
}
]
},
"val": {
"uintVal": "5125"
}
}
]
}
}
]

View file

@ -0,0 +1,24 @@
[[inputs.gnmi]]
addresses = ["dummy"]
name_override = "gnmi"
redial = "10s"
canonical_field_names = true
trim_field_names = true
[[inputs.gnmi.subscription]]
name = "interfaces"
origin = "openconfig-interfaces"
path = "/interfaces/interface/descr"
subscription_mode = "sample"
sample_interval = "10s"
[[inputs.gnmi.subscription]]
name = "interfaces"
origin = "openconfig-interfaces"
path = "/interfaces/interface/config/id"
subscription_mode = "sample"
sample_interval = "10s"
[[inputs.gnmi.subscription]]
name = "interfaces"
origin = "openconfig-interfaces"
path = "/interfaces/interface/state"
subscription_mode = "sample"
sample_interval = "10s"