Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
|
@ -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
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,23 @@
|
|||
[[inputs.gnmi]]
|
||||
addresses = ["dummy"]
|
||||
name_override = "gnmi"
|
||||
redial = "10s"
|
||||
canonical_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"
|
Loading…
Add table
Add a link
Reference in a new issue