Skip to content

Instantly share code, notes, and snippets.

@brh55
Last active January 3, 2019 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brh55/3243b43eefbc8745ebd37677744f75db to your computer and use it in GitHub Desktop.
Save brh55/3243b43eefbc8745ebd37677744f75db to your computer and use it in GitHub Desktop.
Telemetry mock data
{
"name": "leaf1",
"children": [
{
"name":"transmitted-packets",
"timestamp":1538521275265,
"value":1521726,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"aged-out-entries",
"timestamp":1538521275265,
"value":0,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"discarded-packets",
"timestamp":1538521275265,
"value":6,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"bad-packets",
"timestamp":1538521275265,
"value":0,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"received-packets",
"timestamp":1538521275265,
"value":1521009,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"discarded-tl-vs",
"timestamp":1538521275265,
"value":144206,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"unrecognized-tl-vs",
"timestamp":1538521275265,
"value":144206,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"out-of-memory-errors",
"timestamp":1538521275265,
"value":0,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"encapsulation-errors",
"timestamp":1538521275265,
"value":0,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"table-overflow-errors",
"timestamp":1538521275265,
"value":2342,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"label-to-recurse",
"timestamp":1538521275265,
"value":1048577,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1",
"parentPath":"/fib-detail-entry/next-fib-entry-path/more-detail-about-path"
}
},
{
"name":"next-hop-mask-length",
"timestamp":1538521275265,
"value":0,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1",
"parentPath":"/fib-detail-entry/next-fib-entry-path/more-detail-about-path"
}
},
{
"name":"tunnle-endpoint-id",
"timestamp":1538521275265,
"value":0,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1",
"parentPath":"/fib-detail-entry/next-fib-entry-path/more-detail-about-path"
}
},
{
"name":"lisprlocid",
"timestamp":1538521275265,
"value":0,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1",
"parentPath":"/fib-detail-entry/next-fib-entry-path/more-detail-about-path"
}
},
{
"name":"number-of-dependencies-this-path",
"timestamp":1538521275265,
"value":3,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1",
"parentPath":"/fib-detail-entry/next-fib-entry-path/more-detail-about-path"
}
},
{
"name":"robin-reset-value",
"timestamp":1538521275265,
"value":0,
"tags":{
"node-name":"0/0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1",
"parentPath":"/fib-detail-entry/next-fib-entry-path/more-detail-about-path"
}
},
{
"name":"transmitted-packets",
"timestamp":1538521275266,
"value":1243,
"tags":{
"node-name":"0/RP0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"aged-out-entries",
"timestamp":1538521275266,
"value":0,
"tags":{
"node-name":"0/RP0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"discarded-packets",
"timestamp":1538521275266,
"value":0,
"tags":{
"node-name":"0/RP0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"bad-packets",
"timestamp":1538521275266,
"value":0,
"tags":{
"node-name":"0/RP0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"received-packets",
"timestamp":1538521275266,
"value":0,
"tags":{
"node-name":"0/RP0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"discarded-tl-vs",
"timestamp":1538521275266,
"value":0,
"tags":{
"node-name":"0/RP0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"unrecognized-tl-vs",
"timestamp":1538521275266,
"value":0,
"tags":{
"node-name":"0/RP0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"out-of-memory-errors",
"timestamp":1538521275266,
"value":0,
"tags":{
"node-name":"0/RP0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"encapsulation-errors",
"timestamp":1538521275266,
"value":0,
"tags":{
"node-name":"0/RP0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
},
{
"name":"table-overflow-errors",
"timestamp":1538521275266,
"value":3932,
"tags":{
"node-name":"0/RP0/CPU0",
"subscription":"telemetrytest",
"encoding-path":"Cisco-IOS-XR-ethernet-lldp-oper/lldp/nodes/node/statistics",
"nodeId":"leaf1"
}
}
]
}
{
"name":"leaf1",
"subscriptionIdStr":"telemetrytest",
"encodingPath":"Cisco-IOS-XR-ethernet-lldp-oper:lldp/nodes/node/statistics",
"collection_id":4675967,
"collection_start_time":1538521275262,
"msg_timestamp":1538521275262,
"collection_end_time":1538521275267,
"children":[
{
"name": "first",
"timestamp":"1538521275265",
"value":null,
"children":[
{
"name":"keys",
"value":null,
"children":[
{
"name":"node-name",
"value":"0/0/CPU0"
}
]
},
{
"name":"content",
"value":null,
"children":[
{
"name":"transmitted-packets",
"value":1521726
},
{
"name":"aged-out-entries",
"value":0
},
{
"name":"discarded-packets",
"value":6
},
{
"name":"bad-packets",
"value":0
},
{
"name":"received-packets",
"value":1521009
},
{
"name":"discarded-tl-vs",
"value":144206
},
{
"name":"unrecognized-tl-vs",
"value":144206
},
{
"name":"out-of-memory-errors",
"value":0
},
{
"name":"encapsulation-errors",
"value":0
},
{
"name":"queue-overflow-errors",
"value":"hello"
},
{
"name":"table-overflow-errors",
"uint64Value":"2342"
},
{
"name":"fib-detail-entry",
"children":[
{
"name":"next-fib-entry-path",
"children":[
{
"name":"more-detail-about-path",
"children":[
{
"name":"ip-address-to-recurse",
"value":"10.200.96.196/32"
},
{
"name":"label-to-recurse",
"value":1048577
},
{
"name":"detail-next-hop-prefix",
"value":""
},
{
"name":"next-hop-mask-length",
"value":0
},
{
"name":"interface-associated-path",
"value":"MgmtEth0/RP0/CPU0/0"
},
{
"name":"next-hop-interface",
"value":"<No interface>"
},
{
"name":"next-hop-vrf",
"bytesValue":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
{
"name":"tunnle-endpoint-id",
"value":0
},
{
"name":"lisprlocid",
"value":0
},
{
"name":"number-of-dependencies-this-path",
"value":3
},
{
"name":"robin-reset-value",
"value":0
}
]
}
]
}
]
}
]
}
]
},
{
"name": "second",
"timestamp":"1538521275266",
"value":null,
"children":[
{
"name":"keys",
"value":null,
"children":[
{
"name":"node-name",
"value":"0/RP0/CPU0"
}
]
},
{
"name":"content",
"value":null,
"children":[
{
"name":"transmitted-packets",
"value":1243
},
{
"name":"aged-out-entries",
"value":0
},
{
"name":"discarded-packets",
"value":0
},
{
"name":"bad-packets",
"value":0
},
{
"name":"received-packets",
"value":0
},
{
"name":"discarded-tl-vs",
"value":0
},
{
"name":"unrecognized-tl-vs",
"value":0
},
{
"name":"out-of-memory-errors",
"value":0
},
{
"name":"encapsulation-errors",
"value":0
},
{
"name":"queue-overflow-errors",
"value":"Hello"
},
{
"name":"table-overflow-errors",
"value":"3932"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment