Package org.onosproject.net.link
Interface LinkAdminService
-
- All Superinterfaces:
LinkService,ListenerService<LinkEvent,LinkListener>
public interface LinkAdminService extends LinkService
Service for administering the inventory of infrastructure links.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidremoveLink(ConnectPoint src, ConnectPoint dst)Removes all links between between the specified src and dst connection points.voidremoveLinks(ConnectPoint connectPoint)Removes all infrastructure links leading to and from the specified connection point.voidremoveLinks(DeviceId deviceId)Removes all infrastructure links leading to and from the specified device.-
Methods inherited from interface org.onosproject.net.link.LinkService
getActiveLinks, getDeviceEgressLinks, getDeviceIngressLinks, getDeviceLinks, getEgressLinks, getIngressLinks, getLink, getLinkCount, getLinks, getLinks
-
Methods inherited from interface org.onosproject.event.ListenerService
addListener, removeListener
-
-
-
-
Method Detail
-
removeLinks
void removeLinks(ConnectPoint connectPoint)
Removes all infrastructure links leading to and from the specified connection point.- Parameters:
connectPoint- connection point
-
removeLinks
void removeLinks(DeviceId deviceId)
Removes all infrastructure links leading to and from the specified device.- Parameters:
deviceId- device identifier
-
removeLink
void removeLink(ConnectPoint src, ConnectPoint dst)
Removes all links between between the specified src and dst connection points.- Parameters:
src- link sourcedst- link destination
-
-