diff --git a/src/main/java/net/floodlightcontroller/linkdiscovery/ILinkDiscoveryService.java b/src/main/java/net/floodlightcontroller/linkdiscovery/ILinkDiscoveryService.java index cbd440edc24613c29986305c2183f833e499b861..e950bee8bd73b44175c7518c734b12c8a2da0bbc 100644 --- a/src/main/java/net/floodlightcontroller/linkdiscovery/ILinkDiscoveryService.java +++ b/src/main/java/net/floodlightcontroller/linkdiscovery/ILinkDiscoveryService.java @@ -63,4 +63,24 @@ public interface ILinkDiscoveryService extends IFloodlightService { * @param listener The listener that wants the notifications */ public void addListener(ILinkDiscoveryListener listener); + + /** + * Retrieves a set of all switch ports on which lldps are suppressed. + * @return + */ + public Set<SwitchPortTuple> getSuppressLLDPsInfo(); + + /** + * Adds a switch port to suppress lldp set + * @param sw + * @param port + */ + public void AddToSuppressLLDPs(IOFSwitch sw, short port); + + /** + * Removes a switch port from suppress lldp set + * @param sw + * @param port + */ + public void RemoveFromSuppressLLDPs(IOFSwitch sw, short port); }