<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:36 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-670] ignore-missing-schema-sources not allowed as input to create-device</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-670</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;when attempting to mount a device with this operation:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
http:&lt;span class=&quot;code-comment&quot;&gt;//{{controller-ip}}:8181/restconf/operations/netconf-node-topology:create-device&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;using a body like this (note the ignore-missing-schema-sources element:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
{
    &lt;span class=&quot;code-quote&quot;&gt;&quot;input&quot;&lt;/span&gt;: {
        &lt;span class=&quot;code-quote&quot;&gt;&quot;login-password&quot;&lt;/span&gt;: {
            &lt;span class=&quot;code-quote&quot;&gt;&quot;password&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;password&quot;&lt;/span&gt;,
            &lt;span class=&quot;code-quote&quot;&gt;&quot;username&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;username&quot;&lt;/span&gt;
        },
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-optional:ignore-missing-schema-sources&quot;&lt;/span&gt;: {
            &lt;span class=&quot;code-quote&quot;&gt;&quot;reconnect-time&quot;&lt;/span&gt;: 5000,
            &lt;span class=&quot;code-quote&quot;&gt;&quot;allowed&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
        },
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:node-id&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;{{node}}&quot;&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;actor-response-wait-time&quot;&lt;/span&gt;: 900,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;concurrent-rpc-limit&quot;&lt;/span&gt;: 0,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;host&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;{{testtool-ip}}&quot;&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;sleep-factor&quot;&lt;/span&gt;: 1,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;port&quot;&lt;/span&gt;: 17830,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;tcp-only&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;connection-timeout-millis&quot;&lt;/span&gt;: 20000,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;max-connection-attempts&quot;&lt;/span&gt;: 0,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;keepalive-delay&quot;&lt;/span&gt;: 300,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;schema-cache-directory&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;MX2020-19.3R2.9&quot;&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;between-attempts-timeout-millis&quot;&lt;/span&gt;: 2000,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;schemaless&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;&lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;-request-timeout-millis&quot;&lt;/span&gt;: 600000
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;it is denied with:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
{
    &lt;span class=&quot;code-quote&quot;&gt;&quot;errors&quot;&lt;/span&gt;: {
        &lt;span class=&quot;code-quote&quot;&gt;&quot;error&quot;&lt;/span&gt;: [
            {
                &lt;span class=&quot;code-quote&quot;&gt;&quot;error-type&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;protocol&quot;&lt;/span&gt;,
                &lt;span class=&quot;code-quote&quot;&gt;&quot;error-tag&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;malformed-message&quot;&lt;/span&gt;,
                &lt;span class=&quot;code-quote&quot;&gt;&quot;error-message&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;Error parsing input: Schema node with name ignore-missing-schema-sources was not found under (urn:opendaylight:netconf-node-topology?revision=2015-01-14)input.&quot;&lt;/span&gt;,
                &lt;span class=&quot;code-quote&quot;&gt;&quot;error-info&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;Schema node with name ignore-missing-schema-sources was not found under (urn:opendaylight:netconf-node-topology?revision=2015-01-14)input.&quot;&lt;/span&gt;
            }
        ]
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I do not see the the netconf-node-topology.yang loaded, which probably explains it.&lt;br/&gt;
Should that module be loaded?&lt;/p&gt;</description>
                <environment></environment>
        <key id="32602">NETCONF-670</key>
            <summary>ignore-missing-schema-sources not allowed as input to create-device</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="nikhil.soni.lumina">Nikhil Soni</assignee>
                                    <reporter username="jluhrsen">Jamo Luhrsen</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Apr 2020 15:34:57 +0000</created>
                <updated>Sat, 28 Oct 2023 00:37:24 +0000</updated>
                            <resolved>Sat, 1 Aug 2020 12:22:57 +0000</resolved>
                                                    <fixVersion>Aluminium</fixVersion>
                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="68163" author="jluhrsen" created="Tue, 2 Jun 2020 04:22:17 +0000"  >&lt;p&gt;FYI, a mount to config store like below does work. this is just failing with the create-device RPC:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
{
    &lt;span class=&quot;code-quote&quot;&gt;&quot;network-topology:node&quot;&lt;/span&gt;: {
        &lt;span class=&quot;code-quote&quot;&gt;&quot;node-id&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;{{node}}&quot;&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:host&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;{{testtool-ip}}&quot;&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;schema-cache-directory&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;{{testtool-ip}}&quot;&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:port&quot;&lt;/span&gt;: 830,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:tcp-only&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:username&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;jamo&quot;&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:password&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;jamo123&quot;&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:actor-response-wait-time&quot;&lt;/span&gt;: 60,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:keepalive-delay&quot;&lt;/span&gt;: 60,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-optional:ignore-missing-schema-sources&quot;&lt;/span&gt;: {
            &lt;span class=&quot;code-quote&quot;&gt;&quot;reconnect-time&quot;&lt;/span&gt;: 2000,
            &lt;span class=&quot;code-quote&quot;&gt;&quot;allowed&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
        }
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="68237" author="JIRAUSER12934" created="Mon, 15 Jun 2020 14:06:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=jluhrsen&quot; class=&quot;user-hover&quot; rel=&quot;jluhrsen&quot;&gt;jluhrsen&lt;/a&gt;&lt;br/&gt;
Please give  URL also for this config store which is working. &lt;/p&gt;</comment>
                            <comment id="68239" author="jluhrsen" created="Tue, 16 Jun 2020 03:05:51 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=nikhil.soni.lumina&quot; class=&quot;user-hover&quot; rel=&quot;nikhil.soni.lumina&quot;&gt;nikhil.soni.lumina&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;this is the working case:&lt;/p&gt;

&lt;p&gt;PUT to:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;http:&lt;span class=&quot;code-comment&quot;&gt;//{{controller-ip}}:8181/restconf/config/network-topology:network-topology/topology/topology-netconf&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;with body:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
{
    &lt;span class=&quot;code-quote&quot;&gt;&quot;network-topology:node&quot;&lt;/span&gt;: {
        &lt;span class=&quot;code-quote&quot;&gt;&quot;node-id&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;{{node}}2&quot;&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:host&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;{{testtool-ip}}&quot;&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:port&quot;&lt;/span&gt;: 830,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:tcp-only&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:username&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;jamo&quot;&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:password&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;jamo123&quot;&lt;/span&gt;,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:actor-response-wait-time&quot;&lt;/span&gt;: 600,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-topology:keepalive-delay&quot;&lt;/span&gt;: 600,
        &lt;span class=&quot;code-quote&quot;&gt;&quot;netconf-node-optional:ignore-missing-schema-sources&quot;&lt;/span&gt;: {
            &lt;span class=&quot;code-quote&quot;&gt;&quot;reconnect-time&quot;&lt;/span&gt;: 5000,
            &lt;span class=&quot;code-quote&quot;&gt;&quot;allowed&quot;&lt;/span&gt;: &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;
        }
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;vs the failing case described above using the create-device RPC&lt;/p&gt;</comment>
                            <comment id="68240" author="JIRAUSER12934" created="Tue, 16 Jun 2020 15:47:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=jluhrsen&quot; class=&quot;user-hover&quot; rel=&quot;jluhrsen&quot;&gt;jluhrsen&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I have investigated the issue and have found below points -&lt;/p&gt;

&lt;p&gt;1. There is a  Yang file named netconf-node-optional which has augment for Node &quot;/nt:network-topology/nt:topology/nt:node&quot;.  This augment enables extra fields in network-topology-&amp;gt;topolpgy-&amp;gt;node but not for the rpc. &lt;/p&gt;

&lt;p&gt;2. if we call &quot;restconf/operations/netconf-node-topology:create-device&quot; with above augment fields then in RestConf filter it throws &quot;ignore-missing-schema-sources was not found&quot;  which is valid. &lt;/p&gt;

&lt;p&gt;To justify point 2, at local I changed netconf-node-optional augment with augment &quot;/nt:create-device/nt:input/&quot; &lt;br/&gt;
then I executed the rpc URL with same payload  and it worked in unit test. &lt;/p&gt;

&lt;p&gt;With above points, it does not look that it is an issue. &lt;/p&gt;

&lt;p&gt;Please suggest if you have any other point of view. &lt;/p&gt;
</comment>
                            <comment id="68242" author="jluhrsen" created="Wed, 17 Jun 2020 21:26:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=nikhil.soni.lumina&quot; class=&quot;user-hover&quot; rel=&quot;nikhil.soni.lumina&quot;&gt;nikhil.soni.lumina&lt;/a&gt;, it sounds like you have the fix right? You can include the unit test with the augment change.&lt;/p&gt;

&lt;p&gt;But, I&apos;m not sure we are on the same page because you said &quot;it does not look that it is an issue.&quot;&lt;/p&gt;

&lt;p&gt;let me know what you think.&lt;/p&gt;</comment>
                            <comment id="68243" author="JIRAUSER12934" created="Thu, 18 Jun 2020 05:20:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=jluhrsen&quot; class=&quot;user-hover&quot; rel=&quot;jluhrsen&quot;&gt;jluhrsen&lt;/a&gt;&lt;br/&gt;
Rewording my reply without example  - &lt;/p&gt;

&lt;p&gt;There is a Yang file named netconf-node-optional which has augment for Node &quot;/nt:network-topology/nt:topology/nt:node&quot;.&lt;/p&gt;

&lt;p&gt;So according to this file &lt;b&gt;only&lt;/b&gt; &quot;/restconf/config/network-topology:network-topology/topology/topology-netconf&quot; Rest call will work with &quot;ignore-missing-schema-sources&quot; payload field. &lt;/p&gt;


&lt;p&gt;So according to &quot;netconf-node-optional&quot; Yang file below scenarios are valid - &lt;/p&gt;

&lt;p&gt;1. Rest call  /restconf/operations/netconf-node-topology:create-device should throw exception &quot;Schema node with name ignore-missing-schema-sources was not found under&quot; if we pass ignore-missing-schema-sources field in payload  - it is happening in current implementation &lt;/p&gt;


&lt;p&gt;2.Rest call /restconf/config/network-topology:network-topology/topology/topology-netconf  should accept &quot;ignore-missing-schema-sources&quot; field - it is happening in current implementation &lt;/p&gt;

</comment>
                            <comment id="68244" author="tnevrekar" created="Thu, 18 Jun 2020 06:49:27 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=nikhil.soni.lumina&quot; class=&quot;user-hover&quot; rel=&quot;nikhil.soni.lumina&quot;&gt;nikhil.soni.lumina&lt;/a&gt; as discussed, please go ahead and raise a gerrit with the augmentation change.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="37512">NETCONF-1192</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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03s3z:</customfieldvalue>

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