tom | eadbb46 | 2014-09-07 16:10:19 -0700 | [diff] [blame] | 1 | package org.onlab.onos.net.link; |
| 2 | |
| 3 | import org.onlab.onos.net.ConnectPoint; |
| 4 | import org.onlab.onos.net.DeviceId; |
| 5 | |
| 6 | /** |
| 7 | * Service for administering the inventory of infrastructure links. |
| 8 | */ |
| 9 | public interface LinkAdminService { |
| 10 | |
| 11 | /** |
| 12 | * Removes all infrastructure links leading to and from the |
| 13 | * specified connection point. |
| 14 | * |
| 15 | * @param connectPoint connection point |
| 16 | */ |
| 17 | void removeLinks(ConnectPoint connectPoint); |
| 18 | |
| 19 | /** |
| 20 | * Removes all infrastructure links leading to and from the |
| 21 | * specified device. |
| 22 | * |
| 23 | * @param deviceId device identifier |
| 24 | */ |
| 25 | void removeLinks(DeviceId deviceId); |
| 26 | |
| 27 | } |