3 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
10 package org.opendaylight.controller.protocol_plugin.openflow;
14 import org.opendaylight.controller.sal.core.Edge;
15 import org.opendaylight.controller.sal.core.Property;
16 import org.opendaylight.controller.sal.core.UpdateType;
19 * The Interface provides Edge updates to the topology listeners
21 public interface ITopologyServiceShimListener {
23 * Called to update on Edge in the topology graph
25 * @param edge {@link org.opendaylight.controller.sal.core.Edge} being updated
26 * @param type {@link org.opendaylight.controller.sal.core.UpdateType}
27 * @param props set of {@link org.opendaylight.controller.sal.core.Property} like
28 * {@link org.opendaylight.controller.sal.core.Bandwidth} and/or
29 * {@link org.opendaylight.controller.sal.core.Latency} etc.
31 public void edgeUpdate(Edge edge, UpdateType type, Set<Property> props);
34 * Called when an Edge utilization is above the safe threshold configured
36 * @param {@link org.opendaylight.controller.sal.core.Edge}
38 public void edgeOverUtilized(Edge edge);
41 * Called when the Edge utilization is back to normal, below the safety
42 * threshold level configured on the controller
44 * @param {@link org.opendaylight.controller.sal.core.Edge}
46 public void edgeUtilBackToNormal(Edge edge);