public interface ILinkDiscoveryService extends IService
OFMLinkDiscovery
should implement.
This file is no different with Floodlight version.Modifier and Type | Method and Description |
---|---|
void |
addListener(ILinkDiscoveryListener listener)
Adds a listener to listen for ILinkDiscoveryService messages
|
void |
AddToSuppressLLDPs(long sw,
int port)
Adds a switch port to suppress lldp set
|
java.util.Map<Link,LinkInfo> |
getLinks()
Retrieves a map of all known link connections between OpenFlow switches
and the associated info (valid time, port states) for the link.
|
ILinkDiscovery.LinkType |
getLinkType(Link lt,
LinkInfo info)
Returns link type of a given link.
|
java.util.Set<java.lang.Integer> |
getQuarantinedPorts(long sw)
Get the set of quarantined ports on a switch
|
java.util.Set<NodePortTuple> |
getSuppressLLDPsInfo()
Retrieves a set of all switch ports on which lldps are suppressed.
|
java.util.Map<java.lang.Long,java.util.Set<Link>> |
getSwitchLinks()
Returns an unmodifiable map from switch id to a set of all links with it
as an endpoint.
|
boolean |
isAutoPortFastFeature()
Get the status of auto port fast feature.
|
void |
RemoveFromSuppressLLDPs(long sw,
int port)
Removes a switch port from suppress lldp set
|
void |
setAutoPortFastFeature(boolean autoPortFastFeature)
Set the state for auto port fast feature.
|
java.util.Map<Link,LinkInfo> getLinks()
ILinkDiscovery.LinkType getLinkType(Link lt, LinkInfo info)
lt
- Link objectinfo
- LinkInfo objectjava.util.Map<java.lang.Long,java.util.Set<Link>> getSwitchLinks()
void addListener(ILinkDiscoveryListener listener)
listener
- The listener that wants the notificationsjava.util.Set<NodePortTuple> getSuppressLLDPsInfo()
void AddToSuppressLLDPs(long sw, int port)
void RemoveFromSuppressLLDPs(long sw, int port)
java.util.Set<java.lang.Integer> getQuarantinedPorts(long sw)
boolean isAutoPortFastFeature()
void setAutoPortFastFeature(boolean autoPortFastFeature)
autoPortFastFeature
-