Uploaded image for project: 'OpenFlowPlugin'
  1. OpenFlowPlugin
  2. OPNFLWPLUG-403

nodes remain in operational after switch disconnects using lithium re-design feature set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 3008

      using the Lithium re-design feature set "odl-openflowplugin-app-new-lldp-speaker"

      after connecting one switch via mininet the switch is seen in the operational store, but does not get removed when the switch is disconnected.

      mininet CLI:
      sudo mn --controller=remote,ip=172.17.7.23 --topo linear,1 --switch ovsk,protocols=OpenFlow13

      Logs:

      [no nodes initially]
      curl -s -u "admin:admin" -u "admin:admin" http://172.17.7.23:8181/restconf/operational/opendaylight-inventory:nodes/ | python -m json.tool
      {
      "nodes": {}
      }

      [after starting mininet, there is one expected node]
      curl -s -u "admin:admin" -u "admin:admin" http://172.17.7.23:8181/restconf/operational/opendaylight-inventory:nodes/ | python -m json.tool
      {
      "nodes": {
      "node": [
      {
      "flow-node-inventory:description": "None",
      "flow-node-inventory:hardware": "Open vSwitch",
      "flow-node-inventory:manufacturer": "Nicira, Inc.",
      "flow-node-inventory:serial-number": "None",
      "flow-node-inventory:software": "2.3.0",

      <SNIP>

      [switch is connected to port 6633]
      netstat -na | egrep 6633
      tcp6 0 0 :::6633 :::* LISTEN
      tcp6 0 0 172.17.7.23:6633 172.17.7.30:49285 ESTABLISHED

      [after stopping mininet the switch is disconnected]
      netstat -na | egrep 6633
      tcp6 0 0 :::6633 :::* LISTEN

      [but the node is still seen in operational store]
      {
      "nodes": {
      "node": [
      {
      "flow-node-inventory:description": "None",
      "flow-node-inventory:hardware": "Open vSwitch",
      "flow-node-inventory:manufacturer": "Nicira, Inc.",
      "flow-node-inventory:serial-number": "None",
      "flow-node-inventory:software": "2.3.0",

            Unassigned Unassigned
            jluhrsen Jamo Luhrsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: