Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
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":
}
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":
}
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