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.sal.topology;
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 * @file IPluginOutTopologyService.java
21 * @brief Methods that are invoked from Protocol Plugin toward SAL
23 * Every time a protocol plugin update the topology, it will call this
24 * service provided by SAL so the update can migrate upward toward the
29 * Methods that are invoked from Protocol Plugin toward SAL
32 public interface IPluginOutTopologyService {
34 * Called to update on Edge in the topology graph
36 * @param e Edge being updated
37 * @param type Type of update
38 * @param props Properties of the edge, like BandWidth and/or Latency etc.
40 public void edgeUpdate(Edge e, UpdateType type, Set<Property> props);
43 * Called when an Edge utilization is above the safety threshold
44 * configured on the controller
48 public void edgeOverUtilized(Edge edge);
51 * Called when the Edge utilization is back to normal, below the safety
52 * threshold level configured on the controller
56 public void edgeUtilBackToNormal(Edge edge);