public class VirtualNetworkLinkManager extends AbstractVirtualListenerManager<org.onosproject.net.link.LinkEvent,org.onosproject.net.link.LinkListener> implements org.onosproject.net.link.LinkService
eventDispatcher, manager, networkId, serviceDirectory| Constructor and Description |
|---|
VirtualNetworkLinkManager(VirtualNetworkService virtualNetworkManager,
NetworkId networkId)
Creates a new VirtualNetworkLinkService object.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<org.onosproject.net.Link> |
getActiveLinks() |
Set<org.onosproject.net.Link> |
getDeviceEgressLinks(org.onosproject.net.DeviceId deviceId) |
Set<org.onosproject.net.Link> |
getDeviceIngressLinks(org.onosproject.net.DeviceId deviceId) |
Set<org.onosproject.net.Link> |
getDeviceLinks(org.onosproject.net.DeviceId deviceId) |
Set<org.onosproject.net.Link> |
getEgressLinks(org.onosproject.net.ConnectPoint connectPoint) |
Set<org.onosproject.net.Link> |
getIngressLinks(org.onosproject.net.ConnectPoint connectPoint) |
org.onosproject.net.Link |
getLink(org.onosproject.net.ConnectPoint src,
org.onosproject.net.ConnectPoint dst) |
int |
getLinkCount() |
Iterable<org.onosproject.net.Link> |
getLinks() |
Set<org.onosproject.net.Link> |
getLinks(org.onosproject.net.ConnectPoint connectPoint) |
addListener, getEventClass, networkId, post, removeListenerpublic VirtualNetworkLinkManager(VirtualNetworkService virtualNetworkManager, NetworkId networkId)
virtualNetworkManager - virtual network manager servicenetworkId - a virtual networkIdentifierpublic int getLinkCount()
getLinkCount in interface org.onosproject.net.link.LinkServicepublic Iterable<org.onosproject.net.Link> getLinks()
getLinks in interface org.onosproject.net.link.LinkServicepublic Iterable<org.onosproject.net.Link> getActiveLinks()
getActiveLinks in interface org.onosproject.net.link.LinkServicepublic Set<org.onosproject.net.Link> getDeviceLinks(org.onosproject.net.DeviceId deviceId)
getDeviceLinks in interface org.onosproject.net.link.LinkServicepublic Set<org.onosproject.net.Link> getDeviceEgressLinks(org.onosproject.net.DeviceId deviceId)
getDeviceEgressLinks in interface org.onosproject.net.link.LinkServicepublic Set<org.onosproject.net.Link> getDeviceIngressLinks(org.onosproject.net.DeviceId deviceId)
getDeviceIngressLinks in interface org.onosproject.net.link.LinkServicepublic Set<org.onosproject.net.Link> getLinks(org.onosproject.net.ConnectPoint connectPoint)
getLinks in interface org.onosproject.net.link.LinkServicepublic Set<org.onosproject.net.Link> getEgressLinks(org.onosproject.net.ConnectPoint connectPoint)
getEgressLinks in interface org.onosproject.net.link.LinkServicepublic Set<org.onosproject.net.Link> getIngressLinks(org.onosproject.net.ConnectPoint connectPoint)
getIngressLinks in interface org.onosproject.net.link.LinkServicepublic org.onosproject.net.Link getLink(org.onosproject.net.ConnectPoint src,
org.onosproject.net.ConnectPoint dst)
getLink in interface org.onosproject.net.link.LinkService