choppsv1 / netconf

Netconf Server and Client Library for Python
55 stars 31 forks source link

Notifications: subcription ok, but can't retrieve back the notification to the client who sent the subscribe #37

Open matheusnicolas opened 4 years ago

matheusnicolas commented 4 years ago

Hello, I couldn't see in details in the documentation about notifications. In order to deal with them, I subscribe and manage to send an rpc_create_subscription where I can retrieve tree, reply, msg from session.send. A return of the subscription I manage to return to the client. The problem is that I can receive the notification, but only when an error occurs: no rpc_reply found + the result of the notification. I would like to return the notification to the client who sent the subscribe but that is the problem that I'm facing in the moment, I can't do it. Do you have any suggestions or ideas that you can give me so I can solve this problem? I couldn't see anything like that in the documentation.

Error:

NetconfClientSession(sid:7) Session error [closing session]: ('2020-06-02T20:10:23Zinfo5errormessage test system', 'No rpc-reply found') error

choppsv1 commented 3 years ago

Were you able to work though this issue?