[NETCONF-524] Set the netconf keepalive logic to be more proactive. Created: 08/Mar/18  Updated: 06/Aug/18  Resolved: 06/Aug/18

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: None
Fix Version/s: Fluorine

Type: Bug Priority: High
Reporter: Balaji Varadaraju Assignee: Balaji Varadaraju
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When a NETCONF device loses connection with the controller in exceptional conditions such as the management interface going down, underlying TCP connection would not be closed as there will be no fin packet exchange or reset. At this point NETCONF state will be set as connected until the underlying OS determines the connection is stale which can happen after considerable amount of time.  



 Comments   
Comment by Balaji Varadaraju [ 08/Mar/18 ]

Here are the patches for this issue.

 

carbon stable
https://git.opendaylight.org/gerrit/#/c/68281/

master
https://git.opendaylight.org/gerrit/#/c/68285/

 

 

Comment by Balaji Varadaraju [ 08/Mar/18 ]

This patch also correctly sets the listener for keep alive which is needed for this fix to work.

Comment by Jakub Morvay [ 06/Aug/18 ]

Fix:
https://git.opendaylight.org/gerrit/#/c/68285/

Generated at Wed Feb 07 20:15:15 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.