Bug 1029: Remove dead code: samples/clustersession
[controller.git] / opendaylight / protocol_plugins / openflow / src / main / java / org / opendaylight / controller / protocol_plugin / openflow / ITopologyServiceShimListener.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.controller.protocol_plugin.openflow;
10
11 import java.util.List;
12
13 import org.opendaylight.controller.sal.core.Edge;
14 import org.opendaylight.controller.sal.topology.TopoEdgeUpdate;
15
16 /**
17  * The Interface provides Edge updates to the topology listeners
18  */
19 public interface ITopologyServiceShimListener {
20     /**
21      * Called to update on Edge in the topology graph
22      *
23      * @param topoedgeupdateList
24      *            List of topoedgeupdates Each topoedgeupdate includes edge, its
25      *            Properties ( BandWidth and/or Latency etc) and update type.
26      */
27     public void edgeUpdate(List<TopoEdgeUpdate> topoedgeupdateList);
28
29     /**
30      * Called when an Edge utilization is above the safe threshold configured on
31      * the controller
32      *
33      * @param {@link org.opendaylight.controller.sal.core.Edge}
34      */
35     public void edgeOverUtilized(Edge edge);
36
37     /**
38      * Called when the Edge utilization is back to normal, below the safety
39      * threshold level configured on the controller
40      *
41      * @param {@link org.opendaylight.controller.sal.core.Edge}
42      */
43     public void edgeUtilBackToNormal(Edge edge);
44 }