<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:29 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-226] Use sal-netconf-connector to connet device costs too much time</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-226</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;When we uses sal-netconf-connector(Lithium sr4) to connet our router device(contains 200+ yang capabilities),it costs hours to be connected. The conntroller does not support the most yang capabilities of the device, but it is blocked in &lt;/p&gt;

&lt;p&gt;	at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)&lt;br/&gt;
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)&lt;br/&gt;
	at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)&lt;br/&gt;
	at com.google.common.util.concurrent.ExecutionList.add(ExecutionList.java:101)&lt;br/&gt;
	at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:170)&lt;br/&gt;
	at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:47)&lt;br/&gt;
	at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1322)&lt;br/&gt;
	at com.google.common.util.concurrent.Futures.addCallback(Futures.java:1258)&lt;br/&gt;
	at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.setUpSchema(NetconfDevice.java:460)&lt;br/&gt;
	at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup.access$1400(NetconfDevice.java:390)&lt;br/&gt;
	at org.opendaylight.controller.sal.connect.netconf.NetconfDevice$RecursiveSchemaSetup$1.onFailure(NetconfDevice.java:443)&lt;/p&gt;

&lt;p&gt;it costs too many hours untill it connected at last with many source miss yang capabilities.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="21239">NETCONF-226</key>
            <summary>Use sal-netconf-connector to connet device costs too much time</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <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="-1">Unassigned</assignee>
                                    <reporter username="hou.jin@zte.com.cn">Hou Jin</reporter>
                        <labels>
                    </labels>
                <created>Sat, 16 Jul 2016 11:26:30 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:26 +0000</updated>
                            <resolved>Fri, 19 Aug 2016 06:41:04 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="39483" author="jmorvay@cisco.com" created="Tue, 19 Jul 2016 17:15:19 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;Unfortunately, Lithium is not supported anymore. Can you please try this on Beryllium or Boron?&lt;/p&gt;

&lt;p&gt;Also moving bug from controller product to netconf product here in bugzilla, since netconf is standalone project now.&lt;/p&gt;</comment>
                            <comment id="39484" author="hou.jin@zte.com.cn" created="Wed, 20 Jul 2016 09:11:04 +0000"  >&lt;p&gt;We find that when a netconf device(with 200 yang capabilities that controller does not support) connected, in function onRemoteSessionUp it costs too much time in setUpSchema. It uses a recursion to check the yang capabilities of the remote device. when found a yang capability does not supported in controller it throw a MissingSchemaSourceException and remove the yang capability and recursively setUpSchema. Each check it use Futures.allAsList to check all yang capabilities so it will result 200 MissingSchemaSourceExceptions first time and 199 MissingSchemaSourceExceptions next time and ... All the time wasted in Exceptions so it costs hours to connect the device.&lt;/p&gt;</comment>
                            <comment id="39485" author="xu.rong4@zte.com.cn" created="Fri, 22 Jul 2016 07:15:34 +0000"  >&lt;p&gt;I try to fix the bug.&lt;/p&gt;

&lt;p&gt;Every missing source YANG capability will throw a MissingSchemaSourceException and trigger an additional call to createSchemaContext in class RecursiveSchemaSetup.&lt;/p&gt;

&lt;p&gt;I filter out all missing source YANG capabilities before call createSchemaContext, in order to avoid repeated call createSchemaContext too many times.&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/42133/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/42133/&lt;/a&gt;&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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6198</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=6198]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01x8f:</customfieldvalue>

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