SDN Controller Programming Guide
205
Table 8 Link Table
Source Device
Source
Port
Destination Device
Destination Port
03:e7:00:26:f1:29:af:00
1
03:e7:00:23:47:ba:05:40
23
03:e8:00:23:47:ba:05:40
11
03:e8:00:26:f1:29:af:00
8
Device Interaction
This application listens to LLDP messages, Link up/down messages.
The application sends out LLDP PDUs to all devices.
Services provided by Link Manager
Learns and maintains all inter switch links in the control domain.
Used by the Topology Module to construct end-to-end paths.
The applications can use link discovery services to reconfigure flows when link goes down.
Users can avoid sending LLDP discover packet on certain ports like edge port, by adding
ports to the "Suppressed LLDP Ports"
By way of API's consumable by other peer Network services as well as by elements to its north in
the solution stack, the Link Discovery Network Service essentially provides the key services
captured below.
Key Terms
InfraConnectionPoint: Port participating in intra switch physical links.
Suppress LLDP Ports: To avoid sending LLDP discover packet on certain ports like edge port,
the Link Discovery module maintains a special list of ports which are called as "Suppressed
LLDP Ports"
Get all discovered physical links in the network
Set<Link> getAllLinks();
Get all physical links for device
Set<Link> getDeviceLinks(DataPathId dpid);
Check if a given connection point is a infrastructure connection point
boolean isInfraPort(ConnectionPoint cp);
Get all ports on which LLDP is suppressed
Set<ConnectionPoint> getSuppressLLDPsInfo();