[NETCONF-1200] Netconf device stays connected even when unavailable Created: 20/Nov/23 Updated: 26/Nov/23 Resolved: 26/Nov/23 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | netconf |
| Affects Version/s: | 7.0.0 |
| Fix Version/s: | 7.0.0 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Peter Suna | Assignee: | Ruslan Kashapov |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
The device remains connected in NETCONF even when it is unreachable. How to reproduce: curl --request GET 'http://192.168.56.100:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=netopeer' \ --header 'Authorization: Basic YWRtaW46YWRtaW4=' \ --header 'Content-Type: application/json' \ --data '{ "node": [ { "node-id": "netopeer", "netconf-node-topology:port": 830, "netconf-node-topology:reconnect-on-changed-schema": false, "netconf-node-topology:connection-timeout-millis": 20000, "netconf-node-topology:tcp-only": false, "netconf-node-topology:max-connection-attempts": 5, "login-password-unencrypted": { "netconf-node-topology:username": "netconf", "netconf-node-topology:password": "netconf" }, "netconf-node-topology:sleep-factor": 1.5, "netconf-node-topology:host": "127.0.0.1", "netconf-node-topology:between-attempts-timeout-millis": 2000, "netconf-node-topology:keepalive-delay": 20 } ] }' 2) Verify that the device is in a connected state. This issue was introduced with the following commit: |