This issue is present on current main branch targeting NETCONF 7.
1. (precondition) Netopeer2 device (or any other) is NOT running on port 830.
2. Invoke PUT:
http://localhost:8181/rests/data/network-topology:network-topology/topology=topology-netconf/node=netopeer2
With content:
{ "node": [ { "node-id": "netopeer2", "netconf-node-topology:host": "127.0.0.1", "netconf-node-topology:port": 830, "netconf-node-topology:keepalive-delay": 0, "netconf-node-topology:schemaless": false, "netconf-node-topology:tcp-only": false, "netconf-node-topology:login-password-unencrypted": { "password": "netconf", "username": "netconf" } } ] }
3. The device is in connecting state as we see from GET:
http://localhost:8181/rests/data/network-topology:network-topology/topology=topology-netconf?fields=node/node-id;node/netconf-node-topology:connection-status&content=all
4. Then we turn on netopeer2 (or any other) device on port 830.
5. (result and expected result) Device is still in connecting state. We expect to be connected.
- relates to
-
NETCONF-1251 The number of connection attemps is ignored
- Resolved