<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:09 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-90] Be able to configure whether the connector uses device models or standards one for netconf base operations</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-90</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Be able to make the netconf connector configurable (whether the connector should use device models for netconf base operations or a standard one).&lt;/p&gt;

&lt;p&gt;Add the functionality for the netconf connector to ignore any schemas touching base netconf operations and use pre-loaded models that are already in ODL.&lt;/p&gt;

&lt;p&gt;The purpose is to have an even more open netconf connector, so it can be compatible with any netconf server, for instance ConfD with all its tail-f extensions.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21103">NETCONF-90</key>
            <summary>Be able to configure whether the connector uses device models or standards one for netconf base operations</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                                <status id="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="adetalhouet">Alexis de Talhou&#235;t</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Oct 2015 13:58:39 +0000</created>
                <updated>Tue, 13 Aug 2019 07:38:40 +0000</updated>
                                                                            <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="39028" author="rgoulding" created="Tue, 1 Dec 2015 17:39:01 +0000"  >&lt;p&gt;Modifying the model in the schema cache directory is a possible workaround for this.&lt;/p&gt;</comment>
                            <comment id="39029" author="rgoulding" created="Wed, 20 Jan 2016 14:24:41 +0000"  >&lt;p&gt;This is a duplicate of 4577.&lt;/p&gt;</comment>
                            <comment id="39030" author="adetalhouet" created="Wed, 20 Jan 2016 14:44:16 +0000"  >&lt;p&gt;Ryan, I don&apos;t believe this bug is a duplicate of 4577.&lt;/p&gt;

&lt;p&gt;Let say your netconf device runs ConfD, and its associated schema, foo.yang, import tailf-common.&lt;/p&gt;

&lt;p&gt;When you connect this device to ODL using the current netconf connector, the schema will be loaded in the cache/schema folder. That&apos;s fine, and the path for the folder where to save the schema can now be configure thanks to 4577.&lt;/p&gt;

&lt;p&gt;Although, when you try to mount this device, it will fail to mount the associated schema, foo.yang, because of the tailf-common stuff that are in it. &lt;/p&gt;

&lt;p&gt;The purpose of this bug is to have a way to mount schema containing import that are not supported/known by ODL.&lt;/p&gt;

&lt;p&gt;Another use case for this bug: again, let say we use a netconf device running ConfD. Some tailf models does change the output of the edit-config RPC, thus the returned &quot;OK&quot; isn&apos;t recognized by ODL. ODL is confused because it&apos;s expecting a specific encapsulation for the &quot;OK&quot; based on the RFC 6241 &lt;a href=&quot;https://tools.ietf.org/html/rfc6241#page-37&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc6241#page-37&lt;/a&gt; but this is not the one given when executing the edit-config.&lt;/p&gt;

&lt;p&gt;I would like the netconf connector to be more lax when specified in the config.&lt;/p&gt;</comment>
                            <comment id="39031" author="rgoulding" created="Wed, 20 Jan 2016 15:05:05 +0000"  >&lt;p&gt;Removing the mark as duplicate since I may not have adequately understood the problem;  my apologies Alexis &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;.&lt;/p&gt;

&lt;p&gt;1) Okay so your issue is that there are some Yang parser errors/exceptions for the models you are trying to import... can you add those exception stack traces to this bug?  We have had issues mounting tail-f as well...&lt;/p&gt;

&lt;p&gt;2) Regarding the &quot;OK&quot; message, do you have a trace or something of this?  I am just asking since we have also pushed for some leniency in the interpretation of standards;  usually we have been told that we should be standards compliant by default, and have some sort of option to turn on leniency.  Is the frame that tail-f returns standards compliant?   I am not an expert on this RFC by any means, so any information you provide is helpful.&lt;/p&gt;

&lt;p&gt;Is it fair to say this is more of an umbrella bug?  I think the issues (1&amp;amp;2) described above may be in completely separate areas of the code.&lt;/p&gt;

&lt;p&gt;I understand the frustration with trying to get things to mount in ODL;  there seem to be a lot of cases in which things simply won&apos;t work because different people interpreted the spec differently.&lt;/p&gt;</comment>
                            <comment id="39032" author="adetalhouet" created="Wed, 20 Jan 2016 15:32:55 +0000"  >&lt;p&gt;&amp;gt; 1) Okay so your issue is that there are some Yang parser errors/exceptions for the models you are trying to import... can you add those exception stack traces to this bug?  We have had issues mounting tail-f as well...&lt;/p&gt;

&lt;p&gt;It&apos;s not for the models I&apos;m tying to import, it is more regarding the model I&apos;m trying to mount. I don&apos;t anymore have the stack traces for that because I changed the model of the netconf device so it can mount properly. That being said, I shall change it again just to provide the stack trace. (although can&apos;t do it right now, maybe in a couple of weeks)&lt;br/&gt;
Here are some logs/warn when the netconf connector download/import schemas from the netconf device: &lt;a href=&quot;https://gist.github.com/18a9d506f4aa638b7bc9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.github.com/18a9d506f4aa638b7bc9&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&amp;gt; 2) Regarding the &quot;OK&quot; message, do you have a trace or something of this?  I am just asking since we have also pushed for some leniency in the interpretation of standards;  usually we have been told that we should be standards compliant by default, and have some sort of option to turn on leniency.  Is the frame that tail-f returns standards compliant?   I am not an expert on this RFC by any means, so any information you provide is helpful.&lt;/p&gt;

&lt;p&gt;Here are the logs/warn: &lt;a href=&quot;https://gist.github.com/5c5558e29ffbc4b7a7fd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.github.com/5c5558e29ffbc4b7a7fd&lt;/a&gt; The frame that tail-f return isn&apos;t compliant, and this is why ODL is confuse. This end up with ODL ending the netconf session and recreate it.&lt;br/&gt;
I believe ODL&apos;s implementation of the RFC 6241 really respected it. I&apos;m far from having a great knowledge of the RFC, but I know ODL is too strict and it would be nice to make it more lax though configuration.&lt;/p&gt;

&lt;p&gt;&amp;gt; Is it fair to say this is more of an umbrella bug?  I think the issues (1&amp;amp;2) described above may be in completely separate areas of the code.&lt;/p&gt;

&lt;p&gt;I completely agree, I opened this bug as an enhancement for Boron after talking with Maros. It is an umbrella bug, and it needs to be correctly break done so underlying bugs can be scheduled in Boron. I believe this can be done during next ODL Dev forum (February I believe). I think the two issues you described are absolutely relevant to this bug.&lt;/p&gt;</comment>
                            <comment id="39033" author="wsx25289" created="Fri, 11 Nov 2016 06:39:56 +0000"  >&lt;p&gt;(In reply to Alexis de Talhou&#235;t from comment #6)&lt;br/&gt;
&amp;gt; &amp;gt; 1) Okay so your issue is that there are some Yang parser errors/exceptions for the models you are trying to import... can you add those exception stack traces to this bug?  We have had issues mounting tail-f as well...&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; It&apos;s not for the models I&apos;m tying to import, it is more regarding the model&lt;br/&gt;
&amp;gt; I&apos;m trying to mount. I don&apos;t anymore have the stack traces for that because&lt;br/&gt;
&amp;gt; I changed the model of the netconf device so it can mount properly. That&lt;br/&gt;
&amp;gt; being said, I shall change it again just to provide the stack trace.&lt;br/&gt;
&amp;gt; (although can&apos;t do it right now, maybe in a couple of weeks)&lt;br/&gt;
&amp;gt; Here are some logs/warn when the netconf connector download/import schemas&lt;br/&gt;
&amp;gt; from the netconf device: &lt;a href=&quot;https://gist.github.com/18a9d506f4aa638b7bc9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.github.com/18a9d506f4aa638b7bc9&lt;/a&gt;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt; 2) Regarding the &quot;OK&quot; message, do you have a trace or something of this?  I am just asking since we have also pushed for some leniency in the interpretation of standards;  usually we have been told that we should be standards compliant by default, and have some sort of option to turn on leniency.  Is the frame that tail-f returns standards compliant?   I am not an expert on this RFC by any means, so any information you provide is helpful.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Here are the logs/warn: &lt;a href=&quot;https://gist.github.com/5c5558e29ffbc4b7a7fd&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.github.com/5c5558e29ffbc4b7a7fd&lt;/a&gt; The&lt;br/&gt;
&amp;gt; frame that tail-f return isn&apos;t compliant, and this is why ODL is confuse.&lt;br/&gt;
&amp;gt; This end up with ODL ending the netconf session and recreate it.&lt;br/&gt;
&amp;gt; I believe ODL&apos;s implementation of the RFC 6241 really respected it. I&apos;m far&lt;br/&gt;
&amp;gt; from having a great knowledge of the RFC, but I know ODL is too strict and&lt;br/&gt;
&amp;gt; it would be nice to make it more lax though configuration.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &amp;gt; Is it fair to say this is more of an umbrella bug?  I think the issues (1&amp;amp;2) described above may be in completely separate areas of the code.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; I completely agree, I opened this bug as an enhancement for Boron after&lt;br/&gt;
&amp;gt; talking with Maros. It is an umbrella bug, and it needs to be correctly&lt;br/&gt;
&amp;gt; break done so underlying bugs can be scheduled in Boron. I believe this can&lt;br/&gt;
&amp;gt; be done during next ODL Dev forum (February I believe). I think the two&lt;br/&gt;
&amp;gt; issues you described are absolutely relevant to this bug.&lt;/p&gt;

&lt;p&gt;Hi Alexis, does this bug has been solved in Boron?&lt;/p&gt;</comment>
                            <comment id="39034" author="adetalhouet" created="Fri, 18 Nov 2016 22:38:00 +0000"  >&lt;p&gt;Wang, sorry I missed the comment. I think this is getting partially address with bug-6346, at least for the part that allows to over-ride non-module capabilities and use them.&lt;/p&gt;

&lt;p&gt;Also, bug-6251 is fixed, allowing to mount netconf devices having flawed models.&lt;/p&gt;

&lt;p&gt;I&apos;ll have to look closer to see if that bug can be mark resolved.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="21114">NETCONF-101</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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>4530</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=4530]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10349"><![CDATA[Unspecified]]></customfieldvalue>

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

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