<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:12 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>[CONTROLLER-509] Cannot discover netconf device</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-509</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;While trying to get a netconf based device recognized by ODL, it was found that the initial RPC request was as below&lt;/p&gt;

&lt;p&gt;&amp;lt;rpc message-id=&quot;m-25&quot; xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt; &amp;lt;get-schema xmlns=&quot;urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring&quot;&amp;gt; &amp;lt;version&amp;gt;2012-02-06&amp;lt;/version&amp;gt; &amp;lt;identifier&amp;gt;ietf-netconf-notifications&amp;lt;/identifier&amp;gt; &amp;lt;format&amp;gt;yang&amp;lt;/format&amp;gt; &amp;lt;/get-schema&amp;gt; &amp;lt;/rpc&amp;gt;&lt;/p&gt;



&lt;p&gt;After debugging on the device side, below is what works correctly on the device side&lt;/p&gt;

&lt;p&gt;&amp;lt;rpc message-id=&quot;m-25&quot; xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt; &amp;lt;get-schema xmlns=&quot;urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring&quot;&amp;gt; &amp;lt;identifier&amp;gt;ietf-netconf-notifications&amp;lt;/identifier&amp;gt; &amp;lt;version&amp;gt;2012-02-06&amp;lt;/version&amp;gt; &amp;lt;format&amp;gt;yang&amp;lt;/format&amp;gt; &amp;lt;/get-schema&amp;gt; &amp;lt;/rpc&amp;gt;&lt;/p&gt;

&lt;p&gt;Basically Identifier should be sent before the versiion. This was also confirmed by tail-f - who pointed to the rfc 6020 - section 7.13 - subsection 7.13.4&lt;/p&gt;

&lt;p&gt;Below is the snippet from the ODL log when it fails&lt;/p&gt;

&lt;p&gt;2014-05-22 14:48:40.131 EDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1&amp;#93;&lt;/span&gt; DEBUG o.o.c.n.u.h.NetconfMessageAggregato r - Message is complete. 2014-05-22 14:48:40.131 EDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-7-1&amp;#93;&lt;/span&gt; DEBUG o.o.c.n.u.m.NetconfMessageFactory - Parsing message &amp;lt;rpc-reply message-id=&quot;m-25&quot; xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt;&amp;lt;rpc-error&amp;gt; &amp;lt;error-type&amp;gt;protocol&amp;lt;/error-type&amp;gt; &amp;lt;error-tag&amp;gt;missing-element&amp;lt;/error-tag&amp;gt; &amp;lt;error-severity&amp;gt;error&amp;lt;/error-severity&amp;gt; &amp;lt;error-path xmlns:ncm=&quot;urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring&quot;&amp;gt; /rpc/ncm:get-schema/ncm:identifier &amp;lt;/error-path&amp;gt;&amp;lt;error-info&amp;gt;&amp;lt;bad-element&amp;gt;identifier&amp;lt;/bad-element&amp;gt; &amp;lt;/error-info&amp;gt; &amp;lt;/rpc-error&amp;gt; &amp;lt;/rpc-reply&amp;gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25063">CONTROLLER-509</key>
            <summary>Cannot discover netconf device</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="10002">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="csadi@hotmail.com">Adiseshu</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 May 2014 17:09:09 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:49 +0000</updated>
                            <resolved>Wed, 28 May 2014 07:03:38 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="25062">CONTROLLER-508</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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>1080</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=1080]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10313"><![CDATA[Highest]]></customfieldvalue>

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

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