I think openflowplugin devs will need to answer if there is any logic which would trigger an LLDP discovery on port state UP changes, but from the code I came across it was just a 5 sec. interval only.
Thanks, JamO On 05/24/2016 09:59 PM, Selvakumar Murugasekaran wrote: > Hello Jamo Luhrsen, > > Good day to you. > > Thank you for your information. > > Yes, I am not seen the LLDP discovery packet immediately when a port state > changes (from down to up) happen. > ODL controller sending the LLDP discovery on the 5sec intervals. > > Could you please clarify whether this is expected behavior of ODL controller? > > Let me know if you need any more information. > > > Thanks and Regards, > Selvakumar Murugasekaran > > > > On 5/25/2016 12:13 AM, Jamo Luhrsen wrote: >> +openflowplugin-dev >> >> inline... >> >> On 05/20/2016 04:41 AM, Selvakumar Murugasekaran wrote: >>> Hello Daniel Farrell, >>> >>> Good day to you. >>> >>> I have two queries, need to clarify about ODL beryllium controller. >>> >>> Query 1: >>> >>> ODL controller sending the *LLDP packet_out* message in periodic interval >>> of 5 seconds. >>> >>> Could you please clarify whether this interval is configurable or fixed one? >>> If it's configurable, Where this interval configuration is available in >>> "distribution-karaf-0.4.0-Beryllium". >> I *think* this comes from the lldp speaker feature in openflowplugin, not >> from l2switch, >> and as far as I know the time interval of 5 seconds is not configurable. >> There are two >> implementations for this, but I think you are using the default. Either >> way, both [0][1] >> seem to be set to 5 seconds in the code and not configurable. >> >> >> [0] >> https://github.com/opendaylight/openflowplugin/blob/master/applications/topology-lldp-discovery/src/main/java/org/opendaylight/openflowplugin/applications/topology/lldp/utils/LLDPDiscoveryUtils.java#L43 >> >> [1] >> https://github.com/opendaylight/openflowplugin/blob/master/applications/lldp-speaker/src/main/java/org/opendaylight/openflowplugin/applications/lldpspeaker/LLDPSpeaker.java#L42 >> >> >>> Query 2: >>> >>> ODL controller does not initiate the LLDP re-discovery message >>> (*Packet_out*) while changes(Link down/up) happen in current topology even >>> though >>> *mininet* send the *Port_status* message to controller. >>> It's sending the re-discovery message after the expire of 5 seconds only. >>> >>> Could you please clarify whether this is expected behavior of ODL >>> controller ? >> I'm not really following this question. Are you saying that you aren't >> seeing the >> LLDP discovery packet immediately when a port state changes (from down to >> up) and >> that it's only coming on the 5sec intervals? >> >> >> Thanks, >> JamO >> >> >>> Let me know if you need any more information. >>> >>> >>> Thanks and Regards, >>> Selvakumar Murugasekaran. >>> >>> >>> _______________________________________________ >>> integration-dev mailing list >>> [email protected] >>> https://lists.opendaylight.org/mailman/listinfo/integration-dev >>> > > _______________________________________________ L2switch-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/l2switch-dev
