Closed xp600 closed 5 months ago
Looks to be a config issue. jtimon_del binary(shared privately) is processing the delete paths. Please refer the below sample config and modify yours accordingly.
PS: Will push the changes for printing del_path with this PR https://github.com/Juniper/jtimon/pull/36.
{ "host": "10.13.120.196", "port": 10162, "user": "xxx", "password": "yyy", "vendor": { "gnmi": { "encoding": "protobuf" } }, "paths": [{ "path": "/interfaces/interface/", "freq": 30000, "mode": "target-defined" }], "log" : { "verbose": true }, "internal-jtimon": { "data-log-file": "targetdefined.log" } }
ccl@wf-ccl-vmocst1:~/B2_2024$ cat targetdefined.log | grep del_path del_path: /interfaces/interface[name='xe-3/0/7']/subinterfaces/subinterface[index='16386']} del_path: /interfaces/interface[name='xe-3/0/7']/subinterfaces/subinterface[index='16386']} del_path: /interfaces/interface[name='xe-3/0/7']/subinterfaces/subinterface[index='16386']}
Explicit delete notification when subscribed to a sensor in target defined mode is not working.
@M-Vivek-Juniper @amohit1315