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

of-flow: unable to see 100k flows in operational data store

    XMLWordPrintable

Details

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

    • 2151

    Description

      steps to reproduce:

      1) connect odl with mininet (without any flows)
      checking /restconf/operational/opendaylight-inventory:nodes/node/openflow:1/table/31/opendaylight-flow-table-statistics:flow-table-statistics
      for tables 30 and 31 should return

      {
      "opendaylight-flow-table-statistics:flow-table-statistics":

      { "packets-looked-up": 0, "active-flows": 0, "packets-matched": 0 }

      }

      2)generate 100k flows( use attached script) 50k for each table
      bash flowscreator.sh -f 50000 -t 30 -o t30f50k
      bash flowscreator.sh -f 50000 -t 31 -o t31f50k

      3) add the first 50k of flows to switch
      sudo ovs-ofctl add-flows s1 t30f50k -O OpenFlow13

      after some time you should see flows reported in table 30
      {
      "opendaylight-flow-table-statistics:flow-table-statistics":

      { "packets-looked-up": 0, "active-flows": 50000, "packets-matched": 0 }

      }

      4) add another 50k of flows to switch
      sudo ovs-ofctl add-flows s1 t31f50k -O OpenFlow13

      what happened to me was that i never saw any "active-flows" in table 31 (table 30 was reported ok)
      or
      urls like .../table/XX/opendaylight-flow-table-statistics:flow-table-statistics; ..table/XX start returning 404 where XX is anything, not only 30 or 31

      Attachments

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

        Activity

          People

            michal.rehak Michal Rehak
            pgubka@cisco.com Peter Gubka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: