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
2
plugins/inputs/gnmi/testcases/issue_14833/expected.out
Normal file
2
plugins/inputs/gnmi/testcases/issue_14833/expected.out
Normal file
|
@ -0,0 +1,2 @@
|
|||
interfaces-counter,name=AppGigabitEthernet1/0/1,source=127.0.0.1 discontinuity_time="2023-11-15T05:50:40+00:00" 1708069483623763000
|
||||
interfaces-counter,name=FortyGigabitEthernet1/1/1,source=127.0.0.1 discontinuity_time="2023-11-15T05:50:40+00:00" 1708069483623763000
|
51
plugins/inputs/gnmi/testcases/issue_14833/responses.json
Normal file
51
plugins/inputs/gnmi/testcases/issue_14833/responses.json
Normal file
|
@ -0,0 +1,51 @@
|
|||
[
|
||||
{
|
||||
"update": {
|
||||
"timestamp": "1708069483623763000",
|
||||
"update": [
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "Cisco-IOS-XE-interfaces-oper:interfaces"
|
||||
},
|
||||
{
|
||||
"name": "interface",
|
||||
"key": {
|
||||
"name": "AppGigabitEthernet1/0/1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "statistics"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"jsonIetfVal": "eyJkaXNjb250aW51aXR5LXRpbWUiOiIyMDIzLTExLTE1VDA1OjUwOjQwKzAwOjAwIn0K"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": {
|
||||
"elem": [
|
||||
{
|
||||
"name": "Cisco-IOS-XE-interfaces-oper:interfaces"
|
||||
},
|
||||
{
|
||||
"name": "interface",
|
||||
"key": {
|
||||
"name": "FortyGigabitEthernet1/1/1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "statistics"
|
||||
}
|
||||
]
|
||||
},
|
||||
"val": {
|
||||
"jsonIetfVal": "eyJkaXNjb250aW51aXR5LXRpbWUiOiIyMDIzLTExLTE1VDA1OjUwOjQwKzAwOjAwIn0K"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
9
plugins/inputs/gnmi/testcases/issue_14833/telegraf.conf
Normal file
9
plugins/inputs/gnmi/testcases/issue_14833/telegraf.conf
Normal file
|
@ -0,0 +1,9 @@
|
|||
[[inputs.gnmi]]
|
||||
addresses = ["dummy"]
|
||||
|
||||
[[inputs.gnmi.subscription]]
|
||||
name = "interfaces-counter"
|
||||
origin = "rfc7951"
|
||||
path = "/Cisco-IOS-XE-interfaces-oper:interfaces/interface/statistics"
|
||||
subscription_mode = "sample"
|
||||
sample_interval = "5s"
|
Loading…
Add table
Add a link
Reference in a new issue