BUG-4083: Li: Enabling polling of statistics via config subsystem.
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / OpenFlowPluginProvider.java
index 83852de9dabad5c4bf8c138db11c6a27dad89ddc..8bd7877533a84fd3594154c011a3efbb84666da1 100644 (file)
@@ -50,4 +50,17 @@ public interface OpenFlowPluginProvider extends AutoCloseable, BindingService {
      */
     void initialize();
 
-}
+    /**
+     * This parameter indicates whether it is mandatory for switch to support OF1.3 features : table, flow, meter,group.
+     * If this is set to true and switch doesn't support these features its connection will be denied.
+     * @param switchFeaturesMandatory
+     */
+    void setSwitchFeaturesMandatory(final boolean switchFeaturesMandatory);
+
+    boolean isSwitchFeaturesMandatory();
+
+    boolean isStatisticsPollingOff();
+
+    void setIsStatisticsPollingOff(final boolean isStatisticsPollingOff);
+
+    }