blob: 228b3c921ad90b89995cc6cdc7ecd10e0dc7957c [file] [log] [blame]
tomeadbb462014-09-07 16:10:19 -07001package org.onlab.onos.net.link;
2
3import org.onlab.onos.net.ConnectPoint;
4import org.onlab.onos.net.DeviceId;
5
6/**
7 * Service for administering the inventory of infrastructure links.
8 */
9public 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}