<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:31 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-643] OpenDaylight &quot;fails to fail&quot; on mounting device which doens&apos;t provide schemas if there are other schemas in cache</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-643</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;There&apos;s a test in NetconfDeviceSchemaProviderFactory.java which (I believe) is intended to check if a device has not provided any schemas:&lt;/p&gt;

&lt;p&gt;        Preconditions.checkState(sourceContext.getValidSources().isEmpty() == false,&lt;br/&gt;
                &quot;%s: Unable to create schema context, no sources provided by device&quot;, id);&lt;/p&gt;

&lt;p&gt;however this check only fails if the ~/cache/schema directory is completely empty.  If there are files in the directory which were provided by another device then the check &quot;fails to fail&quot; and the device is mounted despite failing to provide any sources.&lt;/p&gt;

&lt;p&gt;Is this intentional?&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25197">CONTROLLER-643</key>
            <summary>OpenDaylight &quot;fails to fail&quot; on mounting device which doens&apos;t provide schemas if there are other schemas in cache</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="giheron@cisco.com">Giles Heron</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Jul 2014 21:25:00 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:01 +0000</updated>
                            <resolved>Wed, 25 Mar 2015 10:04:34 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="48746" author="tony.tkacik@gmail.com" created="Thu, 24 Jul 2014 09:06:13 +0000"  >&lt;p&gt;Hi Giles,&lt;br/&gt;
intention there is as following:&lt;/p&gt;

&lt;p&gt;If device does not implement ietf-netconf-monitoring, we still looks up for&lt;br/&gt;
possible models in cache/schema because they could be sideloaded or discovered from other devices and thus this makes device able to export mount even&lt;br/&gt;
if it did not provided schemas.&lt;/p&gt;</comment>
                            <comment id="48747" author="giheron@cisco.com" created="Thu, 24 Jul 2014 11:08:58 +0000"  >&lt;p&gt;ah, ok. &lt;/p&gt;

&lt;p&gt;so we just check for any one of the models supported being in the cache?&lt;/p&gt;

&lt;p&gt;did we consider checking for all of them?  or just not bothering to check?  I mean if one module is there how much better is that than none?&lt;/p&gt;</comment>
                            <comment id="48748" author="tony.tkacik@gmail.com" created="Thu, 24 Jul 2014 16:03:28 +0000"  >&lt;p&gt;So current behaviour is to load as much as possible models,&lt;br/&gt;
the missing ones are not loaded, and netconf device is connected&lt;br/&gt;
with limited capabilities.&lt;/p&gt;</comment>
                            <comment id="48749" author="tony.tkacik@gmail.com" created="Tue, 16 Sep 2014 11:26:13 +0000"  >&lt;p&gt;The behaviour of netconf connector is to try to get sources from cache / other devices if they have same revision of same model.&lt;/p&gt;</comment>
                            <comment id="48750" author="mmarsale@cisco.com" created="Thu, 19 Mar 2015 09:23:31 +0000"  >&lt;p&gt;Hi Giles,&lt;/p&gt;

&lt;p&gt;So this is expected behavior as sal-netconf-connector tries to build the SchemaContext from the biggest possible subset of sources. Netconf-connector logs the issues with resolving sources and recently, it also writes the problematic sources into the datastore and they are available using restconf in topology model e.g. &lt;a href=&quot;http://localhost:8181/restconf/operational/network-topology:network-topology/topology/topology-netconf/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/restconf/operational/network-topology:network-topology/topology/topology-netconf/&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;So I would close this issue as expected behavior, what do you say ?&lt;/p&gt;</comment>
                            <comment id="48751" author="mmarsale@cisco.com" created="Wed, 25 Mar 2015 10:04:34 +0000"  >&lt;p&gt;This is expected behaviour, netconf node in the netconf topology now lists all the schemas that could not be used.&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>1408</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=1408]]></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_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10361"><![CDATA[Lithium-RC0]]></customfieldvalue>

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

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