blob: 7969022afe4e345fc309c9c5959269450d981228 [file] [log] [blame]
tom0eb04ca2014-08-25 14:34:51 -07001package org.onlab.onos.net.link;
2
tomc1a38d32014-08-25 23:01:32 -07003import org.onlab.onos.net.provider.ProviderService;
tom0eb04ca2014-08-25 14:34:51 -07004
5/**
6 * Means for injecting link information into the core.
7 */
tomd7356722014-08-26 01:07:39 -07008public interface LinkProviderService extends ProviderService<LinkProvider> {
tom0eb04ca2014-08-25 14:34:51 -07009
10 /**
tomdb0d03f2014-08-27 16:34:15 -070011 * Signals that an infrastructure link has been detected.
tom0eb04ca2014-08-25 14:34:51 -070012 *
13 * @param linkDescription link information
14 */
tomdb0d03f2014-08-27 16:34:15 -070015 void linkDetected(LinkDescription linkDescription);
tom0eb04ca2014-08-25 14:34:51 -070016
17 /**
tomdb0d03f2014-08-27 16:34:15 -070018 * Signals that an infrastructure link has disappeared.
tom0eb04ca2014-08-25 14:34:51 -070019 *
20 * @param linkDescription link information
21 */
tomdb0d03f2014-08-27 16:34:15 -070022 void linkVanished(LinkDescription linkDescription);
tom0eb04ca2014-08-25 14:34:51 -070023
24}