X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fstatisticsmanager%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fstatisticsmanager%2FIStatisticsManager.java;h=a2ab07ac7b6bc7249f44ca1c66415c731faf738c;hp=db7489d47073c8e0a3423819aeab84cb8ef8a490;hb=eb9e1983a0fce7e4a381eff33e40cae957cddf53;hpb=ce4da5bc86d05c8a1cdc747630972f7cb5ac95c2 diff --git a/opendaylight/statisticsmanager/api/src/main/java/org/opendaylight/controller/statisticsmanager/IStatisticsManager.java b/opendaylight/statisticsmanager/api/src/main/java/org/opendaylight/controller/statisticsmanager/IStatisticsManager.java index db7489d470..a2ab07ac7b 100644 --- a/opendaylight/statisticsmanager/api/src/main/java/org/opendaylight/controller/statisticsmanager/IStatisticsManager.java +++ b/opendaylight/statisticsmanager/api/src/main/java/org/opendaylight/controller/statisticsmanager/IStatisticsManager.java @@ -15,9 +15,11 @@ import java.util.Map; import org.opendaylight.controller.forwardingrulesmanager.FlowEntry; 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.reader.FlowOnNode; import org.opendaylight.controller.sal.reader.NodeConnectorStatistics; import org.opendaylight.controller.sal.reader.NodeDescription; +import org.opendaylight.controller.sal.reader.NodeTableStatistics; /** * Interface which defines the available methods for retrieving @@ -29,7 +31,7 @@ public interface IStatisticsManager { * If the context is the default container, the returned statistics are for all the flows installed on the node, * regardless of the container they belong to * - * @param node the network node + * @param node the network node * @return the list of flows installed on the network node */ List getFlows(Node node); @@ -38,7 +40,7 @@ public interface IStatisticsManager { * Returns the statistics for the flows specified in the list * * @param flows - * @return the list of flows installed on the network node + * @return the list of flows installed on the network node */ Map> getFlowStatisticsForFlowList( List flows); @@ -79,4 +81,20 @@ public interface IStatisticsManager { * @return */ List getNodeConnectorStatistics(Node node); + + /** + * Returns the statistics for the specified table of the node + * + * @param nodeTable + * @return + */ + NodeTableStatistics getNodeTableStatistics(NodeTable nodeTable); + + /** + * Returns the statistics for all the tables of the node + * + * @param nodeTable + * @return + */ + List getNodeTableStatistics(Node node); }