Merge "Bug 8497 - Provide config knob to disable the Forwarding Rule Manager reconcil...
[openflowplugin.git] / applications / forwardingrules-manager / src / main / java / org / opendaylight / openflowplugin / applications / frm / ForwardingRulesManager.java
index bef847c025e96e7ba4bbc6b5a1861d586ae9be9f..0dcd3aa17674830a51a07021b36f6d7fb6ab7e47 100644 (file)
@@ -119,10 +119,22 @@ public interface ForwardingRulesManager extends AutoCloseable {
     ForwardingRulesCommiter<TableFeatures> getTableFeaturesCommiter();
 
     /**
-     * Returns the config-subsystem/fallback configuration of FRM
-     * @return ForwardingRulesManagerConfig
+     * Check if reconciliation is disabled by user.
+     * @return true if reconciliation is disabled, else false
      */
-    ForwardingRulesManagerConfig getConfiguration();
+    boolean isReconciliationDisabled();
+
+    /**
+     * Check if stale marking is enabled for switch reconciliation.
+     * @return true if stale marking is enabled, else false
+     */
+    boolean isStaleMarkingEnabled();
+
+    /**
+     * Return number of reconciliation retry are allowed.
+     * @return number of retries.
+     */
+    int getReconciliationRetryCount();
 
     /**
      * Method checks if *this* instance of openflowplugin is owner of