Bug 6465 Controller goes into slave mode
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / DeviceState.java
index 0ca7e2df60eb99d58c089dde12e859b1ff83e81d..a9f6a1c7900f944d5dca47f55a0a735325b99f7a 100644 (file)
@@ -11,12 +11,7 @@ package org.opendaylight.openflowplugin.api.openflow.device;
 /**
  * Holder of device's structure
  */
-public interface DeviceState extends DeviceSynchronizeListener, DeviceValidListener {
-
-    /**
-     * @return true if this session is valid
-     */
-    boolean isValid();
+public interface DeviceState {
 
     /**
      * Return true if we have relevant meter information
@@ -44,13 +39,6 @@ public interface DeviceState extends DeviceSynchronizeListener, DeviceValidListe
      */
     void setGroupAvailable(boolean available);
 
-    /**
-     * Method returns true if initial statistics data were collected and written to DS.
-     *
-     * @return
-     */
-    boolean deviceSynchronized();
-
     /**
      * Method returns true, if device capabilities provides flow statistics.
      *
@@ -86,9 +74,4 @@ public interface DeviceState extends DeviceSynchronizeListener, DeviceValidListe
     boolean isQueueStatisticsAvailable();
 
     void setQueueStatisticsAvailable(boolean available);
-
-    boolean isStatisticsPollingEnabled();
-
-    void setStatisticsPollingEnabledProp(boolean statPollEnabled);
-
 }