<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:52:21 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-166] Opendaylight can not mount remote device</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-166</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;After ODL establishes a Netconf session (as client) to libnetconfd (as server) I try to use REST interface to get device characteristics.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://127.0.0.1:8080/restconf/operational/opendaylight-inventory:nodes/node/libnetconfd/yang-ext:mount&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8080/restconf/operational/opendaylight-inventory:nodes/node/libnetconfd/yang-ext:mount&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But the reply is:&lt;/p&gt;

&lt;p&gt;&quot;Mount point does not contain any schema with modules.&quot;&lt;/p&gt;

&lt;p&gt;Attached goes the logs of the netconf session setup between ODL and libnetconfd&lt;/p&gt;

&lt;p&gt;The actual GET request does not generate any packets towards the server. It is handled locally in ODL&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="24720">CONTROLLER-166</key>
            <summary>Opendaylight can not mount remote 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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="repenno">Reinaldo Penno</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Feb 2014 01:16:14 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:06 +0000</updated>
                            <resolved>Thu, 27 Feb 2014 13:03:01 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="47664" author="rapenno@gmail.com" created="Thu, 20 Feb 2014 01:16:14 +0000"  >&lt;p&gt;Attachment netconflogs.txt has been added with description: Logs of netconf session between ODL and libnetconfd&lt;/p&gt;</comment>
                            <comment id="47661" author="rapenno@gmail.com" created="Fri, 21 Feb 2014 15:49:02 +0000"  >&lt;p&gt;libnetconfd version:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://code.google.com/p/libnetconf/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://code.google.com/p/libnetconf/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;libnetconf-0.7 was released in February 2014 &lt;/p&gt;

&lt;p&gt;Netopeer:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://code.google.com/p/netopeer/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://code.google.com/p/netopeer/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Latest version&lt;/p&gt;</comment>
                            <comment id="47662" author="tony.tkacik@gmail.com" created="Thu, 27 Feb 2014 12:55:49 +0000"  >

&lt;p&gt;From analysis of the logs, we found out that response from libnetconfd is mallformed:&lt;/p&gt;


&lt;p&gt;When issuing get-schema RPC from ietf-netconf monitoring namespace is: urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring&lt;/p&gt;

&lt;p&gt;As in get-schema&lt;/p&gt;

&lt;p&gt;&amp;lt;get-schema xmlns=&quot;urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring&quot;&amp;gt;&lt;br/&gt;
&amp;lt;format&amp;gt;yang&amp;lt;/format&amp;gt;&lt;br/&gt;
&amp;lt;identifier&amp;gt;ietf-netconf&amp;lt;/identifier&amp;gt;&lt;br/&gt;
&amp;lt;version&amp;gt;2011-03-08&amp;lt;/version&amp;gt;&lt;br/&gt;
&amp;lt;/get-schema&amp;gt;&lt;br/&gt;
&amp;lt;/rpc&amp;gt;&lt;/p&gt;

&lt;p&gt;But data element in response is from base namespace, but it should be&lt;br/&gt;
urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring as defined in YANG specification.&lt;/p&gt;

&lt;p&gt;That is why ODL (which is strict about namespaces) did not process schema,&lt;br/&gt;
because get-schema response was invalid.&lt;/p&gt;

&lt;p&gt;The incorrect reply (from libnetconfd, could be seen in attached logs) is bellow:&lt;/p&gt;

&lt;p&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;rpc-reply xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; message-id=&quot;m-9&quot;&amp;gt;&lt;br/&gt;
  &amp;lt;data xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt;module &quot;ietf-netconf&quot; {&lt;br/&gt;
  namespace &quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;;&lt;br/&gt;
  prefix &quot;nc&quot;;&lt;br/&gt;
...&lt;br/&gt;
...&lt;br/&gt;
...&lt;/p&gt;

&lt;p&gt;The root reason is bug in libnetconf.&lt;/p&gt;</comment>
                            <comment id="47663" author="tony.tkacik@gmail.com" created="Thu, 27 Feb 2014 13:03:01 +0000"  >&lt;p&gt;Opened a bug report in netopeer:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://code.google.com/p/netopeer/issues/detail?id=10&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://code.google.com/p/netopeer/issues/detail?id=10&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="24685">CONTROLLER-131</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13354" name="netconflogs.txt" size="401514" author="repenno" created="Thu, 20 Feb 2014 01:16:14 +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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>435</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=435]]></customfieldvalue>

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

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

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