CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
299 stars 188 forks source link

I can receive notification with subscribe, but not with subscribe --stream NETCONF #1406

Closed 13065166838 closed 1 year ago

13065166838 commented 1 year ago

Hello Sir

In netopeer2-cli, we use subscribe and subscribe --stream NETCONF to test, both of them can receive kpi notification, but the latter can't receive supervision notification. Can you give us some advice on how to troubleshoot the problem?

I am using following versions: libnetconf2-v2.0.24 libyang-v2.0.112 sysrepo-v2.0.53

cli log:

subscribe --stream NETCONF nc DEBUG: Sending message:

198

nc DEBUG: Sending message:

NETCONF

subscribe nc DEBUG: Sending message:

153

nc DEBUG: Sending message:

nc DEBUG: Received message:

2022-03-24T11:50:26.743525740+00:00

notification (2022-03-24T11:50:26.743525740+00:00)

Thanks

michalvasko commented 1 year ago

Seems like a bug and my suggestion is to update the versions you are using. They are quite old, anyway. It should work properly in the current versions.