Skip to content

Commit 4a6059c

Browse files
committed
Improve docu & routers config snippets ...
1 parent f11f0d8 commit 4a6059c

File tree

3 files changed

+53
-3
lines changed

3 files changed

+53
-3
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.1.1
1+
v1.1.2

doc/Changelog

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ The keys used are:
77
!: fixed/modified feature, -: deleted feature, +: new feature
88

99

10-
current -- 25-01.2023
11-
! Minor, multiple, fixes on install.sh (install vs clone dir)
10+
current -- XX-XX.20XX
11+
12+
v1.1.2 -- 26-06.2023
13+
+ JunOS "sensor_path" formatted as JSON
14+
! Testing gRPC dial-out support for Cisco NX-OS (testing device: NX-OS 10.2(2)@Nexus9000)
15+
! Documentation general review/update | adding integration-with-pmtelemetryd.md | adding network-devices-conf-snip.md
1216

1317
v1.1.1 -- 21-01.2023
1418
+ 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"

doc/network-devices-conf-snip.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,21 @@
1010

1111
## Cisco-XR 7.4.1@NCS-540
1212
```SHELL
13+
# 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
14+
15+
telemetry model-driven strict-timer
16+
telemetry model-driven destination-group COLLECTOR
17+
telemetry model-driven destination-group COLLECTOR address-family ipv4 192.168.100.254 port 10001
18+
telemetry model-driven destination-group COLLECTOR address-family ipv4 192.168.100.254 port 10001 encoding json
19+
telemetry model-driven destination-group COLLECTOR address-family ipv4 192.168.100.254 port 10001 protocol grpc no-tls
20+
telemetry model-driven sensor-group SENSOR
21+
telemetry model-driven sensor-group SENSOR sensor-path openconfig-interfaces:interfaces
22+
telemetry model-driven
23+
telemetry model-driven subscription SUBSCRIPTION
24+
telemetry model-driven subscription SUBSCRIPTION sensor-group-id SENSOR sample-interval 60000
25+
telemetry model-driven subscription SUBSCRIPTION destination-id COLLECTOR
26+
telemetry model-driven subscription SUBSCRIPTION source-interface Loopback0
27+
1328
```
1429

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

3449
feature telemetry
3550
!
51+
feature openconfig
52+
!
3653
telemetry
3754
!
3855
destination-profile
@@ -57,8 +74,37 @@ telemetry
5774

5875
## JunOS 20.4R3-S2.6@mx10003
5976
```SHELL
77+
# Reference documentation: https://www.juniper.net/documentation/us/en/software/junos/interfaces-telemetry/topics/topic-map/telemetry-grpc-dialout-ta.html
78+
79+
set groups TLM services analytics streaming-server GRPC_SERVER remote-address 192.168.100.254
80+
set groups TLM services analytics streaming-server GRPC_SERVER remote-port 10001
81+
!
82+
set groups TLM services analytics export-profile GRPC_PROFILE local-address 192.168.100.100
83+
set groups TLM services analytics export-profile GRPC_PROFILE reporting-rate 60
84+
set groups TLM services analytics export-profile GRPC_PROFILE format json-gnmi
85+
set groups TLM services analytics export-profile GRPC_PROFILE transport grpc
86+
!
87+
set groups TLM services analytics sensor OC_IF server-name GRPC_SERVER
88+
set groups TLM services analytics sensor OC_IF export-name GRPC_PROFILE
89+
set groups TLM services analytics sensor OC_IF resource /interfaces
6090
```
6191

6292
## Huawei VRP V800R021C10SPC300T@NE40E
6393
```SHELL
94+
# Reference documentation: https://support.huawei.com/enterprise/en/doc/EDOC1100290800/862530fd/example-for-configuring-grpc-in-dial-out-mode
95+
96+
telemetry
97+
#
98+
sensor-group SENSOR
99+
sensor-path openconfig-interfaces:interfaces/interface/state
100+
sensor-path openconfig-interfaces:interfaces/interface/state/counters
101+
#
102+
destination-group TLM
103+
ipv4-address 192.168.100.254 port 10001 protocol grpc no-tls
104+
#
105+
subscription SUBSCRIPTION
106+
local-source-address ipv4 192.168.100.100
107+
sensor-group SENSOR
108+
destination-group TLM
109+
#
64110
```

0 commit comments

Comments
 (0)