Skip to content

Commit

Permalink
Improve docu & routers config snippets ...
Browse files Browse the repository at this point in the history
  • Loading branch information
scuzzilla committed Jun 26, 2023
1 parent f11f0d8 commit 4a6059c
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.1.1
v1.1.2
8 changes: 6 additions & 2 deletions doc/Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ The keys used are:
!: fixed/modified feature, -: deleted feature, +: new feature


current -- 25-01.2023
! Minor, multiple, fixes on install.sh (install vs clone dir)
current -- XX-XX.20XX

v1.1.2 -- 26-06.2023
+ JunOS "sensor_path" formatted as JSON
! Testing gRPC dial-out support for Cisco NX-OS (testing device: NX-OS 10.2(2)@Nexus9000)
! Documentation general review/update | adding integration-with-pmtelemetryd.md | adding network-devices-conf-snip.md

v1.1.1 -- 21-01.2023
+ When running in "Library mode" the ZMQ uri is learned from pmtelemetryd. In "binary mode" the ZMQ uri is statically set to "ipc:///tmp/grpc.sock"
Expand Down
46 changes: 46 additions & 0 deletions doc/network-devices-conf-snip.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@

## Cisco-XR 7.4.1@NCS-540
```SHELL
# Reference documentation: https://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k-r7-0/telemetry/configuration/guide/b-telemetry-cg-asr9000-70x/b-telemetry-cg-asr9000-70x_chapter_010.html

telemetry model-driven strict-timer
telemetry model-driven destination-group COLLECTOR
telemetry model-driven destination-group COLLECTOR address-family ipv4 192.168.100.254 port 10001
telemetry model-driven destination-group COLLECTOR address-family ipv4 192.168.100.254 port 10001 encoding json
telemetry model-driven destination-group COLLECTOR address-family ipv4 192.168.100.254 port 10001 protocol grpc no-tls
telemetry model-driven sensor-group SENSOR
telemetry model-driven sensor-group SENSOR sensor-path openconfig-interfaces:interfaces
telemetry model-driven
telemetry model-driven subscription SUBSCRIPTION
telemetry model-driven subscription SUBSCRIPTION sensor-group-id SENSOR sample-interval 60000
telemetry model-driven subscription SUBSCRIPTION destination-id COLLECTOR
telemetry model-driven subscription SUBSCRIPTION source-interface Loopback0

```

## Cisco-XE 17.06.01prd7@C8000V
Expand All @@ -33,6 +48,8 @@ telemetry ietf subscription 1

feature telemetry
!
feature openconfig
!
telemetry
!
destination-profile
Expand All @@ -57,8 +74,37 @@ telemetry

## JunOS 20.4R3-S2.6@mx10003
```SHELL
# Reference documentation: https://www.juniper.net/documentation/us/en/software/junos/interfaces-telemetry/topics/topic-map/telemetry-grpc-dialout-ta.html

set groups TLM services analytics streaming-server GRPC_SERVER remote-address 192.168.100.254
set groups TLM services analytics streaming-server GRPC_SERVER remote-port 10001
!
set groups TLM services analytics export-profile GRPC_PROFILE local-address 192.168.100.100
set groups TLM services analytics export-profile GRPC_PROFILE reporting-rate 60
set groups TLM services analytics export-profile GRPC_PROFILE format json-gnmi
set groups TLM services analytics export-profile GRPC_PROFILE transport grpc
!
set groups TLM services analytics sensor OC_IF server-name GRPC_SERVER
set groups TLM services analytics sensor OC_IF export-name GRPC_PROFILE
set groups TLM services analytics sensor OC_IF resource /interfaces
```

## Huawei VRP V800R021C10SPC300T@NE40E
```SHELL
# Reference documentation: https://support.huawei.com/enterprise/en/doc/EDOC1100290800/862530fd/example-for-configuring-grpc-in-dial-out-mode

telemetry
#
sensor-group SENSOR
sensor-path openconfig-interfaces:interfaces/interface/state
sensor-path openconfig-interfaces:interfaces/interface/state/counters
#
destination-group TLM
ipv4-address 192.168.100.254 port 10001 protocol grpc no-tls
#
subscription SUBSCRIPTION
local-source-address ipv4 192.168.100.100
sensor-group SENSOR
destination-group TLM
#
```

0 comments on commit 4a6059c

Please sign in to comment.