Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1252

Device's reconnecting does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 7.0.0
    • 7.0.0
    • None

      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.

            ojo Oleksandr Zharov
            ivanhrasko Ivan Hrasko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: