Skip to content
Snippets Groups Projects
Commit 17f3b823 authored by Wilson Ng's avatar Wilson Ng
Browse files

Add getLinkType() as a public method in ILinkDiscoveryService interface.

parent ab381a37
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,15 @@ public interface ILinkDiscoveryService extends IFloodlightService { ...@@ -44,7 +44,15 @@ public interface ILinkDiscoveryService extends IFloodlightService {
* @return linkTuple * @return linkTuple
*/ */
public LinkInfo getLinkInfo(SwitchPortTuple idPort, boolean isSrcPort); public LinkInfo getLinkInfo(SwitchPortTuple idPort, boolean isSrcPort);
/**
* Get the link type of the link tuple based on link info.
* @param linkTuple
* @param linkInfo
* @return linkType
*/
public ILinkDiscovery.LinkType getLinkType(LinkTuple lt, LinkInfo info);
/** /**
* Retrieves a map of all known link connections between OpenFlow switches * Retrieves a map of all known link connections between OpenFlow switches
* and the associated info (valid time, port states) for the link. * and the associated info (valid time, port states) for the link.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment