private boolean |
OFMLinkDiscovery.handleLldp(LLDP lldp,
IOFSwitch sw,
org.openflow.protocol.OFPacketIn pi,
boolean isStandard,
java.util.List<org.openflow.protocol.OFMessage> outgoing)
From the LLDP packet received, this method first extract following information:
remote switch information
controller id (if this message is created by a controller)
direction of the message
The business logic of this method are as follows:
if the message is a standard LLDP which is not created by this controller, then drop it.
|