<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:55 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>[NETCONF-1201] Long delay in connection status update after connection issue for multiple devices</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-1201</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;This issue is identical to &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-966&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/NETCONF-966&lt;/a&gt;, but it is necessary to initiate more than one device.&lt;br/&gt;
With a single device, it works correctly.&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;/p&gt;

&lt;p&gt;1. Start Karaf:&#160;&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;feature:install odl-restconf-all odl-netconf-topology&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;2. Initialize 2 devices with auto-connect:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;java -jar netconf-testtool-7.0.0-SNAPSHOT-executable.jar --device-count 2 --ssh true --md-sal true --controller-ip 127.0.0.1 --controller-port 8181&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;3. Verify the connected state.&lt;/p&gt;

&lt;p&gt;4. Drop the packet from one of the NETCONF devices:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;sudo iptables -I INPUT -p tcp --dport 17831 -j DROP&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="37700">NETCONF-1201</key>
            <summary>Long delay in connection status update after connection issue for multiple devices</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="ivanhrasko">Ivan Hrasko</assignee>
                                    <reporter username="PeterSuna">Peter Suna</reporter>
                        <labels>
                            <label>pt</label>
                            <label>regression</label>
                    </labels>
                <created>Tue, 21 Nov 2023 11:21:05 +0000</created>
                <updated>Tue, 9 Jan 2024 12:58:08 +0000</updated>
                            <resolved>Tue, 28 Nov 2023 15:28:14 +0000</resolved>
                                    <version>7.0.0</version>
                    <version>5.0.10</version>
                    <version>6.0.6</version>
                                    <fixVersion>7.0.0</fixVersion>
                    <fixVersion>5.0.10</fixVersion>
                    <fixVersion>6.0.6</fixVersion>
                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="72902" author="petersuna" created="Tue, 28 Nov 2023 15:27:43 +0000"  >&lt;p&gt;Upon further investigation, it appears that there is an error in the Steps to reproduce that I provided for this task. I apologize for any confusion this may have caused. The mistake lies in the utilization of the testtool auto-connect with the default configuration, which sets the &lt;b&gt;&lt;tt&gt;keepalive-delay&lt;/tt&gt;&lt;/b&gt; to &lt;b&gt;0.&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;As indicated in the documentation, &quot;&lt;em&gt;If a value &amp;lt;1 is provided, no keepalives will be sent&lt;/em&gt;&quot;. This unintended behavior might be the root cause of the issue.&lt;br/&gt;
&lt;a href=&quot;https://github.com/opendaylight/netconf/blob/1d54816dbaf3cbc14c72ec80e643bf6fda1fc093/plugins/netconf-client-mdsal/src/main/yang/odl-netconf-device.yang#L198&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/netconf/blob/1d54816dbaf3cbc14c72ec80e643bf6fda1fc093/plugins/netconf-client-mdsal/src/main/yang/odl-netconf-device.yang#L198&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When I try to connect the device with a &lt;tt&gt;keepalive-delay&lt;/tt&gt; set higher than 0, the connection state changes immediately after the expiration of the keepalive RPC.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="19500" name="karaf.log" size="353498" author="PeterSuna" created="Tue, 21 Nov 2023 12:00:26 +0000"/>
                    </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|i046v3:</customfieldvalue>

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