Replay the installedSwView data structure to populate
[controller.git] / opendaylight / forwardingrulesmanager / implementation / src / main / java / org / opendaylight / controller / forwardingrulesmanager / internal / ForwardingRulesManager.java
index 34088607b11e1cf4fae079a240568319998c42f6..e639d41e8e1ea819fa4c56fb4fbbfbc3c481af28 100644 (file)
@@ -2608,6 +2608,12 @@ public class ForwardingRulesManager implements
         // Start event handler thread
         frmEventHandler.start();
 
+        // replay the installedSwView data structure to populate
+        // node flows and group flows
+        for (FlowEntryInstall fei : installedSwView.keySet()) {
+            pendingEvents.offer(new UpdateIndexDBs(fei, true));
+        }
+
         /*
          * Read startup and build database if we have not already gotten the
          * configurations synced from another node