diff options
Diffstat (limited to 'pnda-ztt-app/src/main/resources/meta')
16 files changed, 395 insertions, 0 deletions
diff --git a/pnda-ztt-app/src/main/resources/meta/bgp-neighbor-af-table.yaml b/pnda-ztt-app/src/main/resources/meta/bgp-neighbor-af-table.yaml new file mode 100644 index 0000000..5d56f77 --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/bgp-neighbor-af-table.yaml @@ -0,0 +1,17 @@ +input_topic: telemetry.avro +processor: timeseries +output_topic: timeseries +timeseries_namespace: bgp + +xr_telemetry: + - path: Cisco-IOS-XR-ipv4-bgp-oper:bgp/instances/instance/instance-active/default-vrf/afs/af/neighbor-af-table/neighbor + keys: + - name: af-name + display_name: "Address Family Name" + - name: instance-name + display_name: "Instance Name" + - name: neighbor-address + display_name: "Neighbor Address" + content: + - name: connection-up-count + display_name: "Connection Up Count" diff --git a/pnda-ztt-app/src/main/resources/meta/cpu-utilization.yaml b/pnda-ztt-app/src/main/resources/meta/cpu-utilization.yaml new file mode 100644 index 0000000..0ce8870 --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/cpu-utilization.yaml @@ -0,0 +1,19 @@ +input_topic: telemetry.avro +processor: timeseries +output_topic: timeseries +timeseries_namespace: cpu + +xr_telemetry: + - path: Cisco-IOS-XR-wdsysmon-fd-oper:system-monitoring/cpu-utilization + keys: + - name: node-name + display_name: "Node Name" + content: + - name: total-cpu-one-minute + display_name: "One-minute CPU Total" + + - name: total-cpu-five-minute + display_name: "Five-minute CPU Total" + + - name: total-cpu-fifteen-minute + display_name: "Fifteen-minute CPU Total" diff --git a/pnda-ztt-app/src/main/resources/meta/fib-summary.yaml b/pnda-ztt-app/src/main/resources/meta/fib-summary.yaml new file mode 100644 index 0000000..2dbb4ae --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/fib-summary.yaml @@ -0,0 +1,27 @@ +format: cisco.xr.telemetry +input_topic: telemetry.avro +processor: timeseries +output_topic: timeseries +timeseries_namespace: fib + +xr_telemetry: + - path: Cisco-IOS-XR-fib-common-oper:fib/nodes/node/protocols/protocol/fib-summaries/fib-summary + keys: + - name: node-name + display_name: "Node Name" + - name: protocol-name + display_name: "Protocol Name" + - name: vrf-name + display_name: "VRF Name" + content: + - name: extended-prefixes + display_name: "Num Extended Prefixes" + + - name: forwarding-elements + display_name: "Num Forwarding Elements" + + - name: next-hops + display_name: "Num Next Hops" + + - name: routes + display_name: "Num Routes" diff --git a/pnda-ztt-app/src/main/resources/meta/interfaces-generic-counters.yaml b/pnda-ztt-app/src/main/resources/meta/interfaces-generic-counters.yaml new file mode 100644 index 0000000..24fb808 --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/interfaces-generic-counters.yaml @@ -0,0 +1,36 @@ +input_topic: telemetry.avro +processor: timeseries +output_topic: timeseries +timeseries_namespace: interface + +xr_telemetry: + - path: Cisco-IOS-XR-infra-statsd-oper:infra-statistics/interfaces/interface/latest/generic-counters + keys: + - name: interface-name + display_name: "Interface Name" + content: + - name: bytes-received + display_name: "Bytes Received" + ts_name: bytes-in # rename the metric in OpenTSDB + + - name: bytes-sent + display_name: "Bytes Sent" + ts_name: bytes-out # rename the metric in OpenTSDB + + - name: packets-received + display_name: "Packets Received" + + - name: packets-sent + display_name: "Packets Sent" + + - name: broadcast-packets-received + display_name: "Broadcast Packets Received" + + - name: broadcast-packets-sent + display_name: "Broadcast Packets Sent" + + - name: multicast-packets-received + display_name: "Multicast Packets Received" + + - name: multicast-packets-sent + display_name: "Multicast Packets Sent" diff --git a/pnda-ztt-app/src/main/resources/meta/inventory-entity.yaml b/pnda-ztt-app/src/main/resources/meta/inventory-entity.yaml new file mode 100644 index 0000000..3bc9689 --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/inventory-entity.yaml @@ -0,0 +1,27 @@ +input_topic: telemetry.avro +processor: inventory +output_topic: inventory + +xr_telemetry: + - path: Cisco-IOS-XR-invmgr-oper:inventory/entities/entity/attributes/inv-basic-bag + keys: + - name: name + display_name: "Entity Name" + content: + - name: serial-number + display_name: "Serial Number" + + - name: description + display_name: "Description" + + - name: manufacturer-name + display_name: "Manufacturer" + + - name: model-name + display_name: "Model Name" + + - name: software-revision + display_name: "Software Revision" + + - name: vendor-type + display_name: "Vendor OID" diff --git a/pnda-ztt-app/src/main/resources/meta/inventory-rack.yaml b/pnda-ztt-app/src/main/resources/meta/inventory-rack.yaml new file mode 100644 index 0000000..db6386d --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/inventory-rack.yaml @@ -0,0 +1,27 @@ +input_topic: telemetry.avro +processor: inventory +output_topic: inventory + +xr_telemetry: + - path: Cisco-IOS-XR-invmgr-oper:inventory/racks/rack/attributes/inv-basic-bag + keys: + - name: name + display_name: "Entity Name" + content: + - name: serial-number + display_name: "Serial Number" + + - name: description + display_name: "Description" + + - name: manufacturer-name + display_name: "Manufacturer" + + - name: model-name + display_name: "Model Name" + + - name: software-revision + display_name: "Software Revision" + + - name: vendor-type + display_name: "Vendor OID" diff --git a/pnda-ztt-app/src/main/resources/meta/ipv6-traffic.yaml b/pnda-ztt-app/src/main/resources/meta/ipv6-traffic.yaml new file mode 100644 index 0000000..3a5dcba --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/ipv6-traffic.yaml @@ -0,0 +1,16 @@ +input_topic: telemetry.avro +processor: timeseries +output_topic: timeseries +timeseries_namespace: ipv6 + +xr_telemetry: + - path: Cisco-IOS-XR-ipv6-io-oper:ipv6-io/nodes/node/statistics/traffic + keys: + - name: node-name + display_name: "Node Name" + content: + - name: ipv6.total-packets + display_name: "Total IPV6 Packets" + + - name: icmp.total-messages + display_name: "Total ICMP Messages" diff --git a/pnda-ztt-app/src/main/resources/meta/lldp-neighbor-summary.yaml b/pnda-ztt-app/src/main/resources/meta/lldp-neighbor-summary.yaml new file mode 100644 index 0000000..2360de6 --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/lldp-neighbor-summary.yaml @@ -0,0 +1,58 @@ +format: cisco.xr.telemetry +input_topic: telemetry.avro +processor: inventory +output_topic: inventory + +xr_telemetry: + - path: Cisco-IOS-XR-ethernet-lldp-oper:lldp/nodes/node/neighbors/summaries/summary + keys: + - name: device-id + display_name: "Device Id" + - name: interface-name + display_name: "Interface Name" + - name: node-name + display_name: "Node Name" + content: + - name: chassis-id + display_name: "Chassis Id" + + - name: device-id + display_name: "Device Id" + + - name: port-id-detail + display_name: "Port Id" + + - name: receiving-interface-name + display_name: "Receiving Interface Name" + + - name: enabled-capabilities + display_name: "Enabled Capabilities" + - path: Cisco-IOS-XR-ethernet-lldp-oper:lldp/nodes/node/neighbors/devices/device + keys: + - name: device-id + display_name: "Device Id" + - name: interface-name + display_name: "Interface Name" + - name: node-name + display_name: "Node Name" + content: + - name: lldp-neighbor.chassis-id + display_name: "Chassis Id" + - path: Cisco-IOS-XR-ethernet-lldp-oper:lldp/nodes/node/neighbors/details/detail + keys: + - name: device-id + display_name: "Device Id" + - name: interface-name + display_name: "Interface Name" + - name: node-name + display_name: "Node Name" + content: + - name: lldp-neighbor.chassis-id + display_name: "Chassis Id" + - path: Cisco-IOS-XR-ethernet-lldp-oper:lldp/nodes/node/interfaces/interface + keys: + - name: interface-name + - name: node-name + content: + - name: interface-name + - name: if-index diff --git a/pnda-ztt-app/src/main/resources/meta/lldp-stats.yaml b/pnda-ztt-app/src/main/resources/meta/lldp-stats.yaml new file mode 100644 index 0000000..e29e32c --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/lldp-stats.yaml @@ -0,0 +1,23 @@ +format: cisco.xr.telemetry +input_topic: telemetry.avro +processor: timeseries +output_topic: timeseries +timeseries_namespace: lldp.stats + +xr_telemetry: + - path: Cisco-IOS-XR-ethernet-lldp-oper:lldp/nodes/node/statistics + keys: + - name: node-name + display_name: "Node Name" + content: + - name: received-packets + - name: transmitted-packets + - name: aged-out-entries + - name: bad-packets + - name: discarded-packets + - name: discarded-tl-vs + - name: encapsulation-errors + - name: out-of-memory-errors + - name: queue-overflow-errors + - name: table-overflow-errors + - name: unrecognized-tl-vs diff --git a/pnda-ztt-app/src/main/resources/meta/logging-stats.yaml b/pnda-ztt-app/src/main/resources/meta/logging-stats.yaml new file mode 100644 index 0000000..5d12152 --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/logging-stats.yaml @@ -0,0 +1,11 @@ +input_topic: telemetry.avro +processor: timeseries +output_topic: timeseries +timeseries_namespace: logging + +xr_telemetry: + - path: Cisco-IOS-XR-infra-syslog-oper:syslog/logging-statistics + content: + - name: buffer-logging-stats.message-count + ts_name: message-count + display_name: "Serial Number" diff --git a/pnda-ztt-app/src/main/resources/meta/memory-detail.yaml b/pnda-ztt-app/src/main/resources/meta/memory-detail.yaml new file mode 100644 index 0000000..6b3f657 --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/memory-detail.yaml @@ -0,0 +1,31 @@ +input_topic: telemetry.avro +processor: timeseries +output_topic: timeseries +timeseries_namespace: memory + +xr_telemetry: + - path: Cisco-IOS-XR-nto-misc-oper:memory-summary/nodes/node/detail + keys: + - name: node-name + display_name: "Node Name" + content: + - name: allocated-memory + display_name: "Allocated Memory" + + - name: free-application-memory + display_name: "Free Application Memory" + + - name: free-physical-memory + display_name: "Free Physical Memory" + + - name: ram-memory + display_name: "RAM Memory" + + - name: program-data + display_name: "Program Data" + + - name: program-stack + display_name: "Program Stack" + + - name: program-text + display_name: "Program Text" diff --git a/pnda-ztt-app/src/main/resources/meta/memory-summary.yaml b/pnda-ztt-app/src/main/resources/meta/memory-summary.yaml new file mode 100644 index 0000000..02adef6 --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/memory-summary.yaml @@ -0,0 +1,25 @@ +input_topic: telemetry.avro +processor: timeseries +output_topic: timeseries +timeseries_namespace: memory.summary + +xr_telemetry: + - path: Cisco-IOS-XR-nto-misc-oper:memory-summary/nodes/node/summary + keys: + - name: node-name + display_name: "Node Name" + content: + - name: allocated-memory + display_name: "Allocated Memory" + + - name: free-application-memory + display_name: "Free Application Memory" + + - name: free-physical-memory + display_name: "Free Physical Memory" + + - name: ram-memory + display_name: "RAM Memory" + + - name: system-ram-memory + display_name: "System RAM Memopry" diff --git a/pnda-ztt-app/src/main/resources/meta/rib-oper.yaml b/pnda-ztt-app/src/main/resources/meta/rib-oper.yaml new file mode 100644 index 0000000..197b0b9 --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/rib-oper.yaml @@ -0,0 +1,27 @@ +input_topic: telemetry.avro +processor: timeseries +output_topic: timeseries +timeseries_namespace: rib + +xr_telemetry: + - path: Cisco-IOS-XR-ip-rib-ipv4-oper:rib/vrfs/vrf/afs/af/safs/saf/ip-rib-route-table-names/ip-rib-route-table-name/protocol/bgp/as/information + keys: + - name: af-name + display_name: "Address Family Name" + - name: as + display_name: "Address Family" + - name: route-table-name + display_name: "Route table name" + - name: saf-name + display_name: "Saf name" + - name: vrf-name + display_name: "Vrf name" + content: + - name: active-routes-count + display_name: "Active Routes Count" + - name: instance + display_name: "Instance" + - name: paths-count + display_name: "Paths Count" + - name: routes-counts + display_name: "Routes Count" diff --git a/pnda-ztt-app/src/main/resources/meta/ves-cpu.yaml b/pnda-ztt-app/src/main/resources/meta/ves-cpu.yaml new file mode 100644 index 0000000..aaf1de8 --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/ves-cpu.yaml @@ -0,0 +1,12 @@ +format: ves +input_topic: ves.avro +processor: timeseries +output_topic: timeseries +timeseries_namespace: cpu + +ves_telemetry: + - path: measurementsForVfScalingFields/cpuUsageArray + keys: + - name: cpuIdentifier + content: + - name: percentUsage diff --git a/pnda-ztt-app/src/main/resources/meta/ves-nic.yaml b/pnda-ztt-app/src/main/resources/meta/ves-nic.yaml new file mode 100644 index 0000000..a6ae3de --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/ves-nic.yaml @@ -0,0 +1,12 @@ +format: ves +input_topic: ves.avro +processor: timeseries +output_topic: timeseries +timeseries_namespace: nic + +ves_telemetry: + - path: measurementsForVfScalingFields/vNicUsageArray + keys: + - name: vNicIdentifier + content: + - name: receivedTotalPacketsDelta diff --git a/pnda-ztt-app/src/main/resources/meta/vrf-summary.yaml b/pnda-ztt-app/src/main/resources/meta/vrf-summary.yaml new file mode 100644 index 0000000..df466c3 --- /dev/null +++ b/pnda-ztt-app/src/main/resources/meta/vrf-summary.yaml @@ -0,0 +1,27 @@ +format: cisco.xr.telemetry +input_topic: telemetry.avro +processor: timeseries +output_topic: timeseries +timeseries_namespace: fib.vrf + +xr_telemetry: + - path: Cisco-IOS-XR-fib-common-oper:fib/nodes/node/protocols/protocol/vrfs/vrf/summary + keys: + - name: node-name + display_name: "Node Name" + - name: protocol-name + display_name: "Protocol Name" + - name: vrf-name + display_name: "VRF Name" + content: + - name: extended-prefixes + display_name: "Num Extended Prefixes" + + - name: forwarding-elements + display_name: "Num Forwarding Elements" + + - name: next-hops + display_name: "Num Next Hops" + + - name: routes + display_name: "Num Routes" |