DeviceState implementation
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / DeviceState.java
index 09036fd364089a92fadeb0a7e63ba519ba3a8bfc..d5e926d8d85d210ed8d1bb27b3f572a17bce4c10 100644 (file)
@@ -52,7 +52,7 @@ public interface DeviceState {
      *
      * @return The Map of bandwidths for all OFPorts
      */
-    Map<Long, Boolean> getPortsBandwidth();
+    Map<Long, Long> getPortsBandwidth();
 
     /**
      * Returns a Set containing all port IDs of this switch.
@@ -75,7 +75,7 @@ public interface DeviceState {
      * @param portNumber the port ID
      * @return bandwidth
      */
-    Boolean getPortBandwidth(Long portNumber);
+    Long getPortBandwidth(Long portNumber);
 
     /**
      * Returns True if the port is enabled,
@@ -100,11 +100,6 @@ public interface DeviceState {
      */
     List<PortGrouping> getEnabledPorts();
 
-    /**
-     * @return the unique xid for this session
-     */
-    Long getNextXid();
-
     /**
      * @return seed value for random operations
      */