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

[LithiumBuild3335] Controller Crashed after making nodes REST call when the topology had 2 switches and 2k hosts.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • 2936

    Description

      1) Run karaf
      2) Enable the below features
      feature:install odl-openflowplugin-flow-services
      feature:install odl-dlux-all
      feature:install odl-l2switch-all
      feature:install odl-l2switch-switch-ui
      feature:install odl-l2switch-switch-rest

      3) Using mininet connect 2 switches in linear topology with 1000 hosts on each.
      4) Now make the below REST CALL to get the nodes.
      http://10.11.200.254:8181/restconf/operational/opendaylight-inventory:nodes
      5) Controller console is unresponsive for few minutes.
      5) After it is responsive the REST provides incorrect data. Below is a script output. Negative values mean the call failed failed to fetch required data.

      Time taken for nodes call is 0 milliseconds
      Total device Count = 2 (This is correct)
      --------------------
      Time taken for links call is 0 milliseconds
      Total links = -2 (Expecting 2). None found.
      --------------------
      Time taken for ports call is 0 milliseconds
      Total ports = -1 (Expecting 2002)
      --------------------
      Time taken for host call is 0 milliseconds
      Total hosts = 0 (this is fine)

      ==========================================
      http://10.11.200.254:8181/restconf/operational/network-topology:network-topology/

      {
      "network-topology": {
      "topology": [
      {
      "topology-id": "flow:1",
      "node": [

      { "node-id": "openflow:322122547202", "opendaylight-topology-inventory:inventory-node-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547202']" }

      ,
      {
      "node-id": "openflow:322122547201",
      "termination-point": [

      { "tp-id": "openflow:322122547201:857", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:857']" }

      ,

      { "tp-id": "openflow:322122547201:8", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:8']" }

      ,

      { "tp-id": "openflow:322122547201:10", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:10']" }

      ,

      { "tp-id": "openflow:322122547201:494", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:494']" }

      ,

      { "tp-id": "openflow:322122547201:701", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:701']" }

      ,

      { "tp-id": "openflow:322122547201:936", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:936']" }

      ,

      { "tp-id": "openflow:322122547201:133", "opendaylight-topology-inventory:inventory-node-connector-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']/opendaylight-inventory:node-connector[opendaylight-inventory:id='openflow:322122547201:133']" }

      ],
      "opendaylight-topology-inventory:inventory-node-ref": "/opendaylight-inventory:nodes/opendaylight-inventory:node[opendaylight-inventory:id='openflow:322122547201']"
      }
      ]
      }
      ]
      }
      }

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mbobak@cisco.com Martin Bobak
            sandeep.gangadharan@hp.com SANDEEP GANGADHARAN
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: