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_14044/expected.out
Normal file
1
plugins/inputs/gnmi/testcases/issue_14044/expected.out
Normal file
|
@ -0,0 +1 @@
|
|||
ifdesc,name=FourHundredGigE0/2/0/3,path=openconfig-interfaces:/interfaces/interface/state,source=127.0.0.1 description="REDACTED" 1696324083211000000
|
33
plugins/inputs/gnmi/testcases/issue_14044/responses.json
Normal file
33
plugins/inputs/gnmi/testcases/issue_14044/responses.json
Normal file
|
@ -0,0 +1,33 @@
|
|||
[
|
||||
{
|
||||
"update": {
|
||||
"timestamp": "1696324083211000000",
|
||||
"prefix": {
|
||||
"origin": "openconfig-interfaces"
|
||||
},
|
||||
"update": [
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "interfaces"
|
||||
},
|
||||
{
|
||||
"name": "interface",
|
||||
"key": {
|
||||
"name": "FourHundredGigE0/2/0/3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "state"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"json_ietf_val": "eyJkZXNjcmlwdGlvbiI6IlJFREFDVEVEIn0="
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
13
plugins/inputs/gnmi/testcases/issue_14044/telegraf.conf
Normal file
13
plugins/inputs/gnmi/testcases/issue_14044/telegraf.conf
Normal file
|
@ -0,0 +1,13 @@
|
|||
[[inputs.gnmi]]
|
||||
addresses = ["dummy"]
|
||||
name_override = "gnmi"
|
||||
redial = "10s"
|
||||
encoding = "json_ietf"
|
||||
path_guessing_strategy = "common path"
|
||||
|
||||
[[inputs.gnmi.subscription]]
|
||||
name = "ifdesc"
|
||||
origin = "openconfig-interfaces"
|
||||
path = '/interfaces/interface[name=FourHundredGigE*]/state/description'
|
||||
subscription_mode = "sample"
|
||||
sample_interval = "60s"
|
Loading…
Add table
Add a link
Reference in a new issue