Checkstyle enforcer
[controller.git] / opendaylight / protocol_plugins / openflow / src / main / java / org / opendaylight / controller / protocol_plugin / openflow / IPluginReadServiceFilter.java
index a000024e9e0c7e5355e49e668cb966f71f004080..af474f0e67215492f29418ed66628bf6d3b2833b 100644 (file)
@@ -13,10 +13,12 @@ import java.util.List;
 
 import org.opendaylight.controller.sal.core.Node;
 import org.opendaylight.controller.sal.core.NodeConnector;
+import org.opendaylight.controller.sal.core.NodeTable;
 import org.opendaylight.controller.sal.flowprogrammer.Flow;
 import org.opendaylight.controller.sal.reader.FlowOnNode;
 import org.opendaylight.controller.sal.reader.NodeConnectorStatistics;
 import org.opendaylight.controller.sal.reader.NodeDescription;
+import org.opendaylight.controller.sal.reader.NodeTableStatistics;
 
 /**
  * Interface to serve the hardware information requests coming from SAL
@@ -77,6 +79,24 @@ public interface IPluginReadServiceFilter {
     public List<NodeConnectorStatistics> readAllNodeConnector(String container,
             Node node, boolean cached);
 
+    /**
+     * Returns the table statistics of the node as specified by the given container
+     * @param node
+     * @param cached
+     * @return
+     */
+    public NodeTableStatistics readNodeTable(String container,
+            NodeTable nodeTable, boolean cached);
+
+    /**
+     * Returns the table statistics of all the tables for the specified node
+     *
+     * @param node
+     * @return
+     */
+    public List<NodeTableStatistics> readAllNodeTable(String containerName,
+            Node node, boolean cached);
+
     /**
      * Returns the average transmit rate for the specified node conenctor on
      * the given container. If the node connector does not belong to the passed