<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:08 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-881] Device with augmented NETCONF monitoring response cannot be connected without models inside cache/schema</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-881</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;If NETCONF device provide response with augmented ietf-netconf-monitoring data, there is an only way how to create device EffectiveModelContext by adding required device models to cache/schema.&lt;/p&gt;

&lt;p&gt;Due to unknown elements in response and default `strictParsing` set to true inside XmlParserStream:&lt;br/&gt;
&lt;a href=&quot;https://github.com/opendaylight/netconf/blob/master/netconf/netconf-util/src/main/java/org/opendaylight/netconf/util/NetconfUtil.java#L408&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/netconf/blob/master/netconf/netconf-util/src/main/java/org/opendaylight/netconf/util/NetconfUtil.java#L408&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;variable providedSources will be empty:&lt;br/&gt;
&lt;a href=&quot;https://github.com/opendaylight/netconf/blob/master/netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/DeviceSourcesResolver.java#L56&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/netconf/blob/master/netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/DeviceSourcesResolver.java#L56&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;And if device models are not available in cache/schema, this part will fail because no models will be provided:&lt;br/&gt;
&lt;a href=&quot;https://github.com/opendaylight/netconf/blob/master/netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/NetconfDevice.java#L510&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/netconf/blob/master/netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/NetconfDevice.java#L510&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So device will be disconnected&lt;/p&gt;</description>
                <environment></environment>
        <key id="35832">NETCONF-881</key>
            <summary>Device with augmented NETCONF monitoring response cannot be connected without models inside cache/schema</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="10000">Done</resolution>
                                        <assignee username="sangwookha">Sangwook Ha</assignee>
                                    <reporter username="PeterSuna">Peter Suna</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Tue, 31 May 2022 09:01:50 +0000</created>
                <updated>Tue, 19 Jul 2022 05:59:11 +0000</updated>
                            <resolved>Tue, 19 Jul 2022 05:59:05 +0000</resolved>
                                    <version>2.0.0</version>
                    <version>3.0.0</version>
                    <version>2.0.16</version>
                    <version>3.0.5</version>
                                    <fixVersion>4.0.0</fixVersion>
                    <fixVersion>3.0.6</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="71203" author="rovarga" created="Tue, 14 Jun 2022 14:52:14 +0000"  >&lt;p&gt;There are two ways to fix this:&lt;br/&gt;
1. request specific leafs of netconf-state through a subtree filter, which will not include the augmentations&lt;br/&gt;
2. trim the resulting DOM tree so that it includes only nodes from ietf-netconf-monitoring namespace&lt;/p&gt;</comment>
                            <comment id="71325" author="JIRAUSER13318" created="Thu, 14 Jul 2022 22:33:18 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/netconf/+/101850&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;101850&lt;/a&gt; implements the second option - trimming DOM tree.&lt;br/&gt;
The first option is less compatible - e.g. Junos does not allow a subtree filter for the child nodes of &lt;tt&gt;schemas&lt;/tt&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="35901">NETCONF-885</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="17719" name="logs.txt" size="11595" author="PeterSuna" created="Tue, 31 May 2022 09:03:30 +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|i042hr:</customfieldvalue>

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