3c1b6f241a2df9e1fc090c65e772fdb2fb5ac434
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / reader / IPluginOutReadService.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 package org.opendaylight.controller.sal.reader;
11
12 import java.util.List;
13
14 import org.opendaylight.controller.sal.core.Node;
15
16 /**
17  * @file   IPluginOutReadService.java
18  *
19  * @brief  Hardware statistics updates service to be offered by protocol plugins
20  */
21 public interface IPluginOutReadService {
22
23     /**
24      * Notifies the hardware view of all the flow installed on the specified network node
25      * @param node
26      * @return
27      */
28     public void nodeFlowStatisticsUpdated(Node node, List<FlowOnNode> flowStatsList);
29
30     /**
31      * Notifies the hardware view of the specified network node connector
32      * @param node
33      * @return
34      */
35     public void nodeConnectorStatisticsUpdated(Node node, List<NodeConnectorStatistics> ncStatsList);
36
37     /**
38      * Notifies all the table statistics for a node
39      * @param node
40      * @return
41      */
42     public void nodeTableStatisticsUpdated(Node node, List<NodeTableStatistics> tableStatsList);
43     /**
44      * Notifies the hardware view of node description changes
45      * @param node
46      * @return
47      */
48     public void descriptionStatisticsUpdated(Node node, NodeDescription nodeDescription );
49
50 }