2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
9 package org.opendaylight.controller.protocol_plugin.openflow;
11 import java.util.List;
13 import org.opendaylight.controller.sal.core.Edge;
14 import org.opendaylight.controller.sal.topology.TopoEdgeUpdate;
17 * The Interface provides Edge updates to the topology listeners
19 public interface ITopologyServiceShimListener {
21 * Called to update on Edge in the topology graph
23 * @param topoedgeupdateList
24 * List of topoedgeupdates Each topoedgeupdate includes edge, its
25 * Properties ( BandWidth and/or Latency etc) and update type.
27 public void edgeUpdate(List<TopoEdgeUpdate> topoedgeupdateList);
30 * Called when an Edge utilization is above the safe threshold configured on
33 * @param {@link org.opendaylight.controller.sal.core.Edge}
35 public void edgeOverUtilized(Edge edge);
38 * Called when the Edge utilization is back to normal, below the safety
39 * threshold level configured on the controller
41 * @param {@link org.opendaylight.controller.sal.core.Edge}
43 public void edgeUtilBackToNormal(Edge edge);