[OPNFLWPLUG-417] Starting mininet with flows programmed into the config data store Created: 25/Apr/15  Updated: 27/Sep/21  Resolved: 03/Jun/15

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Jan Medved Assignee: Jozef Gloncak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 3061

 Description   

When mininet is started and connects to a running controller which has flows stored in the config data store, synchronization of the network with the controller does not work properly. Sometimes the controller does not discover all nodes (I saw 2 nodes out of 15 reported), sometimes (almost always) the right number of flows is not programmed into the network (i.e. flows are missing).

To reproduce:

  • Start the controller
  • Program 5k flows into the config data store
  • Start mininet which will connect to the controller
  • Lookup the number of flows in programmed mininet,
  • Check the number of flows reported in the controller
  • Check inventory and topology


 Comments   
Comment by Jozef Gloncak [ 15/May/15 ]

Regarding problem with right number of flows. This problem is when deleting.

I tested on mininet, ovsk with 3000 flows. For deletion and also for addition it sometimes (unpredictably) happen that 3000 OFPT_FLOM_MOD (OFPFC_ADD or OFPFC_DELETE_STRICT) is generated but not everything is successful sent to device (switch)

Comment by Jozef Gloncak [ 15/May/15 ]

There is also other problem when controller is running and mininet is connecting to it. Sometimes it happen that not all flows are sent to device and consquentely saved to operation datatore. Problem is somewhere between FlowForwarder - method add() from forwardingrules-manager and SalFlowServiceImpl - method addFlow() from openflowplugin-impl

Comment by Jozef Gloncak [ 26/May/15 ]

I've done 10 attempts.

  • I've started karaf.
  • I've started mininet with 15 switches.
    Result:
  • After few moments 15 nodes has appeared in operational datastore.

So I haven't been able to replicate your problem with only 2 discovered switches.

Comment by Jozef Gloncak [ 03/Jun/15 ]

This problem is no more observed

Generated at Wed Feb 07 20:32:25 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.