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
1
plugins/inputs/gnmi/testcases/issue_14530/expected.out
Normal file
1
plugins/inputs/gnmi/testcases/issue_14530/expected.out
Normal file
|
@ -0,0 +1 @@
|
|||
ifcounters,name=Ethernet35,path=/interfaces/interface/state/counters,source=127.0.0.1 in_broadcast_pkts=0u,in_discards=0u,in_errors=0u,in_fcs_errors=0u,in_multicast_pkts=0u,in_octets=0u,in_pkts=0u,in_unicast_pkts=0u,out_broadcast_pkts=0u,out_discards=0u,out_errors=0u,out_multicast_pkts=0u,out_octets=0u,out_pkts=0u,out_unicast_pkts=0u 1704442117721474264
|
208
plugins/inputs/gnmi/testcases/issue_14530/responses.json
Normal file
208
plugins/inputs/gnmi/testcases/issue_14530/responses.json
Normal file
|
@ -0,0 +1,208 @@
|
|||
[
|
||||
{
|
||||
"update": {
|
||||
"timestamp": "1704442117721474264",
|
||||
"prefix": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "interfaces"
|
||||
},
|
||||
{
|
||||
"name": "interface",
|
||||
"key": {
|
||||
"name": "Ethernet35"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "state"
|
||||
},
|
||||
{
|
||||
"name": "counters"
|
||||
}
|
||||
]
|
||||
},
|
||||
"update": [
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "in-broadcast-pkts"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "in-discards"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "in-errors"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "in-fcs-errors"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "in-multicast-pkts"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "in-octets"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "in-pkts"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "in-unicast-pkts"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "out-broadcast-pkts"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "out-discards"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "out-errors"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "out-multicast-pkts"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "out-octets"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "out-pkts"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "out-unicast-pkts"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"uintVal": "0"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
14
plugins/inputs/gnmi/testcases/issue_14530/telegraf.conf
Normal file
14
plugins/inputs/gnmi/testcases/issue_14530/telegraf.conf
Normal file
|
@ -0,0 +1,14 @@
|
|||
[[inputs.gnmi]]
|
||||
addresses = ["dummy"]
|
||||
encoding = "json_ietf"
|
||||
tagexclude = ["path"]
|
||||
|
||||
[inputs.gnmi.tags]
|
||||
test_tag = "test"
|
||||
|
||||
[[inputs.gnmi.subscription]]
|
||||
name = "ifcounters"
|
||||
origin = "openconfig"
|
||||
path = "/interfaces/interface/state/counters"
|
||||
subscription_mode = "sample"
|
||||
sample_interval = "10s"
|
Loading…
Add table
Add a link
Reference in a new issue