[NETCONF-1074] Connection status not updated after successful connection Created: 05/Jul/23 Updated: 10/Jul/23 Resolved: 10/Jul/23 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | 6.0.0 |
| Fix Version/s: | 6.0.1 |
| Type: | Bug | Priority: | Highest |
| Reporter: | Sangwook Ha | Assignee: | Sangwook Ha |
| Resolution: | Done | Votes: | 0 |
| Labels: | regression | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The connection-status of a NETCONF node in topology-netconf stays in the connecting state does not change to connected after a NETCONF session is successfully established. This appears to be caused by NetconfNodeHandler.onDeviceConnected() which simply resets attempts and does not propagate the status change to delegate: public synchronized void onDeviceConnected(final NetconfDeviceSchema deviceSchema,
final NetconfSessionPreferences sessionPreferences, final RemoteDeviceServices services) {
attempts = 0;
}
|