<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:34:00 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[OPNFLWPLUG-1027] Topology manager writes link information everytime topology-lldp-discovery publish the linkAdded/linkRemove notificaiton</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-1027</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;In the current implementation of the TopologyManager, it&apos;s listening for linkAdded and linkRemoved notification and whenever it receive those notification, it updates the data store. linkAdded and linkRemoved notificaitons are published by topology-lldp-discovery module. Topology-lldp-discovery module will publish this whenever it will receive the lldp packet from the switch. This is not a right behavior, because it&apos;s publishing the same linkAdded event everytime it receives the lldp packet. This can cause performance issue when topology is large.&lt;/p&gt;

&lt;p&gt;Topology-lldp-discovery&#160;module should only publish the linkAdded notification if the link is added first time or removed and added back.&lt;/p&gt;</description>
                <environment></environment>
        <key id="30322">OPNFLWPLUG-1027</key>
            <summary>Topology manager writes link information everytime topology-lldp-discovery publish the linkAdded/linkRemove notificaiton</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="gobinath">Gobinath Suganthan</assignee>
                                    <reporter username="Avishnoi">Anil Vishnoi</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Jul 2018 02:05:38 +0000</created>
                <updated>Mon, 17 Jun 2019 15:49:12 +0000</updated>
                            <resolved>Mon, 17 Jun 2019 15:49:12 +0000</resolved>
                                                    <fixVersion>Neon</fixVersion>
                    <fixVersion>Sodium</fixVersion>
                                    <component>topology-lldp-discovery</component>
                    <component>topology-manager</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="64922" author="vishnoianil@gmail.com" created="Mon, 10 Sep 2018 15:39:42 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=andrejleitner&quot; class=&quot;user-hover&quot; rel=&quot;andrejleitner&quot;&gt;andrejleitner&lt;/a&gt; Are you still looking at this bug ? If not, can you please un-assign it so we can assign it to someone else?&lt;/p&gt;</comment>
                            <comment id="66133" author="gobinath" created="Mon, 7 Jan 2019 12:37:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=Avishnoi&quot; class=&quot;user-hover&quot; rel=&quot;Avishnoi&quot;&gt;Avishnoi&lt;/a&gt;, &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=Arunprakash&quot; class=&quot;user-hover&quot; rel=&quot;Arunprakash&quot;&gt;Arunprakash&lt;/a&gt;&#160;I had a look at this.&#160;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=andrejleitner&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Andrej Leitner&lt;/a&gt;&apos;s patch had some CSIT failures related to topology. In the patch, the &quot;linkToDate&quot; cache (already existing) is used to decide whether to send the notification. So, the &quot;linkAdded&quot; notification is sent only when the &quot;linkToDate&quot; cache doesnt have the discovered link. This cache is&#160;regularly&#160;updated in the following manner(LinkAger):&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;a) Whenever the lldp pkt is received for a link&#160;(lldp&#160;interval confgured as 5s), the link is updated with the latest age&lt;/li&gt;
	&lt;li&gt;b) All the entries are checked for every interval (topology-lldp-expiration-interval which is currently 60s). In the event of the age being expired (time link updated +&#160;expiration-interval &amp;gt; currentTime), only then the entry is removed.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;So, even after the link is removed it would take 60s for the link to e removed from the cache. But if we dont wait for this removal and add the link back, the cache would contain the link after the expiry. So no lldp would be sent thinking that the link was never removed in the first place. So the flapped links wont be discovered.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="66777" author="gobinath" created="Wed, 8 May 2019 08:39:20 +0000"  >&lt;p&gt;There are still some failures in the job &quot;openflowplugin-csit-1node-gate-flow-services-all-sodium&quot; of openflowplugin CSIT for this review.&lt;/p&gt;

&lt;p&gt;I added some logging to debug them but I&apos;m finding difficult to isolate the issues as similar TCs are repeated across the suite and the job itself is time consuming. It would be easier to debug if only the failed TCs can be run.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ecelgp&quot; class=&quot;user-hover&quot; rel=&quot;ecelgp&quot;&gt;ecelgp&lt;/a&gt; Could you please guide on how to run only a particular set of sets from the CSIT.&lt;/p&gt;</comment>
                            <comment id="66778" author="ecelgp" created="Wed, 8 May 2019 16:03:23 +0000"  >&lt;p&gt;Tell me what you want to run as test and I can prepare test patch and job in sandbox you can use to validate your patch.&lt;/p&gt;</comment>
                            <comment id="66782" author="gobinath" created="Thu, 9 May 2019 10:50:41 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ecelgp&quot; class=&quot;user-hover&quot; rel=&quot;ecelgp&quot;&gt;ecelgp&lt;/a&gt;Thanks a lot &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;. But I have already figured out the reasons for the failures.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03gpr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>