Checkstyle enforcer
[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 import java.util.Set;
13
14 import org.opendaylight.controller.sal.core.Edge;
15 import org.opendaylight.controller.sal.core.Property;
16 import org.opendaylight.controller.sal.core.UpdateType;
17 import org.opendaylight.controller.sal.topology.TopoEdgeUpdate;
18
19 /**
20  * The Interface provides Edge updates to the topology listeners
21  */
22 public interface ITopologyServiceShimListener {
23     /**
24      * Called to update on Edge in the topology graph
25      *
26      * @param topoedgeupdateList
27      *            List of topoedgeupdates Each topoedgeupdate includes edge, its
28      *            Properties ( BandWidth and/or Latency etc) and update type.
29      */
30     public void edgeUpdate(List<TopoEdgeUpdate> topoedgeupdateList);
31
32     /**
33      * Called when an Edge utilization is above the safe threshold configured on
34      * the controller
35      *
36      * @param {@link org.opendaylight.controller.sal.core.Edge}
37      */
38     public void edgeOverUtilized(Edge edge);
39
40     /**
41      * Called when the Edge utilization is back to normal, below the safety
42      * threshold level configured on the controller
43      *
44      * @param {@link org.opendaylight.controller.sal.core.Edge}
45      */
46     public void edgeUtilBackToNormal(Edge edge);
47 }