netopeer2 icon indicating copy to clipboard operation
netopeer2 copied to clipboard

netconf notification timeout

Open som-1981 opened this issue 3 years ago • 3 comments

Hello,

Regarding NETCONF notification timeout what is the default value when an RPC message is sent from the netconf client to a Netconf server and Netconf server does not respond back with a notification due to some reason.

Is this a global timeout or per notification we need to define a timeout at the netconf client if netconf server does not respond back with a notification.

Thanks,

som-1981 avatar Oct 07 '22 15:10 som-1981

What use-case are you talking about exactly? The client can send an <rpc> message and then expect a <rpc-reply>. Or, the client can subscribe for receiving notifications and then the server asynchronously sends <notification> messages as they are generated. Which are you talking about?

michalvasko avatar Oct 10 '22 06:10 michalvasko

I should have made it clear. I am talking about the second case. The client can subscribe for receiving notifications and then the server asynchronously sends messages as they are generated.

som-1981 avatar Oct 10 '22 08:10 som-1981

Then what timeout are you talking about? The client nor the server do not know when a new notification is generated. Only once there is one, it is sent to the client.

michalvasko avatar Oct 10 '22 08:10 michalvasko