alshabib | 1f44e8e | 2014-08-14 15:19:57 -0700 | [diff] [blame] | 1 | package net.onrc.onos.api.link; |
| 2 | |
| 3 | import net.onrc.onos.api.ProviderService; |
| 4 | |
| 5 | /** |
| 6 | * Means for injecting link information into the core. |
| 7 | */ |
| 8 | public interface LinkProviderService extends ProviderService { |
| 9 | |
| 10 | /** |
| 11 | * Signals that an infrastructure link has been connected. |
| 12 | * |
| 13 | * @param linkDescription link information |
| 14 | */ |
| 15 | void linkConnected(LinkDescription linkDescription); |
| 16 | |
| 17 | /** |
| 18 | * Signals that an infrastructure link has been disconnected. |
| 19 | * |
| 20 | * @param linkDescription link information |
| 21 | */ |
| 22 | void linkDisconnected(LinkDescription linkDescription); |
| 23 | |
| 24 | } |